private void picReser_Click(object sender, EventArgs e)
        {
            picReser.BackgroundImage     = Resources.预约管理_aa;
            picRoom.BackgroundImage      = Resources.客房管理_ib;
            picCustomer.BackgroundImage  = Resources.用户管理_ib;
            picExtend.BackgroundImage    = Resources.扩展功能_ib;
            picCommodity.BackgroundImage = Resources.商品消费_ia;
            pnlMID.Controls.Clear();
            FrmReserManager frm1 = new FrmReserManager();

            frm1.TopLevel = false;
            pnlMID.Controls.Add(frm1);
            frm1.Show();
        }
        private void FrmMain_Load(object sender, EventArgs e)
        {
            lblUserName.Text = LoginInfo.WorkerName + "【" + LoginInfo.WorkerClub + LoginInfo.WorkerPosition + "】";
            notifyIcon1.Text = "TS酒店管理系统-" + lblUserName.Text;
            Opacity          = 0.0; //窗体透明度为0
            fadeTimer.Start();      //计时开始
            picReser.BackgroundImage    = Resources.预约管理_aa;
            picRoom.BackgroundImage     = Resources.客房管理_ib;
            picExtend.BackgroundImage   = Resources.扩展功能_ib;
            picCustomer.BackgroundImage = Resources.用户管理_ib;
            pnlMID.Controls.Clear();
            FrmReserManager frm1 = new FrmReserManager();

            frm1.TopLevel = false;
            pnlMID.Controls.Add(frm1);
            frm1.Show();
        }
Example #3
0
        private void tsmiReserRoom_Click(object sender, EventArgs e)
        {
            FrmReserManager frm = new FrmReserManager();

            frm.Show();
        }