コード例 #1
0
ファイル: Program.cs プロジェクト: viticm/pap2
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SelectDataBaseForm dbForm = new SelectDataBaseForm();
            if (dbForm.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            string ChoosedDBName = dbForm.ChoosedDBName;
            Application.Run(new DataRecordsQureyForm(ChoosedDBName));
        }
コード例 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            SelectDataBaseForm dbForm = new SelectDataBaseForm();

            if (dbForm.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            string ChoosedDBName = dbForm.ChoosedDBName;

            Application.Run(new DataRecordsQureyForm(ChoosedDBName));
        }