Implemented interface member:
method
CreateControl<TControl>
DemoConsole.IDesignSurfaceExtended.CreateControl<TControl>(System.Drawing.Size, System.Drawing.Point)
53 references to CreateControl
DesignSurface (53)
MainForm.cs (53)
150TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 23), new Point(172, 12)); 151Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(172, 63)); 152CustomButton b2 = surface.CreateControl<CustomButton>(new Size(200, 40), new Point(172, 200)); 158RadioButton rb1 = surface.CreateControl<RadioButton>(new Size(120, 22), new Point(12, 10)); 160RadioButton rb2 = surface.CreateControl<RadioButton>(new Size(120, 22), new Point(12, 35)); 164CheckBox checkbox1 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 60)); 166CheckBox checkbox2 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 85)); 170CheckBox checkbox3 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 110)); 174Panel pnl = surface.CreateControl<Panel>(new Size(140, 140), new Point(12, 12)); 182Label l1 = surface.CreateControl<Label>(new Size(100, 25), new Point(12, 12)); 183Label l2 = surface.CreateControl<Label>(new Size(120, 25), new Point(12, 12)); 189SplitContainer sct = surface.CreateControl<SplitContainer>(new Size(400, 100), new Point(0, 0)); 195PictureBox pb1 = surface.CreateControl<PictureBox>(new Size(64, 64), new Point(12, 176)); 200surface.CreateControl<DateTimePicker>(new Size(200, 23), new Point(172, 150)); 211TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 20), new Point(10, 10)); 212Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 40)); 213Label l1 = surface.CreateControl<Label>(new Size(200, 100), new Point(10, 100)); 220MaskedTextBox maskTextBox = surface.CreateControl<MaskedTextBox>(new Size(200, 20), new Point(260, 60)); 222ComboBox cb1 = surface.CreateControl<ComboBox>(new Size(200, 20), new Point(260, 16)); 226ListBox lb1 = surface.CreateControl<ListBox>(new Size(200, 130), new Point(260, 100)); 229TreeView tv1 = surface.CreateControl<TreeView>(new Size(200, 160), new Point(10, 220)); 240Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 241Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(100, 100)); 242Button b3 = surface.CreateControl<Button>(new Size(200, 40), new Point(22, 22)); 246GroupBox gb = surface.CreateControl<GroupBox>(new Size(300, 180), new Point(100, 200)); 250ListView lb1 = surface.CreateControl<ListView>(new Size(290, 160), new Point(320, 30)); 262Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 263Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 60)); 273MonthCalendar monthCalendar1 = surface.CreateControl<MonthCalendar>(new Size(230, 170), new Point(10, 110)); 275Button subButton1OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 276Button subButton2OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 277FlowLayoutPanel layoutPanel = surface.CreateControl<FlowLayoutPanel>(new Size(430, 200), new Point(250, 10)); 281TrackBar trackBar = surface.CreateControl<TrackBar>(new Size(200, 50), new Point(250, 220)); 286ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(200, 180), new Point(250, 280)); 296surface.CreateControl<TabControl>(new Size(400, 100), new Point(12, 21)); 298surface.CreateControl<TableLayoutPanel>(new Size(290, 160), new Point(20, 150)); 299surface.CreateControl<PropertyGrid>(new Size(200, 150), new Point(430, 23)); 302ListBox listBox = surface.CreateControl<ListBox>(new Size(120, 94), new Point(337, 217)); 306DataGridView dataGridView = surface.CreateControl<DataGridView>(new Size(200, 150), new Point(470, 220)); 319ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(800, 200), new Point(0, 60)); 322ToolStrip toolStrip1 = surface.CreateControl<ToolStrip>(new Size(400, 50), new Point(0, 0)); 331MenuStrip menuStrip1 = surface.CreateControl<MenuStrip>(new Size(400, 50), new Point(0, 60)); 332MenuStrip menuStrip2 = surface.CreateControl<MenuStrip>(new Size(400, 50), new Point(0, 150)); 355ToolStripPanel topToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50), new(0, 0)); 358ToolStripPanel bottomToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50), new(0, 0)); 362SplitContainer splitContainer = surface.CreateControl<SplitContainer>(new(0, 0), new(0, 0)); 366RichTextBox richTextBox = surface.CreateControl<RichTextBox>(new Size(0, 0), new Point(0, 0)); 371MyUserControl userControl = surface.CreateControl<MyUserControl>(new Size(350, 100), new Point(0, 0)); 374MyScrollableControl scrollableControl = surface.CreateControl<MyScrollableControl>(new Size(0, 0), new Point(0, 0)); 387Splitter splitter = surface.CreateControl<Splitter>(new(5, 0), new(0, 0)); 391Panel panel = surface.CreateControl<Panel>(new(0, tabPage6.Height / 3), new(0, 0)); 393NumericUpDown numericUpDown = surface.CreateControl<NumericUpDown>(new(50, 10), new(10, 10)); 400BindingNavigator bindingNavigator = surface.CreateControl<BindingNavigator>(new(0, 0), new(0, 0));