Пример #1
0
        /// <summary>
        /// Shows the given credentials to the user.
        /// </summary>
        public static void PromptUser(string userName, string password, string instanceName)
        {
            var dialog = new ShowPasswordWindow(
                userName: userName,
                password: password,
                instanceName: instanceName);

            dialog.ShowModal();
        }
Пример #2
0
        /// <summary>
        /// Shows the given credentials to the user.
        /// </summary>
        public static void PromptUser(Options options)
        {
            var dialog = new ShowPasswordWindow(options);

            dialog.ShowModal();
        }
 /// <summary>
 /// Shows the given credentials to the user.
 /// </summary>
 public static void PromptUser(Options options)
 {
     var dialog = new ShowPasswordWindow(options);
     dialog.ShowModal();
 }