示例#1
0
        static void Main()
        {
            RememberTextBoxController.BindSettings(Settings.Default, Settings.Default);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new frmSelectDB());

            Settings.Default.Save();
        }
示例#2
0
        static void Main()
        {
            RememberTextBoxController.BindSettings(Settings.Default, Settings.Default);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var sb = SelectDatabaseForm.ShowPrompt(null);

            if (sb != null)
            {
                Application.Run(new DBStatusForm(sb));
                Settings.Default.Save();
            }
        }