I've seen examples of custom tab controls online, but I want to be able to create custom tab pages, that could be added in at run-time. (For instance, a plugin to my app adds 1-2 tabs to my main tab control.)
So far I have some code, but it doesn't display much in the designer:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace ProjectTracker
{
[Designer(typeof(TabPage))]
[ToolboxBitmap(typeof(TabPage))]
public partial class ProjDocsPage : TabPage
{
private AutoScaleMode autoScaleMode;
public AutoScaleMode AutoScaleMode
{
get { return autoScaleMode; }
set { autoScaleMode = value; }
}
public ProjDocsPage()
{
InitializeComponent();
}
}
}