Exemplo n.º 1
0
 /// <summary>
 /// Returns the one DemoApplicationContext.
 /// </summary>
 public static BoggleClientApplicationContext GetContext()
 {
     if (context == null)
     {
         context = new BoggleClientApplicationContext();
     }
     return(context);
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var context = BoggleClientApplicationContext.GetContext();

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