namespace WinFormsMyComponents { partial class MyButton { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { button1 = new Button(); SuspendLayout(); // // button1 // button1.Location = new Point(20, 17); button1.Name = "button1"; button1.Size = new Size(75, 23); button1.TabIndex = 0; button1.Text = "Показ"; button1.UseVisualStyleBackColor = true; button1.Click += Button1_Click; // // UserControl1 // AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleMode = AutoScaleMode.Font; Controls.Add(button1); Name = "UserControl1"; Size = new Size(115, 59); ResumeLayout(false); } #endregion private Button button1; } }