Ejemplo n.º 1
0
        private void BtnEditClient_Click(object sender, RoutedEventArgs e)
        {
            Client    client          = ((FrameworkElement)sender).DataContext as Client;
            AddClient addClientWindow = new AddClient(client);

            addClientWindow.Show();
        }
Ejemplo n.º 2
0
        public AddProductClient(AddClient parent)
        {
            InitializeComponent();

            ProductBS productBs = new ProductBS();

            productList            = productBs.getAllProduct();
            cboProduct.ItemsSource = productList;
            this.parent            = parent;
        }
Ejemplo n.º 3
0
        private void BtnNewClient_Click(object sender, RoutedEventArgs e)
        {
            AddClient addClientWindow = new AddClient(null);

            addClientWindow.Show();
        }