Ejemplo n.º 1
0
        private void ShowEditAddSupplierWindow()
        {
            var vm = new MasterInventoryEditAddSupplierVM(EditSuppliers);
            var editAddSupplierWindow = new MasterInventoryEditAddSupplierView(vm)
            {
                Owner = Application.Current.MainWindow,
                WindowStartupLocation = WindowStartupLocation.CenterOwner
            };

            editAddSupplierWindow.ShowDialog();
        }
Ejemplo n.º 2
0
 private void ShowEditAddSupplierWindow()
 {
     var vm = new MasterInventoryEditAddSupplierVM(EditSuppliers);
     var editAddSupplierWindow = new MasterInventoryEditAddSupplierView(vm)
     {
         Owner = Application.Current.MainWindow,
         WindowStartupLocation = WindowStartupLocation.CenterOwner
     };
     editAddSupplierWindow.ShowDialog();
 }