예제 #1
0
        private void MainPage_Activated(object sender, EventArgs e)
        {
            if (_refreshGrid)
            {
                _refreshGrid = false;

                switch (GridTypeNow)
                {
                case "J":
                    _jobLogic.LoadGrid(dataGridView1);
                    break;

                case "T":
                    _triggerLogic.LoadGrid(dataGridView1, Jobs);
                    break;
                }
            }
        }
        private void MainPage_Activated(object sender, EventArgs e)
        {
            if (_refreshGrid)
            {
                _refreshGrid = false;

                switch (_gridTypeEnumNow)
                {
                case ViewTypeEnum.JOB:
                    _jobLogic.LoadGrid(dataGridView1);
                    break;

                case ViewTypeEnum.TRIGGER:
                    _triggerLogic.LoadGrid(dataGridView1, Jobs);
                    break;

                case ViewTypeEnum.LOG:
                    //_triggerLogic.LoadGrid(dataGridView1, Jobs);
                    break;
                }
            }
        }