public MainForm() { InitializeComponent(); _controller = new DeskController(); _controller.OnStatusUpdate += (sender, args) => { if (InvokeRequired) { Invoke(new StatusUpdateDelegate(UpdateFormStatus), args); return; } UpdateFormStatus(args); }; _autoUpDown = new AutoUpDown(_controller, FlashWindow); _nextChangeSubscription = _autoUpDown.NextChangeAtSubject.Subscribe(SetNextChangeLabel); }