Exemple #1
0
        /// <summary>
        /// click on exit
        /// </summary>
        /// <param name="sender">object sender</param>
        /// <param name="e">eventargs e</param>
        public void Exit_Click(object sender, RoutedEventArgs e)
        {
            Grid_generate.Children.Clear();
            ExitWindow exit_w = new ExitWindow(m_view, m_model);

            exit_w.Show();
        }
        public void ShowExitWindow(DispatcherTimer timer)
        {
            this.timer      = timer;
            timer.IsEnabled = !timer.IsEnabled;
            ExitWindow exitWindow = new ExitWindow(this);

            this._exitWindow = exitWindow;
            exitWindow.Show();
        }