Exemplo n.º 1
0
        /// <summary>
        /// Initialize the Model->Presenter->View workflow
        /// and start accepting events from the user.
        /// </summary>
        static void Main(string[] args)
        {
            ConsoleView  consoleView = new ConsoleView();
            SCSPresenter presenter   = new SCSPresenter(consoleView, new CastleSalesModel());

            consoleView.HomePage();
        }
 public void Initialize()
 {
     mcModel     = new CastleSalesModel();
     mcPresenter = new SCSPresenter(this, mcModel);
 }