| | |
| | | txt_bl017.Text = _strType; |
| | | txt_bl017.Tag = "moren." + _strType; |
| | | } |
| | | |
| | | protected override void OnCreateControl() |
| | | { |
| | | base.OnCreateControl(); |
| | |
| | | txt_bl002.Text = txt_aboutGuid.GetPrdNo(); |
| | | txt_bl014.Text = txt_aboutGuid.GetPrdName(); |
| | | txt_bl015.Text = txt_aboutGuid.GetPrdModel(); |
| | | txt_bl011.Text = txt_aboutGuid.GetWorkName(); |
| | | txt_dptName.Text = txt_aboutGuid.GetWorkName(); |
| | | txt_bl012.Text = txt_aboutGuid.GetWorkXb(); |
| | | txt_bl013.Text = txt_aboutGuid.GetRwd(); |
| | | txt_tldh.Text = txt_aboutGuid.GetTldh(); |
| | | var _obj = new |
| | | { |
| | | currentPage = 1, |
| | |
| | | var rtn = UtilityHelper.ReturnToTablePage(strReturn); |
| | | var dt = rtn.rtnData.list; |
| | | this.repositoryItemSearchLookUpEdit1.DataSource = dt; |
| | | this.repositoryItemSearchLookUpEdit1.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | } |
| | | private void GridView1_ColumnFilterChanged(object sender, EventArgs e) |
| | | { |
| | | Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); |
| | | _filterList= Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); |
| | | Task.Delay(100); |
| | | getPageList(1); |
| | | } |
| | |
| | | /// <param name="e"></param> |
| | | private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) |
| | | { |
| | | Form parentForm; |
| | | if (this.Parent is Form) |
| | | parentForm = this.Parent as Form; |
| | | else |
| | | parentForm = this.Parent.Parent as Form; |
| | | |
| | | gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; |
| | | gridView1.ActiveFilter.Clear(); |
| | | gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; |
| | | var frm = new ShowFilter(gridView1.Columns, _filterList); |
| | | var frm = new ShowFilter(gridView1.Columns, _filterList, parentForm.GetType().FullName); |
| | | frm.UpdateParent += Frm_UpdateParent; |
| | | frm.ShowDialog(); |
| | | } |
| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); |
| | | if (xtraTabControl1.SelectedTabPageIndex == 1) |
| | | { |
| | | getModel(lbGuid.Text.Trim()); |
| | | getModel(rowGuid); |
| | | } |
| | | else |
| | | { |
| | |
| | | { |
| | | gcMain1.DataSource = dt; |
| | | gcMain1.ForceInitialize(); |
| | | gridView1.BestFitColumns(); |
| | | gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); |
| | | } |
| | | else |
| | | UtilityHelper.SetDefaultTable(gcMain1, gridView1); |
| | |
| | | gcMx1.DataSource = dt; |
| | | gcMx1.ForceInitialize(); |
| | | gvMx1.BestFitColumns(); |
| | | Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx1); |
| | | } |
| | | else |
| | | { |