Inheritance: System.Windows.Forms.Form
Ejemplo n.º 1
0
 private static bool runForm(CommandEndpoint endpoint, string defaultLanguage)
 {
     try {
         var form = new TrayForm(
             endpoint,
             defaultLanguage,
             Bootstrapper.GetCacheBuilder());
         Application.Run(form);
         return true;
     } catch {
         return false;
     }
 }
Ejemplo n.º 2
0
 private static bool runForm(CommandEndpoint endpoint, string defaultLanguage)
 {
     try {
         var form = new TrayForm(
             endpoint,
             defaultLanguage,
             Bootstrapper.GetCacheBuilder());
         Application.Run(form);
         return(true);
     } catch {
         return(false);
     }
 }