public WZ0112(string programID, string programName) : base(programID, programName) { InitializeComponent(); 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; daoDZ0112 = new DZ0112(); daoUTP = new UTP(); daoLOGUTP = new LOGUTP(); }
public ServiceZ0112() { daoDZ0112 = new DZ0112(); }