예제 #1
0
        public MainForm()
        {
            InitializeComponent();
            this.model      = new TickerModel();
            this.controller = new TickerController(model, this);
            credentialsForm = new CredentialsForm(model, controller);
            tickerForm      = new TickerForm();

            model.registerBotObserver(this);
        }
예제 #2
0
 public CredentialsForm(ITickerModel model, ITickerController controller)
 {
     InitializeComponent();
     this.model      = model;
     this.controller = controller;
 }