Пример #1
0
 public static BoggleApplicationContext GetContext()
 {
     if (context == null)
     {
         context = new BoggleApplicationContext();
     }
     return(context);
 }
Пример #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var context = BoggleApplicationContext.GetContext();

            BoggleApplicationContext.GetContext().RunNew();
            Application.Run(context);
        }