public void AddQuestionWindow(AddQuestionListWindow window) { if (Valid(true)) { ErrorMessage = null; var QuestionWindow = new AddQuestionWindow(); QuestionWindow.Owner = window; QuestionWindow.Show(); } }
public void AddQuestionWindow(AddQuestionListWindow parent) { if (_questionWindow == null) { _questionWindow = new AddQuestionWindow(); _questionWindow.Owner = parent; _questionWindow.Show(); } else { try { _questionWindow.Show(); } catch (Exception e) { _questionWindow = new AddQuestionWindow(); _questionWindow.Owner = parent; _questionWindow.Show(); } } }
private void ShowAddQuestion() { SelectedQuestion = new QuestionVM(); AddQuestionWindow = new AddQuestionWindow(); AddQuestionWindow.Show(); }
public void ShowAddQuestion() { _addQuestionWindow = new AddQuestionWindow(); _addQuestionWindow.Show(); }
private void CloseWindow(AddQuestionWindow window) { _questionWindow = null; window.Close(); }
private void AddQuestion() { AddQuestionWindow addQuestionWindow = new AddQuestionWindow(); addQuestionWindow.Show(); }