/// <summary> /// Updates the filters for the parts list. /// </summary> /// <param name="mod">The <see cref="FilterModification"/> being updated.</param> /// <param name="o">An object associated with the specific <see cref="FilterModification"/> type.</param> private void UpdateFilter(FilterModification mod, object o) { Program.AddDebugLog("Filter Change Event: " + mod.ToString()); this.FilterChanged(this, new FilterEventArgs() { Modified = mod, Object = o }); }
private void OnUpdate(FilterModification mod, object o) { FilterEventArgs ev = new FilterEventArgs() { Modified = mod, Object = o }; if (FilterChanged != null) { FilterChanged(this, ev); } }
private void OnUpdate(FilterModification mod, object o) { FilterEventArgs ev = new FilterEventArgs() { Modified = mod, Object = o }; if (FilterChanged != null) FilterChanged(this, ev); }