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

            ui.ShowDialog();
        }