private void button2_Click(object sender, EventArgs e) { panel2.Controls.Clear(); Fm_manageRoom room = new Fm_manageRoom(); room.TopLevel = false; panel2.Controls.Add(room); room.Show(); button1.BackColor = Color.White; button2.BackColor = Color.LightGray; button3.BackColor = Color.White; button4.BackColor = Color.White; button5.BackColor = Color.White; button6.BackColor = Color.White; button7.BackColor = Color.White; }
private void guna2Button6_Click(object sender, EventArgs e) { Fm_manageRoom room = new Fm_manageRoom(); room.Refresh(); }