Ejemplo n.º 1
0
        private void reportBugButton_Click(object sender, EventArgs e)
        {
            ReportBug reportBugWindow = new ReportBug();

            reportBugWindow.Owner = Owner;
            reportBugWindow.InitializeForm(cultureInternal);
            reportBugWindow.errorMessageTextBox.Text = exception != null ? exception.Message : errorLabel.Text;
            reportBugWindow.Show(Owner);
            DialogResult = DialogResult.Yes;
        }
Ejemplo n.º 2
0
        private void reportBugButton_Click(object sender, EventArgs e)
        {
            ReportBug reportBugWindow = new ReportBug();

            reportBugWindow.Owner = Owner;
            reportBugWindow.InitializeForm();
            reportBugWindow.errorMessageTextBox.Text = (exception != null) ? GetFullErrorMessage() : errorLabel.Text;
            reportBugWindow.Show();

            DialogResult = DialogResult.OK;
        }
        private void requestHelpFromO2SupportToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            var rpReportBug = new ReportBug {
                fParentForm = this
            };

            rpReportBug.setFromEmail("*****@*****.**");
            rpReportBug.setSubject("[Comment from O2 user] ");
            rpReportBug.setMessage(Mail.getUserDetailsAsEmailFormat() + " says:" + Environment.NewLine +
                                   "Hello O2 Support, " + Environment.NewLine + Environment.NewLine);
            rpReportBug.Show();
        }