コード例 #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (FileHandling.SaveFileExists())
            {
                DoubleWeekView.Double_Week_View dwv = new DoubleWeekView.Double_Week_View();
                AppWideInfo.doubleWeekView = dwv;

                FileHandling.Load();


                Application.Run(dwv);
            }
            else
            {
                DoubleWeekView.Double_Week_View dwv = new DoubleWeekView.Double_Week_View();
                AppWideInfo.doubleWeekView = dwv;
                Application.Run(dwv);
            }
        }
コード例 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     DoubleWeekView.Double_Week_View dwv = new DoubleWeekView.Double_Week_View();
     dwv.LoadInfo();
     dwv.Show();
 }