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

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