Ejemplo n.º 1
0
 private void BtnAdd_OnClick(object sender, RoutedEventArgs e)
 {
     var window = new WarehouseWindow(null);
     window.Owner = this;
     window.ShowDialog();
     SetWarehouses();
 }
Ejemplo n.º 2
0
        private void BtnAdd_OnClick(object sender, RoutedEventArgs e)
        {
            var window = new WarehouseWindow(null);

            window.Owner = this;
            window.ShowDialog();
            SetWarehouses();
        }
Ejemplo n.º 3
0
        private void LvWarehouses_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var currentWarehouse = lvWarehouses.SelectedItem as Warehouse;
            if (currentWarehouse == null)
            {
                return;
            }

            var window = new WarehouseWindow(currentWarehouse);
            window.Owner = this;
            window.ShowDialog();

            SetWarehouses();
        }
Ejemplo n.º 4
0
        private void LvWarehouses_OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var currentWarehouse = lvWarehouses.SelectedItem as Warehouse;

            if (currentWarehouse == null)
            {
                return;
            }

            var window = new WarehouseWindow(currentWarehouse);

            window.Owner = this;
            window.ShowDialog();

            SetWarehouses();
        }