private void btn1_4_Click(object sender, EventArgs e) { this.btn1_4.BackColor = Color.White; this.btn1_4.ForeColor = Color.Black; this.btn1_1.BackColor = this.btn1_2.BackColor = this.btn1_3.BackColor = this.btn1_5.BackColor = this.btn1_6.BackColor = this.btn1_7.BackColor = Color.Transparent; this.btn1_1.ForeColor = this.btn1_2.ForeColor = this.btn1_3.ForeColor = this.btn1_5.ForeColor = this.btn1_6.ForeColor = this.btn1_7.ForeColor = Color.White; if (MenuList.Contains("BOR")) { CreateBOR(true); } else { CreateBOR(false); } frmBOR.TopLevel = false; pnlBackPage.Controls.Clear(); pnlBackPage.Controls.Add(frmBOR); frmBOR.Dock = DockStyle.Fill; frmBOR.Show(); }