public void CloseSelf() { if (Common.FindParent <SfPopupLayout>(this) is SfPopupLayout popup) { popup.IsOpen = false; } ClosingRequested?.Invoke(this, new EventArgs()); }
private void _buttonReport_Click(object sender, EventArgs e) { string title = string.Format("[{0}] {1}", _comboBoxType.Text, _textBoxTitle.Text); _intInf.GitHubAdapter.RepoUser = "******"; bool published = _intInf.GitHubAdapter.PublishIssue(string.Format("Droid-{0}", _comboboxRepo.Text), title, _textBoxDescription.Text); if (!published) { SaveIssue(); } else { ProcessOldIssues(); } ClosingRequested?.Invoke(null); }
private void Cancel_Clicked(object sender, System.EventArgs e) { ClosingRequested?.Invoke(this, new EventArgs()); }
private void buttonCancel_Click(object sender, EventArgs e) { ClosingRequested?.Invoke(null); }