Example #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var prepareForm = new PrepareForm();

            Application.Run(prepareForm);

            if (!prepareForm.StartApp)
                return;

            var resDataConnections = prepareForm.DataConnections;
            var mainForm = new PSDForm(resDataConnections);
            Application.Run(mainForm);
        }
Example #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var prepareForm = new PrepareForm();

            Application.Run(prepareForm);

            if (!prepareForm.StartApp)
            {
                return;
            }

            var resDataConnections = prepareForm.DataConnections;
            var mainForm           = new PSDForm(resDataConnections);

            Application.Run(mainForm);
        }