/// <summary> /// MDI子窗口被通知事件发生 /// </summary> /// <param name="e">事件类型</param> public virtual void OnNotify(ParamChangedEventArgs e) { }
void FireParamChanged(string strSection, string strEntry, object value) { if (this.ParamChanged != null) { ParamChangedEventArgs e = new ParamChangedEventArgs(); e.Section = strSection; e.Entry = strEntry; e.Value = value; this.ParamChanged(this, e); } }
/// <summary> /// MDI子窗口被通知事件发生 /// </summary> /// <param name="e">事件类型</param> public override void OnNotify(ParamChangedEventArgs e) { if (e.Section == "valueTableCacheCleared") { this.readerEditControl1.OnValueTableCacheCleared(); } }