/// <summary> /// 模板激活 /// </summary> private void FrmEditfrom_Activated(object sender, EventArgs e) { EditEventReferences.ActiveFromEvent(this); }
private void Tab_editlist_SelectedIndexChanged(object sender, EventArgs e) { EditEventReferences.ActiveFromEvent((Tab_editlist.Controls[Tab_editlist.SelectedIndex].Controls[0] as FrmEditFrm)); }
/// <summary> /// 触发当前对象激活事件|更换其他窗体中的数据源 /// </summary> private void P_bgimg_Click(object sender, EventArgs e) { EditEventReferences.ActiveFromEvent(this); }