Beispiel #1
0
        private void ForgottenPasswordClick(object sender, RoutedEventArgs e)
        {
            var resetPasswordDialog = new ResetPasswordDialog();

            resetPasswordDialog.Owner = Window.GetWindow(this);
            resetPasswordDialog.ShowDialog();
        }
        protected override async Task PostAsync(IActivity item, string state, CancellationToken token)
        {
            var message = item as IMessageActivity;

            if (message != null)
            {
                var ResetPassword = new ResetPasswordDialog();

                var interruption = ResetPassword.Void <object, IMessageActivity>();

                this.task.Call(interruption, null);

                await this.task.PollAsync(token);
            }
        }