コード例 #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);
        }
コード例 #2
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);
        }