private void ShowEditWindow()
        {
            var vm         = new MasterInventoryEditVM(_selectedLine);
            var editWindow = new MasterInventoryEditView(vm)
            {
                Owner = Application.Current.MainWindow,
                WindowStartupLocation = WindowStartupLocation.CenterOwner
            };

            editWindow.ShowDialog();
        }
 private void ShowEditWindow()
 {
     var vm = new MasterInventoryEditVM(_selectedLine);
     var editWindow = new MasterInventoryEditView(vm)
     {
         Owner = Application.Current.MainWindow,
         WindowStartupLocation = WindowStartupLocation.CenterOwner
     };
     editWindow.ShowDialog();
 }