private void OnParameterChanged(ParameterChangedEventArgs args) { if (ParameterChanged != null) { ParameterChanged(this, args); } }
private void EventHandler_Network_ParameterChanged(object sender, ParameterChangedEventArgs e) { // Прокидываем событие дальше OnParameterChanged(e); }
protected void OnParameterChanged(ParameterChangedEventArgs args) { if (ParameterChanged != null) { ParameterChanged(this, args); } }
/// <summary> /// Сбрасывает все наступившие события /// </summary> public void ResetEventsFlags() { _errorOccuredEArgs = null; _paramChangedArgs = null; _statusChangedArgs = null; }
private void EventHandler_manager_ParameterChanged(object sender, ParameterChangedEventArgs e) { _paramChangedArgs = e; }
private void OnParameterChanged(ParameterChangedEventArgs args) { if (args == null) { throw new ArgumentNullException("args", ""); } if (ParameterChanged != null) { ParameterChanged(this, args); } }