예제 #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            var model  = new AttachToWacProcessDialogModel(new TestMenuCommands());
            var window = new AttachToWacProcessDialog(model);

            window.ShowDialog();
        }
예제 #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            var model  = new AttachToWacProcessDialogModel(new TestMenuCommands(), new string[] { "Default", "Remote Computer" });
            var window = new AttachToWacProcessDialog(model);

            window.ShowDialog();
        }