예제 #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();
        }
예제 #2
0
        private void AddMachine_Click(object sender, RoutedEventArgs e)
        {
            var window = new AddMachineWindow(MainWindowVM);

            window.Show();
        }