Example #1
0
        public AllSellsWindow()
        {
            InitializeComponent();
            LoadSells();

            _pusherCreateSell = new PusherController("create_sell", CreateSellDelegate);
            _pusherUpdateSell = new PusherController("update_sell", UpdateSellDelegate);
        }
        public AllOrdersWindow()
        {
            InitializeComponent();
            LoadOrders();

            _pusherCreateOrder = new PusherController("create_order", CreateOrderDelegate);
            _pusherUpdateOrder = new PusherController("update_order", UpdateOrderDelegate);
        }
Example #3
0
        public NotificationsWindow()
        {
            InitializeComponent();
            LoadReceiveStock();

            _pusherCreateReceiveStock = new PusherController("create_receiveStock", CreateReceiveStockDelegate);
            _pusherUpdateReceiveStock = new PusherController("update_receiveStock", UpdateReceiveStockDelegate);
        }
Example #4
0
 public WarehouseWindow()
 {
     InitializeComponent();
     LoadRequests();
     LoadBooks();
     _pusherBook          = new PusherController("update_book", UpdateBookDelegate);
     _pusherCreateRequest = new PusherController("create_request", CreateRequestDelegate);
     _pusherUpdateRequest = new PusherController("update_request", UpdateRequestDelegate);
 }
Example #5
0
        public StoreWindow()
        {
            InitializeComponent();
            LoadBooks();
            LoadClients();

            _pusherClient = new PusherController("create_client", CreateClientDelegate);
            _pusherBook   = new PusherController("update_book", UpdateBookDelegate);
        }
Example #6
0
        public ClientWindow(int clientId)
        {
            InitializeComponent();
            _clientId = clientId;
            FillFields();

            _pusherCreateSell = new PusherController("create_sell", CreateSellDelegate);
            _pusherUpdateSell = new PusherController("update_sell", UpdateSellDelegate);

            _pusherCreateOrder = new PusherController("create_order", CreateOrderDelegate);
            _pusherUpdateOrder = new PusherController("update_order", UpdateOrderDelegate);
        }