public WarningMessages (StatusHost statusHost, Dispatcher dispatcher) { InitializeComponent(); CultureResources.registerDataProvider(this);; _Dispatcher = dispatcher; _StatusHost = statusHost; _StatusHost.WarningMessageUpdate += new UpdateWarningMessageHandler(UpdateWarningMessage); }
public Indicator (StatusHost statusHost, Dispatcher dispatcher) { InitializeComponent(); CultureResources.registerDataProvider(this); _Dispatcher = dispatcher; _StatusHost = statusHost; _StatusHost.IndicatorUpdate += new UpdateIndicatorHandler(UpdateIndicator); }