void obj_Finished(IBmcCashDispenser sender, IBmcCashDispenseresult result) { Application.Current.Dispatcher.Invoke(DispatcherPriority.Normal, (ThreadStart) delegate { this.Result = result.Result; this.Close(); }); }
void obj_Finished(IBmcCashDispenser sender, IBmcCashDispenseresult result) { Application.Current.Dispatcher.Invoke(DispatcherPriority.Normal, (ThreadStart)delegate { this.Result = result.Result; this.Close(); }); }