/// <summary>
 /// I add mycontrol to uofiddler
 /// </summary>
 /// <param name="tabcontrol"></param>
 public override void ModifyTabPages(TabControl tabcontrol)
 {
     TabPage page = new TabPage {Name = "Map Maker", Tag = tabcontrol.TabCount + 1};
     tabcontrol.TabPages.Add(page);
     MapControl = new MapMakerControl();
     MapControl.Dock = DockStyle.Fill;
     page.Text = @"MapMaker";
     page.Controls.Add(MapControl);
 }
Exemple #2
0
        /// <summary>
        /// I add mycontrol to uofiddler
        /// </summary>
        /// <param name="tabcontrol"></param>
        public override void ModifyTabPages(TabControl tabcontrol)
        {
            TabPage page = new TabPage {
                Name = "Map Maker", Tag = tabcontrol.TabCount + 1
            };

            tabcontrol.TabPages.Add(page);
            MapControl      = new MapMakerControl();
            MapControl.Dock = DockStyle.Fill;
            page.Text       = @"MapMaker";
            page.Controls.Add(MapControl);
        }