| | |
| | | Name = txt_name.Text.Trim(), |
| | | LineNo = txt_lineNo.Text.Trim(), |
| | | Remark = txt_remark.Text.Trim(), |
| | | LineType = txt_lineType.Text.Trim(), |
| | | isZxbg = txt_isZxbg.Checked |
| | | LineType = txt_lineType.Checked.ToString(),//过站时强制水检 |
| | | isZxbg = txt_isZxbg.Checked //过站时强制电检 |
| | | }; |
| | | try |
| | | { |
| | |
| | | if (toolBarMenu1.currentAction == "edit") isEdit = true; |
| | | if (string.IsNullOrEmpty(strGuid)) |
| | | { |
| | | ToolBox.MsgHelper.Warning("请先选择你要操作的行!"); |
| | | ToolBox.MsgHelper.ShowError("请先选择你要操作的行!"); |
| | | return; |
| | | } |
| | | var _obj = new |
| | |
| | | UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit); |
| | | } |
| | | else |
| | | ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg); |
| | | ToolBox.MsgHelper.ShowError("提示:" + _rtn.rtnMsg); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | ToolBox.MsgHelper.Warning("提示:" + ex.Message); |
| | | ToolBox.MsgHelper.ShowError("提示:" + ex.Message); |
| | | } |
| | | } |
| | | } |