public void Setup() { _repo = new DigitalMicroWaveRepository(); _service = new DigitalMicroWaveService(_repo); _service.Initialize(); }
public FormMain(IDigitalMicroWaveService service) { _service = service; var microwave = _service.Initialize(); microwave.JobRunningEvent += JobRunningEventHandler; InitializeComponent(); SetDefaultValues(microwave); SetTemplatesDataSource(String.Empty, null); SetToolTip(); }