Example #1
0
 /// <summary>
 /// Кнопка для отчищения всех полей TextBox
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FieldsClean_Click(object sender, EventArgs e)
 {
     ControlActive.CleanAllTextBoxesIn(this);
     if (Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName.Equals("en", StringComparison.InvariantCultureIgnoreCase))
     {
         ControlActive.CheckMessage(this.ShowMessage, Language.GlobalMessageStrings_en_US.FieldsClean);
     }
     else
     {
         ControlActive.CheckMessage(this.ShowMessage, Language.GlobalMessageStrings_ru_RU.FieldsClean);
     }
 }