public copilMDI(containerMD parinte) { InitializeComponent(); ControlBox = false; this.ActiveControl = txtinput; btnro.Hide(); butrasp.Hide(); }
private void StartGm_Click(object sender, EventArgs e) { int i = 0; containerMD frm1 = new containerMD(); Hide(); for (i = 0; i < 3; i++) { var buttons = panel1.Controls.OfType <RadioButton>().ElementAt(i); buttons.Checked = false; } frm1.ShowDialog(); BringToFront(); Show(); }