Example #1
0
 private void SetFocusOnMainWindown(object s, System.Timers.ElapsedEventArgs e)
 {
     FocusHandler.SetFocus(System.Reflection.Assembly.GetExecutingAssembly().GetName().Name);
 }
Example #2
0
 private void SetFocusOnMainWindown()
 {
     FocusHandler.SetFocus(string.Format("{0}.exe", System.Reflection.Assembly.GetExecutingAssembly().GetName().Name));
 }