Esempio n. 1
0
 public Order(Customer customer)
 {//we will add loop to add multiple controls...
     InitializeComponent();
     orderController = new PlaceOrderController(customer);
     orderController.ReadItems();
     orderController.LoadItemWindow(OrderPanel);
 }
 public OrderTemplete(PlaceOrderController place, int count)
 {
     InitializeComponent();
     this.orderController = place;
     this.countNum        = count;
     place.LoadDataItemWindow(pictureBox1, Price, countNum);
 }
Esempio n. 3
0
 public Order(bool HideCArt)
 {//view only contructor....
     InitializeComponent();
     Cart.Hide();
     panel1.Hide();
     orderController = new PlaceOrderController();
     orderController.ReadItems();
     orderController.LoadItemWindow(OrderPanel, true);
 }
        public OrderTemplete(PlaceOrderController place, int count, bool hide)
        {//view only code...
            InitializeComponent();

            this.orderController = place;
            this.countNum        = count;
            button1.Hide();
            place.LoadDataItemWindow(pictureBox1, Price, countNum);
        }
 public ViewItemDetails(PlaceOrderController orderController, int CountNum)
 {
     InitializeComponent();
     orderController.LoadDetails(ColorLb, DesignCodeLb, NumberOfPiecesLb, QuantityInStockLb, KameezaFabricLb, ShalwarFabricLb, DupattaFabricLb, EmbdKameezFrontLb, EmbdKameezBackLb, EmbdDupattaLb, EmbdShalwarLb, CountNum, label1);
 }
Esempio n. 6
0
 public Cart(PlaceOrderController orderController)
 {
     InitializeComponent();
     this.orderController = orderController;
 }