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)
124TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 23), new Point(172, 12)); 125Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(172, 63)); 126CustomButton b2 = surface.CreateControl<CustomButton>(new Size(200, 40), new Point(172, 200)); 132RadioButton rb1 = surface.CreateControl<RadioButton>(new Size(120, 22), new Point(12, 10)); 134RadioButton rb2 = surface.CreateControl<RadioButton>(new Size(120, 22), new Point(12, 35)); 138CheckBox checkbox1 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 60)); 140CheckBox checkbox2 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 85)); 144CheckBox checkbox3 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 110)); 148Panel pnl = surface.CreateControl<Panel>(new Size(140, 140), new Point(12, 12)); 156Label l1 = surface.CreateControl<Label>(new Size(100, 25), new Point(12, 12)); 157Label l2 = surface.CreateControl<Label>(new Size(120, 25), new Point(12, 12)); 163SplitContainer sct = surface.CreateControl<SplitContainer>(new Size(400, 100), new Point(0, 0)); 169PictureBox pb1 = surface.CreateControl<PictureBox>(new Size(64, 64), new Point(12, 176)); 174surface.CreateControl<DateTimePicker>(new Size(200, 23), new Point(172, 150)); 185TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 20), new Point(10, 10)); 186Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 40)); 187Label l1 = surface.CreateControl<Label>(new Size(200, 100), new Point(10, 100)); 194MaskedTextBox maskTextBox = surface.CreateControl<MaskedTextBox>(new Size(200, 20), new Point(260, 60)); 196ComboBox cb1 = surface.CreateControl<ComboBox>(new Size(200, 20), new Point(260, 16)); 200ListBox lb1 = surface.CreateControl<ListBox>(new Size(200, 130), new Point(260, 100)); 203TreeView tv1 = surface.CreateControl<TreeView>(new Size(200, 160), new Point(10, 220)); 214Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 215Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(100, 100)); 216Button b3 = surface.CreateControl<Button>(new Size(200, 40), new Point(22, 22)); 220GroupBox gb = surface.CreateControl<GroupBox>(new Size(300, 180), new Point(100, 200)); 224ListView lb1 = surface.CreateControl<ListView>(new Size(290, 160), new Point(320, 30)); 236Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 237Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 60)); 247MonthCalendar monthCalendar1 = surface.CreateControl<MonthCalendar>(new Size(230, 170), new Point(10, 110)); 249Button subButton1OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 250Button subButton2OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 251FlowLayoutPanel layoutPanel = surface.CreateControl<FlowLayoutPanel>(new Size(430, 200), new Point(250, 10)); 255TrackBar trackBar = surface.CreateControl<TrackBar>(new Size(200, 50), new Point(250, 220)); 260ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(200, 180), new Point(250, 280)); 270surface.CreateControl<TabControl>(new Size(400, 100), new Point(12, 21)); 272surface.CreateControl<TableLayoutPanel>(new Size(290, 160), new Point(20, 150)); 273surface.CreateControl<PropertyGrid>(new Size(200, 150), new Point(430, 23)); 276ListBox listBox = surface.CreateControl<ListBox>(new Size(120, 94), new Point(337, 217)); 280DataGridView dataGridView = surface.CreateControl<DataGridView>(new Size(200, 150), new Point(470, 220)); 293ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(800, 200), new Point(0, 60)); 296ToolStrip toolStrip1 = surface.CreateControl<ToolStrip>(new Size(400, 50), new Point(0, 0)); 305MenuStrip menuStrip1 = surface.CreateControl<MenuStrip>(new Size(400, 50), new Point(0, 60)); 306MenuStrip menuStrip2 = surface.CreateControl<MenuStrip>(new Size(400, 50), new Point(0, 150)); 329ToolStripPanel topToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50), new(0, 0)); 332ToolStripPanel bottomToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50), new(0, 0)); 336SplitContainer splitContainer = surface.CreateControl<SplitContainer>(new(0, 0), new(0, 0)); 340RichTextBox richTextBox = surface.CreateControl<RichTextBox>(new Size(0, 0), new Point(0, 0)); 345MyUserControl userControl = surface.CreateControl<MyUserControl>(new Size(0, 0), new Point(0, 0)); 349MyScrollableControl scrollableControl = surface.CreateControl<MyScrollableControl>(new Size(0, 0), new Point(0, 0)); 362Splitter splitter = surface.CreateControl<Splitter>(new(5, 0), new(0, 0)); 366Panel panel = surface.CreateControl<Panel>(new(0, tabPage6.Height / 2), new(0, 0)); 368NumericUpDown numericUpDown = surface.CreateControl<NumericUpDown>(new(50, 10), new(10, 10)); 375BindingNavigator bindingNavigator = surface.CreateControl<BindingNavigator>(new(0, 0), new(0, 0));