internal static bool LoadCache(FrmSplashScreen frmSplashScreen)
 {
     throw new NotImplementedException();
 }
        private void FrmMdi_Load(object sender, EventArgs e)
        {
            LockMdi = 2;
            try {
                _splashScreen = new FrmSplashScreen(this);
                _splashScreen.Show();
                _splashScreen.EnableConnect(CGlobalCache.LoadCache(this));

                while (!_autoEvent.WaitOne(50, true)) {
                    Application.DoEvents();
                }

                if (_splashScreen.Connect) {
                    _splashScreen.Close();
                    WindowState = FormWindowState.Maximized;
                    InitComponent();
                    LauchDashboard();
                } else {
                    _splashScreen.Close();
                    Close();
                }

            } catch (Exception ex) {
                _splashScreen.Close();
                Close();
            }
        }