Beispiel #1
0
        private void LblColor_MouseEnter(object sender, EventArgs e)
        {
            Label lbl = sender as Label;

            if (lbl == LblOptimization)
            {
                ViewMethod.ColorChange(LblOptimization, "E");
            }
            if (lbl == LblStatus)
            {
                ViewMethod.ColorChange(LblStatus, "E");
            }
        }
Beispiel #2
0
        private void BtnColor_MouseEnter(object sender, EventArgs e)
        {
            Button button = sender as Button;

            if (button == BtnConsole)
            {
                ViewMethod.ColorChange(BtnConsole, "E");
            }
            if (button == BtnRegustry)
            {
                ViewMethod.ColorChange(BtnRegustry, "E");
            }
            if (button == BtnCmd)
            {
                ViewMethod.ColorChange(BtnCmd, "E");
            }
            if (button == BtnPS)
            {
                ViewMethod.ColorChange(BtnPS, "E");
            }
            if (button == BtnCtrlPnl)
            {
                ViewMethod.ColorChange(BtnCtrlPnl, "E");
            }
            if (button == BtnTaskMgr)
            {
                ViewMethod.ColorChange(BtnTaskMgr, "E");
            }
            if (button == BtnSys)
            {
                ViewMethod.ColorChange(BtnSys, "E");
            }
            if (button == BtnRunTool)
            {
                ViewMethod.ColorChange(BtnRunTool, "E");
            }
            if (button == BtnProcCtrl)
            {
                ViewMethod.ColorChange(BtnProcCtrl, "E");
            }
            if (button == BtnIm)
            {
                ViewMethod.ColorChange(BtnIm, "E");
            }
            if (button == BtnEx)
            {
                ViewMethod.ColorChange(BtnEx, "E");
            }
        }