public SalesOrderListView(SalesOrderListViewModel model) { InitializeComponent(); DataContext = model; // _ViewModel = new SalesOrderListViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(7, 50).AsEnumerable(); }
public SalesOrderView(SalesOrderViewModel model) { InitializeComponent(); this.pandsViewModel = model; // this.pandsViewModel = SalesOrderViewModel.GetInstance(); this.DataContext = model; if (pandsViewModel.SODetailsEntity != null) { this.grdPandS.ItemsSource = this.pandsViewModel.SODetailsEntity; } if (pandsViewModel.MustCompare == true) { PART_TextBox.IsReadOnly = false; PART_TextBox1.IsReadOnly = false; OrderDatepicker.IsEnabled = true; DeliveryDatepicker.IsEnabled = true; } else { btnNew.IsEnabled = true; PART_TextBox.IsReadOnly = true; PART_TextBox1.IsReadOnly = true; OrderDatepicker.IsEnabled = false; DeliveryDatepicker.IsEnabled = false; } setDiscountColumn(pandsViewModel.IsHideDiscColumn); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public AuditTrailView(AuditTrailListViewModel model) { InitializeComponent(); DataContext = model; _ViewModel = new AuditTrailListViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
//private readonly CloseService abc; public PayMoneyListView(PayMoneyListViewModel model) { InitializeComponent(); DataContext = model; // _ViewModel = new PurchaseQuotationListViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public BalanceSheetView(BalanceSheetViewModel model) { InitializeComponent(); this.DataContext = model; _viewModel = model; BalanceSheetGridLines.ItemsSource = DataGridTableCollection.GridLines(3, 50).AsEnumerable(); }
public SupplierHistoryView(SupplierHistoryViewModel model) { InitializeComponent(); DataContext = model; _ViewModel = new SupplierHistoryViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(6, 50).AsEnumerable(); }
public ProfitAndLossStatementView(ProfitAndLossStatementViewModel model) { this.DataContext = model; _ViewModel = model; InitializeComponent(); ProfitLossStatementGridLines.ItemsSource = DataGridTableCollection.GridLines(2, 50).AsEnumerable(); }
public ToDoUnpaidDetailView(TodoUnpaidDetailViewModel model) { InitializeComponent(); this.DataContext = model; CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(9, 50).AsEnumerable(); CustomGridLines1.ItemsSource = DataGridTableCollection.GridLines(9, 50).AsEnumerable(); }
public UnpaidSalesInvoiceView(UnpaidSalesInvoiceViewModel model) { InitializeComponent(); this.DataContext = model; _ViewModel = model; CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(9, 50).AsEnumerable(); }
public PurchaseInvoicePandSView(PurchaseInvoicePandSViewModel model) { InitializeComponent(); this.pandsViewModel = model; // this.pandsViewModel = PurchaseQuotationViewModel.GetInstance(); this.DataContext = this.pandsViewModel; if (pandsViewModel.PQDetailsEntity != null) { this.grdPandS.ItemsSource = this.pandsViewModel.PQDetailsEntity; } if (pandsViewModel.MustCompare == true) { PART_TextBox.IsReadOnly = false; PART_TextBox1.IsReadOnly = false; PayDueDatepicker.IsEnabled = true; InvoiceDatepicker.IsEnabled = true; } else { btnNew.IsEnabled = false; PART_TextBox.IsReadOnly = true; PART_TextBox1.IsReadOnly = true; PayDueDatepicker.IsEnabled = false; InvoiceDatepicker.IsEnabled = false; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public RefundToCustomersListView(RefundToCustomersListViewModel model) { InitializeComponent(); DataContext = model; _ViewModel = new RefundToCustomersListViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(7, 50).AsEnumerable(); }
public AdjustCreditNoteFormView(AdjustCreditNoteViewModel model) { InitializeComponent(); this._ViewModel = model; // this.pandsViewModel = PurchaseQuotationViewModel.GetInstance(); this.DataContext = this._ViewModel; if (_ViewModel.PQDetailsEntity != null) { //this.dg1.ItemsSource = this._ViewModel.PQDetailsEntity; } if (_ViewModel.MustCompare == true) { AdjustCreditDatePicker.IsEnabled = false; PART_TextBox.IsReadOnly = true; AmountAdjusted.IsReadOnly = true; } else { AdjustCreditDatePicker.IsEnabled = true; PART_TextBox.IsReadOnly = false; AmountAdjusted.IsReadOnly = false; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(6, 50).AsEnumerable(); }
public CustomerCreditPaidDaysView(CustomerCreditPaidDaysViewModel model) { InitializeComponent(); DataContext = model; _ViewModel = new CustomerCreditPaidDaysViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public UsersSecurityView() { InitializeComponent(); usersec = new UsersSecurityViewModel(); this.DataContext = usersec; CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(4, 50).AsEnumerable(); CustomGridLinesRole.ItemsSource = DataGridTableCollection.GridLines(4, 50).AsEnumerable(); }
public PandSSoldToCustomersView(PandSSoldToCustomersViewModel model) { InitializeComponent(); DataContext = model; // _ViewModel = new PurchaseQuotationListViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); //setInvoiceColumn(model.IsSummary); }
public InvoiceDebitPaymentsView(InvoiceDebitPaymentsViewModel model) { InitializeComponent(); this.DataContext = model; _ViewModel = model; CustomGridLines1.ItemsSource = DataGridTableCollection.GridLines(5, 50).AsEnumerable(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(2, 50).AsEnumerable(); }
public AccountsTransactionsView(AccountsTransactionsViewModel model) { this.DataContext = model; _ViemModel = model; InitializeComponent(); CustomGridLines1.ItemsSource = DataGridTableCollection.GridLines(5, 40).AsEnumerable(); CustomGridLines2.ItemsSource = DataGridTableCollection.GridLines(2, 40).AsEnumerable(); }
public CashBankStatement(CashBankStatementViewModel model) { InitializeComponent(); this.DataContext = model; _ViewModel = model; CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(7, 50).AsEnumerable(); CustomGridLines1.ItemsSource = DataGridTableCollection.GridLines(2, 50).AsEnumerable(); }
public CategoryView() { InitializeComponent(); this.DataContext = new CategoryViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(1, 50).AsEnumerable(); CustomGridLinesCatContent.ItemsSource = DataGridTableCollection.GridLines(4, 50).AsEnumerable(); // CustomGridLinesTermsAndConditions.ItemsSource = DataGridTableCollection.GridLines(4, 50).AsEnumerable(); }
public SuppliersUnPaidInvoicesView(SuppliersUnpaidInvoicesViewModel model) { InitializeComponent(); this.DataContext = model; _ViewModel = model; CustomGridLines1.ItemsSource = DataGridTableCollection.GridLines(2, 50).AsEnumerable(); CustomGridLines2.ItemsSource = DataGridTableCollection.GridLines(5, 50).AsEnumerable(); CustomGridLines3.ItemsSource = DataGridTableCollection.GridLines(6, 50).AsEnumerable(); }
public PandSStockCardView(StockCardListViewModel model) { InitializeComponent(); DataContext = model; _ViewModel = new StockCardListViewModel(); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); CustomGridLines2.ItemsSource = DataGridTableCollection.GridLines(2, 50).AsEnumerable(); }
public RefundToCustomerView(RefundToCustomersViewModel model) { InitializeComponent(); this._ViewModel = model; // this.pandsViewModel = PurchaseQuotationViewModel.GetInstance(); this.DataContext = this._ViewModel; if (_ViewModel.PQDetailsEntity != null) { this.dg1.ItemsSource = this._ViewModel.PQDetailsEntity; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(7, 50).AsEnumerable(); }
public RefundFromSupplierView(RefundFromSupplierViewModel model) { InitializeComponent(); this._ViewModel = model; this.DataContext = this._ViewModel; if (_ViewModel.PQDetailsEntity != null) { this.dg1.ItemsSource = this._ViewModel.PQDetailsEntity; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(6, 50).AsEnumerable(); }
public CreditNoteView(CreditNoteViewModel model) { InitializeComponent(); this.debitViewModel = model; this.DataContext = this.debitViewModel; if (debitViewModel.PQDetailsEntity != null) { this.grdPandS.ItemsSource = this.debitViewModel.PQDetailsEntity; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public DebitNoteView(DebitNoteViewModel model) { InitializeComponent(); this.debitViewModel = model; // this.pandsViewModel = PurchaseQuotationViewModel.GetInstance(); this.DataContext = this.debitViewModel; if (debitViewModel.PQDetailsEntity != null) { this.grdPandS.ItemsSource = this.debitViewModel.PQDetailsEntity; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public SalesOrderView(SalesOrderViewModel model) { InitializeComponent(); this.pandsViewModel = model; // this.pandsViewModel = SalesOrderViewModel.GetInstance(); this.DataContext = model; if (pandsViewModel.SODetailsEntity != null) { this.grdPandS.ItemsSource = this.pandsViewModel.SODetailsEntity; } setDiscountColumn(pandsViewModel.IsHideDiscColumn); CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public AdjustCreditNoteFormView(AdjustCreditNoteViewModel model) { InitializeComponent(); this._ViewModel = model; // this.pandsViewModel = PurchaseQuotationViewModel.GetInstance(); this.DataContext = this._ViewModel; if (_ViewModel.PQDetailsEntity != null) { //this.dg1.ItemsSource = this._ViewModel.PQDetailsEntity; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(6, 50).AsEnumerable(); }
public CreditNoteView(CreditNoteViewModel model) { InitializeComponent(); this.debitViewModel = model; this.DataContext = this.debitViewModel; if (debitViewModel.PQDetailsEntity != null) { this.grdPandS.ItemsSource = this.debitViewModel.PQDetailsEntity; } if (debitViewModel.MustCompare == true) { PART_TextBox.IsReadOnly = false; CustomerDebitNoteDatepicker.IsEnabled = true; } else { PART_TextBox.IsReadOnly = true; CustomerDebitNoteDatepicker.IsEnabled = false; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public DebitNoteView(DebitNoteViewModel model) { InitializeComponent(); this.debitViewModel = model; // this.pandsViewModel = PurchaseQuotationViewModel.GetInstance(); this.DataContext = this.debitViewModel; if (debitViewModel.PQDetailsEntity != null) { this.grdPandS.ItemsSource = this.debitViewModel.PQDetailsEntity; } if (debitViewModel.MustCompare == true) { SupplierCNDatepicker.IsEnabled = true; PART_TextBox.IsReadOnly = false; } else { SupplierCNDatepicker.IsEnabled = false; PART_TextBox.IsReadOnly = true; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(8, 50).AsEnumerable(); }
public RefundFromSupplierView(RefundFromSupplierViewModel model) { InitializeComponent(); this._ViewModel = model; this.DataContext = this._ViewModel; if (_ViewModel.PQDetailsEntity != null) { this.dg1.ItemsSource = this._ViewModel.PQDetailsEntity; } if (_ViewModel.MustCompare == true) { RefundDatepicker.IsEnabled = true; PART_TextBox.IsReadOnly = false; } else { btnNew.IsEnabled = false; RefundDatepicker.IsEnabled = false; PART_TextBox.IsReadOnly = true; } CustomGridLines.ItemsSource = DataGridTableCollection.GridLines(6, 50).AsEnumerable(); }