예제 #1
0
        public EditorFormProduct(Product product)
        {
            InitializeComponent();

            this.DataContext = product;
            btn.Content = "Змінити запис";
            btn.Click += new RoutedEventHandler(this.ButtonEdit_Click);
            tbBarcode.Visibility = Visibility.Collapsed;
            tblBarcode.Visibility = Visibility.Collapsed;
        }
예제 #2
0
 public ProductInPlaceTrading(PlaceTrading placeTrading, Product product)
 {
     PlaceTrading = placeTrading;
       Product = product;
       ProductInPlacesTrading.Add(this);
 }