private QuestionDialog(Builder builder, IssueWindow _issueWindow, string _issueID) : base(builder.GetObject("QuestionDialog").Handle) { builder.Autoconnect(this); issueWindow = _issueWindow; issueID = _issueID; issueWindow.Sensitive = false; DeleteEvent += Window_DeleteEvent; sendButton.Clicked += SendButton_Clicked; cancelButton.Clicked += CancelButton_Clicked; }
private AnswerDialog(Builder builder, Question _question, IssueWindow _issueWindow) : base(builder.GetObject("AnswerDialog").Handle) { builder.Autoconnect(this); issueWindow = _issueWindow; question = _question; issueWindow.Sensitive = false; DeleteEvent += Window_DeleteEvent; closeButton.Clicked += CloseButton_Clicked; questionBox.Buffer.Text = question.Text; answerBox.Buffer.Text = question.Answer; }
public AnswerDialog(Question question, IssueWindow issueWindow) : this(new Builder("AnswerDialog.glade"), question, issueWindow) { }
private void LaunchIssueWindow(string issueID, ListBoxRow row) { issueWindow = new IssueWindow(issues[issueID], this, row); SolverApp.GetApp().AddWindow(issueWindow); issueWindow.ShowAll(); }
public QuestionDialog(IssueWindow issueWindow, string issueID) : this(new Builder("QuestionDialog.glade"), issueWindow, issueID) { }