| | |
| | | //_ckService(1.ToString()); |
| | | } |
| | | |
| | | private async void BtnIn_ItemClick(object sender, ItemClickEventArgs e) |
| | | private async void BtnIn_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (string.IsNullOrEmpty(xlsInService)) |
| | | { |
| | |
| | | { |
| | | if (btnQueryClick != null) btnQueryClick(this, e); |
| | | } |
| | | |
| | | |
| | | private void BtnEsc_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (MsgHelper.AskQuestion("确定要要取消吗?")) |
| | |
| | | lst.Add(btnLog.Name); |
| | | lst.Add(btnPiZhun.Name); |
| | | lst.Add(btnHelp.Name); |
| | | lst.Add(btnBoHui.Name); |
| | | _enabledBtn(lst); |
| | | this.currentAction = "esc"; |
| | | if (btnEscClick != null) btnEscClick(this, e); |
| | | } |
| | | } |
| | |
| | | lst.Add(btnAdd.Name); |
| | | lst.Add(btnEdit.Name); |
| | | lst.Add(btnEsc.Name); |
| | | lst.Add(btnChk.Name); |
| | | lst.Add(btnFchk.Name); |
| | | lst.Add(btnDel.Name); |
| | | lst.Add(btnJianYan.Name); |
| | | lst.Add(btnFjianYan.Name); |
| | | lst.Add(btnQuery.Name); |
| | | lst.Add(btnLog.Name); |
| | | lst.Add(btnZhiLiangChk.Name); |
| | | lst.Add(btnZhiLiangFchk.Name); |
| | | lst.Add(btnPiZhun.Name); |
| | | lst.Add(btnBoHui.Name); |
| | | lst.Add(btnDesign.Name); |
| | | lst.Add(btnReport.Name); |
| | | _enabledBtn(lst); |
| | | } |
| | | } |
| | |
| | | lst.Add(btnEsc.Name); |
| | | lst.Add(btnHelp.Name); |
| | | _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) |
| | |
| | | lst.Add(btnEsc.Name); |
| | | lst.Add(btnHelp.Name); |
| | | _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) |
| | |
| | | if (btnWgClick != null) btnWgClick(this, e); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | private void BtnbZhongTai_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | |
| | | |
| | | #region 公共事件 |
| | | |
| | |
| | | /// 通知备料 |
| | | /// </summary> |
| | | public event EventHandler btnTzblClick; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 状态 |
| | | /// </summary> |
| | | public event EventHandler btnZhongTaiClick; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 手动完工 |
| | | /// </summary> |
| | | public event EventHandler btnWgClick; |
| | | |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region 公共属性 |
| | |
| | | /// </summary> |
| | | public string chkParameter { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 当前状态 |
| | | /// </summary> |
| | | public string currentAction { get; set; } |
| | | #endregion |
| | | |
| | | |