Beispiel #1
0
        private void Update_Tick(object sender, EventArgs e)
        {
            pbProgress.Increment(1);

            if (pbProgress.Value == 25)
            {
                if (!Directory.Exists(Application.ExecutablePath + "\\Files"))
                {
                    //Directory.CreateDirectory(Application.ExecutablePath + "\\Files");
                }
            }

            if (pbProgress.Value == 100)
            {
                if (_globalBooleanSettingsManager.GetIsInBetaMode())
                {
                    New.MainWindow mainWindow = new New.MainWindow();

                    //_fadeEffects.FadeOutWindow(this, mainWindow);

                    Hide();

                    mainWindow.Show();

                    _tmrUpdate.Stop();
                }
                else
                {
                    MainWindow mainWindow = new MainWindow();

                    //_fadeEffects.FadeOutWindow(this, mainWindow);

                    Hide();

                    mainWindow.Show();

                    _tmrUpdate.Stop();
                }
            }
        }
Beispiel #2
0
        private void newUXToolStripMenuItem_Click(object sender, EventArgs e)
        {
            New.MainWindow mainWindow = new New.MainWindow();

            mainWindow.Show();
        }