Esempio n. 1
0
        private void StatisticalStatementBut_MouseEnter(object sender, EventArgs e)
        {
            WorkPanel.Controls.Add(StatisticalStatementPanel);    //重新加载统计报表子菜单
            StatisticalStatementPanel.BringToFront();             //统计报表子菜单顶层显示

            StatisticalStatementBut.BackColor = Color.Black;      //统计报表But背景变成黑色

            #region  非选择的button变成默认颜色
            HomeBut.BackColor            = Color.Transparent;
            BasicInformBut.BackColor     = Color.Transparent;                   //基础信息But
            OutIntWarehouseBut.BackColor = Color.Transparent;                   //出入库But
            SystemManagmentBut.BackColor = Color.Transparent;                   //系统管理But

            #endregion

            StatisticalStatementPanel.Visible = true;              //显示统计报表Panel

            #region  隐藏Panel

            BasicMenuPanel.Visible       = false;                   //基础信息Panel
            SystemManagPanel.Visible     = false;                   //系统管理Panel
            OutIntWarehousePanel.Visible = false;                   //出入库Panel

            #endregion
        }
Esempio n. 2
0
        private void Master_Load(object sender, EventArgs e)
        {
            #region  拉框全部是顶层控件

            BasicMenuPanel.BringToFront();
            SystemManagPanel.BringToFront();
            OutIntWarehousePanel.BringToFront();
            StatisticalStatementPanel.BringToFront();

            #endregion
        }