Пример #1
0
        private void picReser_Click(object sender, EventArgs e)
        {
            picReser.BackgroundImage     = Resources.预约管理_aa;
            picRoom.BackgroundImage      = Resources.客房管理_ib;
            picCustomer.BackgroundImage  = Resources.用户管理_ib;
            picCommodity.BackgroundImage = Resources.log;
            pnlMID.Controls.Clear();
            FrmReserManager frm1 = new FrmReserManager();

            frm1.TopLevel = false;
            pnlMID.Controls.Add(frm1);
            frm1.Show();
        }
Пример #2
0
        private void FrmMain_Load(object sender, EventArgs e)
        {
            notifyIcon1.Text = "-皮皮酒店管理系统-" + lblUserName.Text;
            Opacity          = 0.0; //窗体透明度为0
            fadeTimer.Start();      //计时开始
            picReser.BackgroundImage    = Resources.预约管理_aa;
            picRoom.BackgroundImage     = Resources.客房管理_ib;
            picCustomer.BackgroundImage = Resources.用户管理_ib;
            pnlMID.Controls.Clear();
            FrmReserManager frm1 = new FrmReserManager();

            frm1.TopLevel = false;
            pnlMID.Controls.Add(frm1);
            frm1.Show();
        }