Esempio n. 1
0
 /// <summary>
 /// Invokes while the main window closed.
 /// 窗口关闭
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Window_Closed(object sender, EventArgs e)
 {
     if (_logDialog != null)
     {
         _logDialog.Close();
         _logDialog = null;
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Invokes while the main window load.
        /// 窗体加载成功
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            MatchFacade.Boot();

            Initialize();

            _logDialog = new LogPanel();
            // _logDialog.Show();
        }