Exemple #1
0
        public static void LoadWait(Form par_frm)
        {
            if (!frms.Keys.Contains(par_frm) && !wait_frms.Keys.Contains(par_frm))
            {
                frmLoad frm = new frmLoad();
                frms.Add(par_frm, frm);
                frm.Show(par_frm);

                Form f = new Form();
                f.Opacity         = 0.01;
                f.BackColor       = Color.White;
                f.FormBorderStyle = FormBorderStyle.None;
                f.Location        = Helper.GlobalData.mainFrm.Location;
                f.Width           = Helper.GlobalData.mainFrm.Width;
                f.Height          = Helper.GlobalData.mainFrm.Height;
                f.Left            = Helper.GlobalData.mainFrm.Left;
                f.Top             = Helper.GlobalData.mainFrm.Top;
                f.WindowState     = FormWindowState.Normal;
                f.StartPosition   = FormStartPosition.Manual;
                wait_frms.Add(par_frm, f);
                f.Show(Helper.GlobalData.mainFrm);
            }
        }
Exemple #2
0
        public static void LoadWait()
        {
            frmLoad frm = new frmLoad();

            frm.Show();
        }