Наследование: System.Windows.Forms.Form
Пример #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;
     }
 }
Пример #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);
     }
 }