namespace ComponentsLab { partial class VisualSelectionComponent { /// /// Обязательная переменная конструктора. /// private System.ComponentModel.IContainer components = null; /// /// Освободить все используемые ресурсы. /// /// истинно, если управляемый ресурс должен быть удален; иначе ложно. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Код, автоматически созданный конструктором компонентов /// /// Требуемый метод для поддержки конструктора — не изменяйте /// содержимое этого метода с помощью редактора кода. /// private void InitializeComponent() { comboBoxComponent = new ComboBox(); buttonClear = new Button(); SuspendLayout(); // // comboBoxComponent // comboBoxComponent.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; comboBoxComponent.FormattingEnabled = true; comboBoxComponent.Items.AddRange(new object[] { "Значение 1", "Значение 2", "Значение 3", "Значение 4", "Значение 5" }); comboBoxComponent.Location = new Point(15, 23); comboBoxComponent.Name = "comboBoxComponent"; comboBoxComponent.Size = new Size(121, 23); comboBoxComponent.TabIndex = 0; comboBoxComponent.SelectedIndexChanged += comboBoxComponent_SelectedIndexChanged; // // buttonClear // buttonClear.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; buttonClear.Location = new Point(16, 56); buttonClear.Name = "buttonClear"; buttonClear.Size = new Size(120, 23); buttonClear.TabIndex = 1; buttonClear.Text = "Очистить"; buttonClear.UseVisualStyleBackColor = true; buttonClear.Click += buttonClear_Click; // // VisualSelectionComponent // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; BorderStyle = BorderStyle.FixedSingle; Controls.Add(buttonClear); Controls.Add(comboBoxComponent); Name = "VisualSelectionComponent"; Size = new Size(148, 94); ResumeLayout(false); } #endregion private ComboBox comboBoxComponent; private Button buttonClear; } }