| | |
| | | _enabledBtn(lst); |
| | | this.currentAction = "edit"; |
| | | if (btnEdtClick != null) btnEdtClick(this, e); |
| | | Form parentForm = this.FindForm(); |
| | | if (parentForm != null) |
| | | { |
| | | Control specificControl = parentForm.Controls.Find("picCheckBox", true).FirstOrDefault(); |
| | | if (specificControl != null) |
| | | { |
| | | specificControl.Visible = false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | private void BtnDel_ItemClick(object sender, ItemClickEventArgs e) |
| | |
| | | _enabledBtn(lst); |
| | | this.currentAction = "add"; |
| | | if (btnAddClick != null) btnAddClick(this, e); |
| | | Form parentForm = this.FindForm(); |
| | | if (parentForm != null) |
| | | { |
| | | Control specificControl = parentForm.Controls.Find("picCheckBox", true).FirstOrDefault(); |
| | | if (specificControl != null) |
| | | { |
| | | specificControl.Visible = false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | private void BtnRole_ItemClick(object sender, ItemClickEventArgs e) |