コード例 #1
0
        private void RoomOption_Load(object sender, EventArgs e)
        {
            pnlRoomMID.Controls.Clear();
            FrmRoomManager frm1 = new FrmRoomManager();

            frm1.TopLevel = false;
            pnlRoomMID.Controls.Add(frm1);
            frm1.Show();
        }
コード例 #2
0
        private void picRoom_Click(object sender, EventArgs e)
        {
            //picReser.BackgroundImage = Resources.预约管理;
            picRoom.BackgroundImage      = Resources.预订管理ab;
            picExtend.BackgroundImage    = Resources.扩展功能_ib;
            picCustomer.BackgroundImage  = Resources.用户管理_ib;
            picCommodity.BackgroundImage = Resources.商品消费_ia;
            pnlMID.Controls.Clear();
            FrmRoomManager frm1 = new FrmRoomManager();

            frm1.TopLevel = false;
            pnlMID.Controls.Add(frm1);
            frm1.Show();
        }
コード例 #3
0
        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();      //计时开始
            picRoom.BackgroundImage     = Resources.预订管理ab;
            picExtend.BackgroundImage   = Resources.扩展功能_ib;
            picCustomer.BackgroundImage = Resources.用户管理_ib;
            pnlMID.Controls.Clear();
            FrmRoomManager frm1 = new FrmRoomManager();

            frm1.TopLevel = false;
            pnlMID.Controls.Add(frm1);
            frm1.Show();
        }
コード例 #4
0
 public ucRoomList(FrmRoomManager frm)
 {
     InitializeComponent();
     this.frm = frm;
 }