private void tabControl_SignUp_SelectedIndexChanged(object sender, EventArgs e) { if (bool_Exam_First && this.tabControl_SignUp.SelectedTab.Text == "¿¼ÊԼǼ") { bool_Exam_First = false; if (myEventArgs_KindofEmployer != null) { Publisher_KindofEmployer.OnEventName(myEventArgs_KindofEmployer); } } }
private void treeView_Data_AfterSelect(object sender, TreeViewEventArgs e) { EventArgs_KindofEmployer myEventArgs_KindofEmployer = new EventArgs_KindofEmployer(); switch (this.treeView_Data.SelectedNode.Level) { case 0: break; case 1: myEventArgs_KindofEmployer.str_KindofEmployer = this.treeView_Data.SelectedNode.Tag.ToString(); Publisher_KindofEmployer.OnEventName(myEventArgs_KindofEmployer); break; } }
/// <summary> /// 刷新数据 /// </summary> /// <param name="bool_JustFill">true-只添加和修改数据,false-刷新全部数据</param> private void RefreshData(bool bool_JustFill) { this.myEventArgs_KindofEmployer.bool_JustFill = bool_JustFill; Publisher_KindofEmployer.OnEventName(this.myEventArgs_KindofEmployer); }