コード例 #1
0
        public AddStockTransfer()
        {
            InitializeComponent();
            _StockTransferViewModel = new StockTransferViewModel();
            this.DataContext        = _StockTransferViewModel;

            BUSINESS_LOCATION_ID.Text = "";
            BussRef      = BUSINESS_LOCATION_ID;
            BARCODE.Text = "";
            getbarcode   = BARCODE;

            ITEM_NAME.Text = "";
            ItemRef1       = ITEM_NAME;

            SEARCH_CODE.Text = "";
            ItemRef2         = SEARCH_CODE;

            FROM_GODOWN_ID.Text = "";
            FrmGodownRef        = FROM_GODOWN_ID;

            TO_GODOWN_ID.Text = "";
            ToGodownRef       = TO_GODOWN_ID;

            RECEIVED_BY_ID.Text = "";
            SuppRef             = RECEIVED_BY_ID;

            EMAIL.Text             = "";
            stockEmail             = EMAIL;
            button_Copy1.IsEnabled = false;
            buttoncopy             = button_Copy1;

            button_Copy2.IsEnabled = false;
            buttoncopy2            = button_Copy2;

            ObservableCollection <StockTransferModel> _ListGrid_Temp = new ObservableCollection <StockTransferModel>();
            ObservableCollection <POrderModel>        AddListGrid1   = new ObservableCollection <POrderModel>();

            //ListGrid = App.Current.Properties["DataGridTrn"] as ObservableCollection<ItemModel>;
            dataGrid1.ItemsSource = _ListGrid_Temp;
            ListGridRef           = dataGrid1;
        }
コード例 #2
0
 public ChngQntTransfer()
 {
     InitializeComponent();
     _StockTransferViewModel = new StockTransferViewModel();
     this.DataContext        = _StockTransferViewModel;
 }