예제 #1
0
        public override void Init(String type)
        {
            docType = (AuxilaryDocumentType)int.Parse(type);

            createCriteriaEntries();
            createGridColumns();
            loadRelatedReferences();
        }
예제 #2
0
        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();
        }
예제 #3
0
 public void SetDocumentType(AuxilaryDocumentType dt)
 {
     docType = dt;
 }