public void ShowFotsStatusWindow() { FORTSStatusWindow fsw = new FORTSStatusWindow(); fsw.ShowDialog(); }
void ButtOkOrNot_Click(object sender, System.Windows.RoutedEventArgs e) { FORTSStatusWindow wfs = new FORTSStatusWindow(); wfs.WindowStartupLocation = WindowStartupLocation.CenterScreen; wfs.ControlFORTSStatus.BindButtons((object)Plaza2Connector.GUIBox); m_mainWindow.DummyButton.Focus(); wfs.ShowDialog(); }