private void Call_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { CallPropertyEventArgs args = new CallPropertyEventArgs(this, e.PropertyName); if (e.PropertyName == "state" && CallStateChanged != null) { CallStateChanged(this, args); } if (CallPropertyChanged != null) { CallPropertyChanged(this, args); } }
private void Call_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { CallPropertyEventArgs args = new CallPropertyEventArgs(this, e.PropertyName); if (e.PropertyName == "state" && CallStateChanged != null) CallStateChanged(this, args); if (CallPropertyChanged != null) CallPropertyChanged(this, args); }