Esempio n. 1
0
        private void AddMachine_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddMachineWindow(MainWindowVM)
            {
                Owner = this
            };

            window.Closed += (a, b) => { this?.Activate(); };
            window.Show();
        }
Esempio n. 2
0
        private void AddMachine_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddMachineWindow(MainWindowVM);

            window.Show();
        }