public void Setup()
        {
            _repo    = new DigitalMicroWaveRepository();
            _service = new DigitalMicroWaveService(_repo);

            _service.Initialize();
        }
Пример #2
0
        public FormMain(IDigitalMicroWaveService service)
        {
            _service = service;
            var microwave = _service.Initialize();

            microwave.JobRunningEvent += JobRunningEventHandler;
            InitializeComponent();

            SetDefaultValues(microwave);
            SetTemplatesDataSource(String.Empty, null);
            SetToolTip();
        }