void RemoteSettingsDialog_Completed(object sender, ResultEventArgs e)
 {
     Timer t = new Timer();
     t.Interval = 250;
     t.Tick += new EventHandler(t_Tick);
     t.Start();
 }
 private void twc_Completed(object sender, ResultEventArgs e)
 {
     if (e.Result.GetType() != typeof(ErrorCommand))
         RefreshIfNotRefreshing();
 }