Exemplo n.º 1
0
 public MainForm()
 {
     InitializeComponent();
     var server = new AppServer();
     PerfMonitorForm monitorForm = new PerfMonitorForm( server );
     PayloadControlForm payloadForm = new PayloadControlForm( server );
     Presenter = new MainFormPresenter( server, monitorForm, payloadForm );
     presenterBindingSource.DataSource = Presenter;
 }
Exemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();
            var                server      = new AppServer();
            PerfMonitorForm    monitorForm = new PerfMonitorForm(server);
            PayloadControlForm payloadForm = new PayloadControlForm(server);

            Presenter = new MainFormPresenter(server, monitorForm, payloadForm);
            presenterBindingSource.DataSource = Presenter;
        }
Exemplo n.º 3
0
 public MainFormPresenter(IAppServer server, PerfMonitorForm monitorForm, PayloadControlForm payloadForm)
 {
     _server      = server;
     _monitorForm = monitorForm;
     _payloadForm = payloadForm;
 }
 public MainFormPresenter( IAppServer server, PerfMonitorForm monitorForm, PayloadControlForm payloadForm )
 {
     _server = server;
     _monitorForm = monitorForm;
     _payloadForm = payloadForm;
 }