Inheritance: System.Windows.Forms.Form
Beispiel #1
0
        static void Main(string[] args)
        {
            var plugins = new List<ISimulatorPluginFactory>() { DNP3SimulatorPluginFactory.Instance };

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

            var splashOnLoad = true;

            if (args.Length >= 1 && args[0] == "-nosplash")
            {
                splashOnLoad = false;
            }

            var form = new SimulatorForm(plugins, splashOnLoad);
            Application.Run(form);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            var plugins = new List <ISimulatorPluginFactory>()
            {
                DNP3SimulatorPluginFactory.Instance
            };

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

            var splashOnLoad = true;

            if (args.Length >= 1 && args[0] == "-nosplash")
            {
                splashOnLoad = false;
            }

            var form = new SimulatorForm(plugins, splashOnLoad);

            Application.Run(form);
        }