public WZ0010(string programID, string programName) : base(programID, programName) { InitializeComponent(); GridHelper.SetCommonGrid(gvMain, true, new GridColumn[] { UPF_USER_ID }); PrintableComponent = gcMain; this.Text = _ProgramID + "─" + _ProgramName; daoUPF = new UPF(); daoUTP = new UTP(); serviceCommon = new ServiceCommon(); }
public WZ0110(string programID, string programName) : base(programID, programName) { InitializeComponent(); daoDZ0110 = new DZ0110(); daoUTP = new UTP(); daoLOGUTP = new LOGUTP(); GridHelper.SetCommonGrid(gvMain); PrintableComponent = gcMain; this.Text = _ProgramID + "─" + _ProgramName; _RepCheck = new RepositoryItemCheckEdit(); _RepCheck.AllowGrayed = false; _RepCheck.ValueChecked = "Y"; _RepCheck.ValueUnchecked = " "; _RepCheck.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; gcMain.RepositoryItems.Add(_RepCheck); UTP_FLAG.ColumnEdit = _RepCheck; TXN_DEFAULT.ColumnEdit = _RepCheck; }
public WZ0020(string programID, string programName) : base(programID, programName) { InitializeComponent(); GridHelper.SetCommonGrid(gvMain); gvMain.AppearancePrint.HeaderPanel.Font = new Font("標楷體", 10); gvMain.AppearancePrint.Row.Font = new Font("標楷體", 10); gvMain.ViewCaptionHeight = 30; PrintableComponent = gcMain; this.Text = _ProgramID + "─" + _ProgramName; RepositoryItemCheckEdit repCheck = new RepositoryItemCheckEdit(); repCheck.AllowGrayed = false; repCheck.ValueChecked = "Y"; repCheck.ValueUnchecked = "N"; repCheck.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; gcMain.RepositoryItems.Add(repCheck); TXN_DEFAULT.ColumnEdit = repCheck; TXN_EXTEND.ColumnEdit = repCheck; DataTable dtType = new CODW().ListLookUpEdit("TXN", "TXN_TYPE"); RepositoryItemLookUpEdit cbxType = new RepositoryItemLookUpEdit(); cbxType.SetColumnLookUp(dtType, "CODW_ID", "CODW_DESC", TextEditStyles.DisableTextEditor, ""); TXN_TYPE.ColumnEdit = cbxType; TXN_TYPE.ShowButtonMode = ShowButtonModeEnum.ShowAlways; daoTXN = new TXN(); daoUTP = new UTP(); daoLOGUTP = new LOGUTP(); }
public ServiceZ0010() { daoUPF = new UPF(); daoUTP = new UTP(); }
public ServiceZ0020() { daoTXN = new TXN(); daoUTP = new UTP(); daoLOGUTP = new LOGUTP(); }
public ServiceZ0110() { daoDZ0110 = new DZ0110(); daoUTP = new UTP(); daoLOGUTP = new LOGUTP(); }