示例#1
0
        public ResetPasswordViewModel(ResetPasswordWindow owner, Instance instance, string projectId)
        {
            _owner     = owner;
            _instance  = instance;
            _projectId = projectId;

            OkCommand     = new WeakCommand(OnOkCommand);
            CancelCommand = new WeakCommand(OnCancelCommand);
        }
示例#2
0
        public static void PromptUser(Instance instance, string projectId)
        {
            var dialog = new ResetPasswordWindow(instance, projectId);

            dialog.ShowModal();
        }