private void ABC(object sender, int lavieID) { try { propertyChangedThread propertyChangedDelegate = new propertyChangedThread(propertyChangedHandler); this.Invoke(propertyChangedDelegate, new object[] { sender, lavieID }); } catch (Exception exception) { ExceptionHandlers.ShowExceptionMessageBox(this, exception); } }
private void controller_PropertyChanged(object sender, PropertyChangedEventArgs e) { try { propertyChangedThread propertyChangedDelegate = new propertyChangedThread(propertyChangedHandler); this.Invoke(propertyChangedDelegate, new object[] { sender, e }); } catch (Exception exception) { ExceptionHandlers.ShowExceptionMessageBox(this, exception); } }
private void showStatus(object sender, int lavieID, string connectStatus, string progressStatus, string cycleStatus) { try { propertyChangedThread propertyChangedDelegate = new propertyChangedThread(propertyChangedHandler); this.Invoke(propertyChangedDelegate, new object[] { sender, lavieID, connectStatus, progressStatus, cycleStatus }); } catch (Exception exception) { ExceptionHandlers.ShowExceptionMessageBox(this, exception); } }