Inheritance: System.Windows.Forms.Form
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }