using System.Windows.Forms; using WinFormsLibrary1; namespace WinFormsApp1 { partial class Form1 { private System.ComponentModel.IContainer components = null; protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { comboBoxUserControl = new ComboBox(); listBoxUserControl = new ListBox(); dateInputControl1 = new DateInputControl(); SuspendLayout(); // // comboBoxUserControl // comboBoxUserControl.Location = new Point(13, 15); comboBoxUserControl.Margin = new Padding(4, 5, 4, 5); comboBoxUserControl.Name = "comboBoxUserControl"; comboBoxUserControl.Size = new Size(160, 28); comboBoxUserControl.TabIndex = 0; // // listBoxUserControl // listBoxUserControl.Location = new Point(13, 231); listBoxUserControl.Margin = new Padding(4, 5, 4, 5); listBoxUserControl.Name = "listBoxUserControl"; listBoxUserControl.Size = new Size(159, 144); listBoxUserControl.TabIndex = 2; // // dateInputControl1 // dateInputControl1.Date = ""; dateInputControl1.Location = new Point(13, 107); dateInputControl1.Margin = new Padding(4, 5, 4, 5); dateInputControl1.Name = "dateInputControl1"; dateInputControl1.Size = new Size(166, 96); dateInputControl1.TabIndex = 3; // // Form1 // AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(400, 462); Controls.Add(dateInputControl1); Controls.Add(listBoxUserControl); Controls.Add(comboBoxUserControl); Margin = new Padding(4, 5, 4, 5); Name = "Form1"; Text = "Form1"; ResumeLayout(false); } private ComboBox comboBoxUserControl; private ListBox listBoxUserControl; private DateInputControl dateInputControl1; } }