public override void Init(String type) { docType = (AuxilaryDocumentType)int.Parse(type); createCriteriaEntries(); createGridColumns(); loadRelatedReferences(); }
public WinAddEditPurchaseOrder(String md, ObservableCollection <MBaseModel> pItems, MAuxilaryDoc actView, AuxilaryDocumentType dt) { actualView = actView; parentItemsSource = pItems; Mode = md; docType = dt; vw = new MAuxilaryDoc(new CTable("")); DataContext = vw; InitializeComponent(); }
public void SetDocumentType(AuxilaryDocumentType dt) { docType = dt; }