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