Beispiel #1
0
 public static ImageSorterApplicationContext GetContext()
 {
     if (context == null)
     {
         context = new ImageSorterApplicationContext();
     }
     return(context);
 }
Beispiel #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var context = ImageSorterApplicationContext.GetContext();

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