Example #1
0
        private void metroTile2_Click(object sender, EventArgs e)
        {
            this.Hide();

            AddOrder addorder = new AddOrder();

            addorder.Show();
        }
Example #2
0
        private void AddOrders_OnClick(object sender, RoutedEventArgs e)
        {
            _applicationManager.getCustomers();
            _applicationManager.getEmployees();
            _applicationManager.getProducts();
            _applicationManager.GetOrderDetails();

            var addOrderForm = new AddOrder();

            addOrderForm.Show();
        }
Example #3
0
        private void BtnAction_Click(object sender, RoutedEventArgs e)
        {
            Button button  = (Button)sender;
            string orderId = button.Uid;

            Order order = ToObject <Order>(new OrderService().GetOrderById(orderId));

            Window addorders = new AddOrder(order);

            addorders.Title = "编辑商品";
            addorders.Show();
            addorders.Closed += Addorders_Closed;
        }
Example #4
0
        void AddNewUserOrder(object paramter)
        {
            AddOrder newOrder = new AddOrder();

            newOrder.Show();
        }