Exemplo n.º 1
0
 private void CloseWordBox(TransWord UI)
 {
     this.Dispatcher.Invoke(() =>
     {
         UI.Close();
     });
 }
Exemplo n.º 2
0
 private void OpenWordBox(string orgtext, string langin, string langout, string minilangin)
 {
     this.Dispatcher.Invoke(() =>
     {
         UI      = new TransWord(langin, langout, orgtext, minilangin, TK);
         UI.Left = System.Windows.Forms.Cursor.Position.X;
         UI.Top  = System.Windows.Forms.Cursor.Position.Y;
         UI.Show();
     });
 }