Example #1
0
        public void Execute(object parameter)
        {
            MessageBox.Show("Hello, world!");
            NamesWindow namesWindow = new NamesWindow();

            namesWindow.Show();
        }
Example #2
0
        public MainWindow()
        {
            InitializeComponent();
            this.DataContext = this;
            var window = new NamesWindow();

            window.Show();
        }