public MainWindow()
 {
     //System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.GetCultureInfo("ru-RU");
     InitializeComponent();
     Closing += (s, EA) => Environment.Exit(0);
     RICClient.Init(KeyInputDialog.Show());
     RICClient.InitCompleted += RICClient_InitCompleted;
 }
 void AdminCrown_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     RICClient.Stop();
     RICClient.Init(KeyInputDialog.Show());
 }