Пример #1
0
 private void OpenTextBox(string orgtext, string langin, string langout, string minilangin)
 {
     this.Dispatcher.Invoke(() =>
     {
         UI_LongText = new TransText(langin, langout, orgtext, minilangin);
         UI_LongText.Show();
     });
 }
Пример #2
0
 private void CloseTextBox(TransText UI_LongText)
 {
     this.Dispatcher.Invoke(() =>
     {
         if (UI_LongText != null)
         {
         }
         UI_LongText.Close();
     });
 }