| | |
| | | decimal _dfValue = 1; |
| | | if (strType == "iqc") |
| | | _dfValue = 5; |
| | | this.gvMx1.InitNewRow += (s, e) => { this.gvMx1.SetRowCellValue(e.RowHandle, "ypsl", _dfValue); }; |
| | | this.gvMx1.InitNewRow += (s, e) => { |
| | | this.gvMx1.SetRowCellValue(e.RowHandle, "ypsl", _dfValue); |
| | | int newIndex = gvMx1.DataRowCount + 1; |
| | | this.gvMx1.SetRowCellValue(e.RowHandle, "forder", newIndex); |
| | | }; |
| | | this.toolBarMenu1.getXmlConfig(); |
| | | Form parentForm = this.FindForm(); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); |
| | |
| | | }, (value) => |
| | | { |
| | | getPageList(this.pageBar1.CurrentPage); |
| | | }); |
| | | }, lbGuid); |
| | | getPageList(1); |
| | | pageBar1.PagerEvent += PageBar1_PagerEvent; |
| | | _setIno(); |
| | |
| | | gridViews.Add(gvMx1); |
| | | gridViews.Add(gridView2); |
| | | UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gridViews); |
| | | toolBarMenu1.currentAction = ""; |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 6); |
| | | } |
| | | } |
| | | catch (Exception ex) |