| | |
| | | btnShouHouChk.ItemClick += BtnShouHouChk_ItemClick; |
| | | btnShouHouFchk.ItemClick += BtnShouHouFchk_ItemClick; |
| | | btnAll.ItemClick += BtnAll_ItemClick; |
| | | btnGongZi.ItemClick += BtnGongZi_ItemClick; |
| | | btnLianBan.ItemClick += BtnLianBan_ItemClick; |
| | | var lst = new List<string>(); |
| | | foreach (BarItem item in barManager1.Items) |
| | | if (item is BarLargeButtonItem largeButtonItem) |
| | |
| | | actions = lst; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 初始化按钮状态 |
| | |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | |
| | | private void BtnCaiGouFchk_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnCaiGouFchkClick != null) |
| | |
| | | if (btnShouHouChkClick != null) |
| | | btnShouHouChkClick(this, e); |
| | | } |
| | | |
| | | |
| | | private void BtnFchk_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | bool bl = _isCk(0); |
| | |
| | | strType = xlsInService.Split('&')[1]; |
| | | strService = xlsInService.Split('&')[0]; |
| | | } |
| | | else { |
| | | strType = ""; |
| | | strService = xlsInService; |
| | | else |
| | | { |
| | | strType = ""; |
| | | strService = xlsInService; |
| | | } |
| | | //这是一个随机值,将会被当作父亲guid存到file表中,服务端根据这个guid读取相应的文件 |
| | | string upGuid = Guid.NewGuid().ToString(); |
| | |
| | | { |
| | | if (btnQueryClick != null) btnQueryClick(this, e); |
| | | } |
| | | |
| | | |
| | | private void BtnAll_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnAllClick != null) |
| | | btnAllClick(this, e); |
| | | } |
| | | |
| | | private void BtnLianBan_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnLianBanClick != null) |
| | | btnLianBanClick(this, e); |
| | | } |
| | | |
| | | private void BtnGongZi_ItemClick(object sender, ItemClickEventArgs e) |
| | | { |
| | | if (btnGongZiClick != null) |
| | | btnGongZiClick(this, e); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 取消时,还原按钮可用性 |
| | |
| | | /// 批量设置 |
| | | /// </summary> |
| | | public event EventHandler btnAllClick; |
| | | |
| | | /// <summary> |
| | | /// 连班设置 |
| | | /// </summary> |
| | | public event EventHandler btnLianBanClick; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 计算工资 |
| | | /// </summary> |
| | | public event EventHandler btnGongZiClick; |
| | | |
| | | #endregion |
| | | |
| | | #region 公共属性 |