private void Init() { BindData(); TblCaseMode caseMode = new TblCaseMode(); DataTable caseModeTable = caseMode.SelectAll(); new XtraUtils.LookupEditBuilder.CaseModeLookupEditBuilder(caseModeTable, lkpEdtActionMode.Properties); }
public frmNewCVAction(int nEmployeeID, int nCaseID) { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // this.nCaseID = nCaseID; this.nEmployeeID = nEmployeeID; myCV = new ACMSLogic.Staff.CV(); myCVActionDataSet = myCV.LoadNewCVAction(); myCVCaseDataSet = myCV.LoadCV(nCaseID); BindData(); TblCaseMode mode = new TblCaseMode(); DataTable modeTable = mode.SelectAll(); new XtraUtils.LookupEditBuilder.CaseModeLookupEditBuilder(modeTable, lkpEdtMode.Properties); new XtraUtils.LookupEditBuilder.CVStatusLookupEditBuilder(lkpEdtStatus.Properties); }