18 lines
571 B
C#
18 lines
571 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace RCM {
|
|
public partial class SimpleHostControl : UserControl {
|
|
public SimpleHostControl(string host, string username, string password) {
|
|
InitializeComponent();
|
|
textBoxHostAddress.Text = host;
|
|
textBoxUsername.Text = username;
|
|
textBoxPassword.Text = password;
|
|
}
|
|
|
|
private void ButtonUnmaskPassword_Click(object sender, EventArgs e) {
|
|
textBoxPassword.UseSystemPasswordChar = !textBoxPassword.UseSystemPasswordChar;
|
|
}
|
|
}
|
|
}
|