Exemple #1
0
        public SplashScreenManager CallLoading()
        {
            var manager = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "WPF Loading...",
                Title           = "",
                Subtitle        = "WPF Tranning Project"
            }
                                             ).ShowOnStartup();


            // manager.Close();

            return(manager);
        }
Exemple #2
0
        // 로딩시 꺼짐 현상 있어서 잠시 보류
        private object LoadingPage(string classname, string checkPage)
        {
            var manager = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "WPF Loading...",
                Title           = "",
                Subtitle        = "WPF Tranning Project"
            }
                                             ).ShowOnStartup();
            object getInstance = CreateInstance(classname, checkPage);

            manager.Close();

            return(getInstance);
        }
Exemple #3
0
        private void GridSheetControlLoaded(object obj)
        {
            string[] resourceNames = (System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceNames());
            var      manager       = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "SpreadSheetControl Loading...",
                Title           = "",
                Subtitle        = "WPF Tranning Project"
            }
                                             ).ShowOnStartup();

            if (obj is SpreadsheetControl sheetcontrol) // 형변환
            {
                using (BinaryReader reader = new BinaryReader
                                                 (System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("WPF_Tranning.Resources.output.xlsx")))
                {
                    sheetcontrol.LoadDocument(reader.BaseStream); // resources파일에 추가된 엑셀을 stream에 읽어 그리드 엑셀에 표시
                                                                  // (엑셀 리소스 포함 리소스 처리)
                    MakeDataWorksheets(sheetcontrol);
                    MakeDataWorkBooks(sheetcontrol);
                }
            }
            manager.Close();
        }
Exemple #4
0
        public MainModelAndView()
        {
            var manager = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "WPF Loading...",
                Title           = "",
                Subtitle        = "WPF Tranning Project"
            }
                                             ).ShowOnStartup();

            LoadTextFile();
            GridControlMenu         = new RelayCommand(new Action <object>(this.GridControlMenuUri));
            StartPage               = new RelayCommand(new Action <object>(this.LoadingStartPage));
            ChartBindingMenu        = new RelayCommand(new Action <object>(this.LoadingChartBinding));
            PivotGridControl        = new RelayCommand(new Action <object>(this.LoadingPivotGridControl));
            SearchScoreMenu         = new RelayCommand(new Action <object>(this.SearchScoreMenuBinding));
            GridControlBandMenu     = new RelayCommand(new Action <object>(this.GridControlBandMenuBinding));
            GridControlBandMenuTree = new RelayCommand(new Action <object>(this.GridControlBandMenuTreeBinding));
            EndPage               = new RelayCommand(new Action <object>(this.EndPageEvent));
            AnotherPage           = new RelayCommand(new Action <object>(this.LoadedAnotherPage));
            ISpreadSheetControl   = new RelayCommand(new Action <object>(this.SpreadSheetControl));
            IOtherTabsViewControl = new RelayCommand(new Action <object>(this.OtherTabsViewControl));
            IPopupControl         = new RelayCommand(new Action <object>(this.PopupControl));
            IMultibindingView     = new RelayCommand(new Action <object>(this.MultibindingView));
            ITwoGridControlView   = new RelayCommand(new Action <object>(this.TwoGridControlView));
            IMasterDetail         = new RelayCommand(new Action <object>(this.MasterDetailView));
            IGridControlCombobox  = new RelayCommand(new Action <object>(this.GridControlComboboxView));

            _getNameSpace      = "WPF_Tranning.View";
            _loadingSelectPage = "LoadingSelectPage";


            manager.Close();
            addMessageBoxToCheckBox();
            // 이벤트 분기 테스트2
        }
Exemple #5
0
        private void LoadedRichEditControl(object obj)
        {
            var manager = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "RichEditControl Loading...",
                Title           = "",
                Subtitle        = "WPF Tranning Project"
            }
                                             ).ShowOnStartup();

            manager.Close();
        }
        private void Loading()
        {
            var manager = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            MakeDataTable();

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "Starting...",
                Title           = "",
                Subtitle        = "Powered by DevExpress"
            }
                                             ).ShowOnStartup();
        }
        public void Loading()
        {
            var manager = SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                IsIndeterminate = false
            });

            manager.Show();
            manager.ViewModel.Progress = 100;

            SplashScreenManager.CreateThemed(new DXSplashScreenViewModel
            {
                Copyright       = "All rights reserved",
                IsIndeterminate = true,
                Status          = "Starting...",
                Title           = "",
                Subtitle        = "Powered by DevExpress"
            }
                                             ).ShowOnStartup();

            GetScoreInfomation = GetTestData().Tables[0];
            //  GetScoreInfomation = GetScoreInfo().Tables[0]; // 내용꺼낼 용도 데이터 테이블
            manager.Close();
        }