Esempio n. 1
0
        private void AppStart(object sender, StartupEventArgs e)
        {
            Current.ShutdownMode = ShutdownMode.OnExplicitShutdown;

            Window window = new LoginWindow(this.client);

            if (window.ShowDialog() == true)
            {
                window = new PolicyOverviewWindow(this.client);
                window.ShowDialog();
            }

            Current.Shutdown(0);
        }
        private void AppStart(object sender, StartupEventArgs e)
        {
            Current.ShutdownMode = ShutdownMode.OnExplicitShutdown;

            Window window = new LoginWindow(this.client);

            if (window.ShowDialog() == true)
            {
                window = new PolicyOverviewWindow(this.client);
                window.ShowDialog();
            }

            Current.Shutdown(0);
        }