コード例 #1
0
 public static ImageSorterApplicationContext GetContext()
 {
     if (context == null)
     {
         context = new ImageSorterApplicationContext();
     }
     return(context);
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: doughtnerd/ImageSorter
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var context = ImageSorterApplicationContext.GetContext();

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