Esempio n. 1
0
        public LoginForm(IDriverPresenter presenter)
        {
            InitializeComponent();

            authStatus.Text = "";

            _presenter = presenter;
            _presenter.AddConnectionListener(this);
        }
Esempio n. 2
0
        public DriverAppForm(IDriverPresenter presenter)
        {
            InitializeComponent();

            labelStatus.Text    = "Свободен";
            pizzaType.Text      = "";
            routeToBase.Text    = "";
            routeToAddress.Text = "";

            _presenter = presenter;
            _presenter.AddConnectionListener(this);
            _presenter.SetOrderListener(this);
        }