Exemple #1
0
        private static void Main(string[] args)
        {
            // User Login. Directs to ConsoleIO.
            //LoginHandler.programState = LoginHandler.ProgramState.Console;
            //LoginHandler.programState = LoginHandler.ProgramState.Gui;
            //LoginHandler.LoginMenu(args);

            var presenter = new Presenter.Presenter();
            presenter.Initialize();
            presenter.RunApplication();
        }
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var model = new Model.ConcreteModel();
            var view = new View.MainFormClientView();

            var presenter = new Presenter.Presenter(model, view);

            Application.Run(view);
        }