Esempio n. 1
0
File: FrmMain.cs Progetto: fu-kim/-
        private void FrmMain_Load(object sender, EventArgs e)
        {
            Transmit.FrmMain = this;
            lblTime.Text     = "当前时间   " + DateTime.Now.ToShortDateString() + "   " + DateTime.Now.ToShortTimeString();
            plMain.Controls.Clear();
            //btnTableManager.BaseColor = Color.SkyBlue;
            FrmTable tb = new FrmTable();

            tb.Show();
            plMain.Controls.Clear();
            plMain.Controls.Add(tb);
            //btnTableManager_Click(sender, e);
        }
Esempio n. 2
0
File: FrmMain.cs Progetto: fu-kim/-
        private void btnTableManager_Click(object sender, EventArgs e)
        {
            this.BackColor                 = Color.Cornsilk;
            btnTableManager.BaseColor      = Color.Brown;
            btnFoodManager.BaseColor       = Color.Black;
            btnOrderManager.BaseColor      = Color.Black;
            btnActivityManager.BaseColor   = Color.Black;
            btnStaffManager.BaseColor      = Color.Black;
            btnAssociatorManager.BaseColor = Color.Black;
            plMain.Controls.Clear();
            FrmTable tb = new FrmTable();

            //Transmit.FrmTableInfo.timer3.Enabled = true;
            tb.Show();
            plMain.Controls.Add(tb);
        }