private void ExecuteShowConfigCommand() { var view = new ConfigView() { Owner = MainWindow.Instance, }; view.Show(); }
private void ExecuteShowConfigCommand() { var mainView = WPFHelper.MainWindow; var configView = new ConfigView(); configView.Height = mainView.Height; configView.Left = mainView.Left + mainView.Width + 3; configView.Top = mainView.Top; configView.Show(); }
public static void ConfigView(FormWindowState windowState = FormWindowState.Normal) { Cursor.Current = Cursors.WaitCursor; if (Application.OpenForms["ConfigView"] == null) { ConfigView action = new ConfigView(); action.Show(); } else { { Application.OpenForms["ConfigView"].Activate(); Application.OpenForms["ConfigView"].WindowState = windowState; Application.OpenForms["ConfigView"].Show(); } } }
public void OpenConfigureView(object parameter) { var view = new ConfigView(SelectedToDo, CurrentUser); view.Show(); }