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