Beispiel #1
0
        private void ShowEditWindow()
        {
            var vm         = new MasterCustomersEditVM(_selectedLine);
            var editWindow = new MasterCustomersEditView(vm)
            {
                Owner = Application.Current.MainWindow,
                WindowStartupLocation = WindowStartupLocation.CenterOwner
            };

            editWindow.ShowDialog();
        }
Beispiel #2
0
 private void ShowEditWindow()
 {
     var vm = new MasterCustomersEditVM(_selectedLine);
     var editWindow = new MasterCustomersEditView(vm)
     {
         Owner = Application.Current.MainWindow,
         WindowStartupLocation = WindowStartupLocation.CenterOwner
     };
     editWindow.ShowDialog();
 }