| | |
| | | /// <param name="e"></param> |
| | | private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) |
| | | { |
| | | UtilityHelper.JumpToTab(xtraTabControl1, 0); |
| | | getPageList(1, UtilityHelper.GetPageSize()); |
| | | if (xtraTabControl1.SelectedTabPageIndex == 1) |
| | | getModel(lbGuid.Text.Trim(), false, 999); |
| | | else |
| | | getPageList(1, UtilityHelper.GetPageSize()); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | |
| | | var _obj = new |
| | | { |
| | | guid = lbGuid.Text.Trim(), //主建 |
| | | guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建 |
| | | name = txt_name.Text.Trim(), |
| | | time1 = txt_begTime.Value.Date, |
| | | time2 = txt_endTime.Value.Date, |
| | |
| | | var dt = dd.rtnData.list; |
| | | txt_workshopNo.Properties.DataSource = dt; |
| | | txt_workshopNo.Properties.DisplayMember = "name"; // 显示的列 |
| | | txt_workshopNo.Properties.ValueMember = "itemNo"; // 实际值的列 |
| | | txt_workshopNo.Properties.ValueMember = "workshopNo"; // 实际值的列 |
| | | txt_workshopNo.Properties.TextEditStyle = |
| | | TextEditStyles.DisableTextEditor; |
| | | } |