Пример #1
0
        private void ExecuteHelpCommand(Object data)
        {
            GenericWindowDialogViewModel vm = new GenericWindowDialogViewModel(new HelpViewModel(), "Help");

            GenericWindowDialog windowDialog = new GenericWindowDialog(vm);

            if (windowDialog.ShowDialog() == true)
            {
            }
            else
            {
            }
        }
Пример #2
0
        private void ExecuteCreateUserCommand(Object data)
        {
            GenericWindowDialogViewModel vm = new GenericWindowDialogViewModel(new UserInfoViewModel(this.ApplicationState.UserManager)
            {
                ShowViewToCreateUser = true
            }, "Create User");

            GenericWindowDialog windowDialog = new GenericWindowDialog(vm);

            if (windowDialog.ShowDialog() == true)
            {
            }
            else
            {
            }
        }