public Class_Form_report_svod() { this.Name = "Report_svod"; this.Text = "Сводный отчет по площадке"; // + Combobox.value this.WindowState = FormWindowState.Normal; this.Size = new System.Drawing.Size(800, 600); Button btn = new My_Button(this, "Сформировать", 580, 470, 180, 70); btn.Click += Btn_Click; }
public Class_Form_Stuff_out() { this.Name = "Form Staff out"; this.Text = "Form Staff out"; this.Size = new System.Drawing.Size(530, 300); Button btn = new My_Button(this, "Уволить", 400, 200, 100, 50); new My_label(this, "Фамилия", 16F, Color.Black, 20, 20); new My_label(this, "Имя", 16F, Color.Black, 20, 60); new My_label(this, "Отчество", 16F, Color.Black, 20, 100); new My_label(this, "Табельный номер", 16F, Color.Black, 20, 140); new My_textbox(this, true, 250, 20, 250); new My_textbox(this, true, 250, 60, 250); new My_textbox(this, true, 250, 100, 250); new My_textbox(this, true, 250, 140, 250); btn.Click += Btn_Click; }
public Class_Form_Stuff_in() { this.Name = "Form Staff in"; this.Text = "Form Staff in"; this.Size = new System.Drawing.Size(530, 300); Button btn = new My_Button(this, "Принять", 400, 200, 100, 50); new My_label(this, "Фамилия", 16F, Color.Black, 20, 20); new My_label(this, "Имя", 16F, Color.Black, 20, 60); new My_label(this, "Отчество", 16F, Color.Black, 20, 100); new My_label(this, "Табельный номер", 16F, Color.Black, 20, 140); new My_label(this, "Всего сотрудников", 16F, Color.Black, 20, 210); textbox1 = new My_textbox(this, true, 250, 20, 250); textbox2 = new My_textbox(this, true, 250, 60, 250); textbox3 = new My_textbox(this, true, 250, 100, 250); textbox4 = new My_textbox(this, true, 250, 140, 250); textbox5 = new My_textbox(this, true, 250, 210, 50); textbox5.Enabled = false; textbox5.Text = Convert.ToString(0); btn.Click += Btn_Click; this.Load += Class_Form_Stuff_in_Load; }