Example #1
0
 /// <summary>
 /// показать настройки
 /// </summary>
 public void ShowDialog()
 {
     if (_ui == null)
     {
         _ui = new KrakenServerUi(this, _logMaster);
         _ui.Show();
         _ui.Closing += (sender, args) => { _ui = null; };
     }
     else
     {
         _ui.Activate();
     }
 }
Example #2
0
        /// <summary>
        /// вызвать окно настроек
        /// </summary>
        public void ShowDialog()
        {
            KrakenServerUi ui = new KrakenServerUi(this, _logMaster);

            ui.Show();
        }