예제 #1
0
        private void btnShowCritical_Click(object sender, EventArgs e)
        {
            ContMain contMain = new ContMain();

            contMain.SelectStocksRunningOut();
            btnSClear.PerformClick();
            LoadRunningOutStocks();
        }
        private void btnShowCritical_Click(object sender, EventArgs e)
        {
            if (btnShowAllStocks.ForeColor == Color.MidnightBlue)
            {
                btnShowCritical.ForeColor  = Color.MidnightBlue;
                btnShowAllStocks.ForeColor = Color.White;
            }
            ContMain contMain = new ContMain();

            contMain.SelectStocksRunningOut();
            btnSClear.PerformClick();
            LoadRunningOutStocks();
        }