private void picRoom_Click(object sender, EventArgs e) { picReser.BackgroundImage = Resources.预约管理; picRoom.BackgroundImage = Resources.客房管理_ia; picCustomer.BackgroundImage = Resources.用户管理_ib; picCommodity.BackgroundImage = Resources.log; pnlMID.Controls.Clear(); FrmRoomManager frm1 = new FrmRoomManager(); frm1.TopLevel = false; pnlMID.Controls.Add(frm1); frm1.Show(); }
public ucRoomList(FrmRoomManager frm) { InitializeComponent(); this.frm = frm; }