Exemple #1
0
        private void InitializeForm()
        {
            //초기 화면 Loading
            int whichScreen = 1;

            switch (whichScreen)
            {
            case 1:
            {
                FormFlag.formParameterSetup_flag = true;

                if (tabbedMdiManager.Pages[_formParameterSetup] == null)
                {
                    _formParameterSetup           = new FormParameterSetup();
                    _formParameterSetup.MdiParent = this;
                    _formParameterSetup.Show();
                }
                break;
            }

            case 2:
            {
                FormFlag.formMakeDispatching_flag = true;

                if (tabbedMdiManager.Pages[_formMakeDispatching] == null)
                {
                    _formMakeDispatching           = new FormMakeDispatching();
                    _formMakeDispatching.MdiParent = this;
                    _formMakeDispatching.Show();
                }
                break;
            }

            case 3:
            {
                FormFlag.formConfirmDispatching_flag = true;

                if (tabbedMdiManager.Pages[_formConfirmDispatching] == null)
                {
                    _formConfirmDispatching           = new FormConfirmDispatching();
                    _formConfirmDispatching.MdiParent = this;
                    _formConfirmDispatching.Show();
                }
                break;
            }
            }

            SplashScreenManager.HideImage();
        }
Exemple #2
0
        private void menuParameterSetup_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FormFlag.formParameterSetup_flag = true;

            if (tabbedMdiManager.Pages[_formParameterSetup] == null)
            {
                _formParameterSetup           = new FormParameterSetup();
                _formParameterSetup.MdiParent = this;
                _formParameterSetup.Show();
            }
            else
            {
                _formParameterSetup.BringToFront();
            }
        }
Exemple #3
0
        //진행단계 Display (0:파라메터설정, 1:실행관리, 2: 가확정)
        private void InitializeForm(int whichScreen)
        {
            switch (whichScreen)
            {
            case 0:
            {
                FormFlag.formParameterSetup_flag = true;

                if (tabbedMdiManager.Pages[_formParameterSetup] == null)
                {
                    barResult.Caption             = "배차결과: 파라메터 설정";
                    _formParameterSetup           = new FormParameterSetup();
                    _formParameterSetup.MdiParent = this;
                    _formParameterSetup.Show();
                }
                break;
            }

            case 1:
            {
                FormFlag.formMakeDispatching_flag = true;

                if (tabbedMdiManager.Pages[_formMakeDispatching] == null)
                {
                    barResult.Caption              = "배차결과: 배차계획 실행관리";
                    _formMakeDispatching           = new FormMakeDispatching();
                    _formMakeDispatching.MdiParent = this;
                    _formMakeDispatching.Show();
                }
                break;
            }

            case 2:
            {
                FormFlag.formConfirmDispatching_flag = true;

                if (tabbedMdiManager.Pages[_formConfirmDispatching] == null)
                {
                    barResult.Caption                 = "배차결과: 배차지시 가확정";
                    _formConfirmDispatching           = new FormConfirmDispatching();
                    _formConfirmDispatching.MdiParent = this;
                    _formConfirmDispatching.Show();
                }
                break;
            }
            }
        }