Implemented interface member:
method
CreateControl<TControl>
DesignSurfaceExt.IDesignSurfaceExt.CreateControl<TControl>(System.Drawing.Size, System.Drawing.Point)
53 references to CreateControl
DesignSurface (53)
MainForm.cs (53)
120TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 23), new Point(172, 12)); 121Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(172, 63)); 122CustomButton b2 = surface.CreateControl<CustomButton>(new Size(200, 40), new Point(172, 200)); 128RadioButton rb1 = surface.CreateControl<RadioButton>(new Size(120, 22), new Point(12, 10)); 130RadioButton rb2 = surface.CreateControl<RadioButton>(new Size(120, 22), new Point(12, 35)); 134CheckBox checkbox1 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 60)); 136CheckBox checkbox2 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 85)); 140CheckBox checkbox3 = surface.CreateControl<CheckBox>(new Size(120, 22), new Point(12, 110)); 144Panel pnl = surface.CreateControl<Panel>(new Size(140, 140), new Point(12, 12)); 152Label l1 = surface.CreateControl<Label>(new Size(100, 25), new Point(12, 12)); 153Label l2 = surface.CreateControl<Label>(new Size(120, 25), new Point(12, 12)); 159SplitContainer sct = surface.CreateControl<SplitContainer>(new Size(400, 100), new Point(0, 0)); 165PictureBox pb1 = surface.CreateControl<PictureBox>(new Size(64, 64), new Point(12, 176)); 170surface.CreateControl<DateTimePicker>(new Size(200, 23), new Point(172, 150)); 181TextBox t1 = surface.CreateControl<TextBox>(new Size(200, 20), new Point(10, 10)); 182Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 40)); 183Label l1 = surface.CreateControl<Label>(new Size(200, 100), new Point(10, 100)); 190MaskedTextBox maskTextBox = surface.CreateControl<MaskedTextBox>(new Size(200, 20), new Point(260, 60)); 192ComboBox cb1 = surface.CreateControl<ComboBox>(new Size(200, 20), new Point(260, 16)); 196ListBox lb1 = surface.CreateControl<ListBox>(new Size(200, 130), new Point(260, 100)); 199TreeView tv1 = surface.CreateControl<TreeView>(new Size(200, 160), new Point(10, 220)); 210Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 211Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(100, 100)); 212Button b3 = surface.CreateControl<Button>(new Size(200, 40), new Point(22, 22)); 216GroupBox gb = surface.CreateControl<GroupBox>(new Size(300, 180), new Point(100, 200)); 220ListView lb1 = surface.CreateControl<ListView>(new Size(290, 160), new Point(320, 30)); 232Button b1 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 10)); 233Button b2 = surface.CreateControl<Button>(new Size(200, 40), new Point(10, 60)); 243MonthCalendar monthCalendar1 = surface.CreateControl<MonthCalendar>(new Size(230, 170), new Point(10, 110)); 245Button subButton1OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 246Button subButton2OfLayoutPanel = surface.CreateControl<Button>(new Size(100, 40), new Point(10, 10)); 247FlowLayoutPanel layoutPanel = surface.CreateControl<FlowLayoutPanel>(new Size(430, 200), new Point(250, 10)); 251TrackBar trackBar = surface.CreateControl<TrackBar>(new Size(200, 50), new Point(250, 220)); 256ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(200, 180), new Point(250, 280)); 266surface.CreateControl<TabControl>(new Size(400, 100), new Point(12, 21)); 267surface.CreateControl<TableLayoutPanel>(new Size(290, 160), new Point(20, 150)); 268surface.CreateControl<PropertyGrid>(new Size(200, 150), new Point(430, 23)); 271ListBox listBox = surface.CreateControl<ListBox>(new Size(120, 94), new Point(337, 217)); 275DataGridView dataGridView = surface.CreateControl<DataGridView>(new Size(200, 150), new Point(470, 220)); 288ToolStripContainer toolStripContainer = surface.CreateControl<ToolStripContainer>(new Size(800, 200), new Point(0, 60)); 291ToolStrip toolStrip1 = surface.CreateControl<ToolStrip>(new Size(400, 50), new Point(0, 0)); 299MenuStrip menuStrip1 = surface.CreateControl<MenuStrip>(new Size(400, 50), new Point(0, 60)); 300MenuStrip menuStrip2 = surface.CreateControl<MenuStrip>(new Size(400, 50), new Point(0, 150)); 323ToolStripPanel topToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50), new(0, 0)); 326ToolStripPanel bottomToolStripPanel = surface.CreateControl<ToolStripPanel>(new(50, 50), new(0, 0)); 330SplitContainer splitContainer = surface.CreateControl<SplitContainer>(new(0, 0), new(0, 0)); 334RichTextBox richTextBox = surface.CreateControl<RichTextBox>(new Size(0, 0), new Point(0, 0)); 339MyUserControl userControl = surface.CreateControl<MyUserControl>(new Size(0, 0), new Point(0, 0)); 343MyScrollableControl scrollableControl = surface.CreateControl<MyScrollableControl>(new Size(0, 0), new Point(0, 0)); 356Splitter splitter = surface.CreateControl<Splitter>(new(5, 0), new(0, 0)); 360Panel panel = surface.CreateControl<Panel>(new(0, tabPage6.Height / 2), new(0, 0)); 362NumericUpDown numericUpDown = surface.CreateControl<NumericUpDown>(new(50, 10), new(10, 10)); 365BindingNavigator bindingNavigator = surface.CreateControl<BindingNavigator>(new(0, 0), new(0, 0));