Пример #1
0
        public static void showLoading(Form sender)
        {
            if (loadingPage == null || loadingPage.IsDisposed)
            {
                loadingPage = new loading();
            }

            /*if (forceClosePage == null || forceClosePage.IsDisposed)
             *  forceClosePage = new force_close();*/

            loadingSender = sender;
            loadingPage.loadingContent.Visible = true;
            //loadingPage.loadingContent.animated_loading_box.Update();
            loadingPage.Visible = true;

            /*forceClosePage.Height = 30;
             * forceClosePage.Width = Screen.PrimaryScreen.WorkingArea.Width;
             * forceClosePage.Top = Screen.PrimaryScreen.WorkingArea.Height - forceClosePage.Height;
             * forceClosePage.Show();*/
        }
Пример #2
0
 public static void initLoading()
 {
     loadingPage = new loading();
     //forceClosePage = new force_close();
 }