-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPEnterCheck.cs
More file actions
34 lines (29 loc) · 772 Bytes
/
PEnterCheck.cs
File metadata and controls
34 lines (29 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;
using System.Windows.Forms;
namespace ECCryptoSystem
{
public partial class PassEnterAndCheck : Form
{
public Decryption f62;
public PassEnterAndCheck()
{
InitializeComponent();
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (passW.PasswordChar == '*')
passW.PasswordChar = '\0';
else
passW.PasswordChar = '*';
}
private void OK2_Click(object sender, EventArgs e)
{
f62.pass = passW.Text;
Close();
}
private void passW_TextChanged(object sender, EventArgs e)
{
OK2.Enabled = passW.Text.Length > 2;
}
}
}