private void VariablesForm_HelpButtonClicked(object sender, CancelEventArgs e) { Helper.ShowHelp(this, Texts.GetString(Constants.GetHelpKey(AvaliableWindows.VariablesForm)), Constants.ReadMeFileName); }
public static DialogResult AreYouSure(IWin32Window parent, string text, MessageBoxDefaultButton defaultButton) { return(MessageBox.Show(parent, text, Texts.GetString("AreYouSure"), MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question, defaultButton, ArabicMessageOptions)); }
protected void ShowError(ApplicationErrors error) { ResultLabel.Text = Texts.GetString(error.ToString()); ResultLabel.BackColor = Color.Red; CurrentError = error; }
private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) { Error.ShowError(null, Texts.GetString("AreYouSure"), "mailto:[email protected]"); }
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { Error.ShowError(null, Texts.GetString("AreYouSure"), "mailto:[email protected]"); Exception ex = e.ExceptionObject as Exception; }
public CalculatingException() : base(Texts.GetString("CalculatingError")) { }