first commit

This commit is contained in:
Meik
2025-11-11 11:12:05 +01:00
commit 69e2cda8cd
912 changed files with 428004 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using C4IT.Security;
namespace C4IT.Security
{
public partial class frmPassword : Form
{
public frmPassword()
{
InitializeComponent();
}
private void chkShow_CheckStateChanged(object sender, EventArgs e)
{
if (chkShow.Checked)
txtPassword.UseSystemPasswordChar = false;
else
txtPassword.UseSystemPasswordChar = true;
}
private void butCancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void butCopy_Click(object sender, EventArgs e)
{
string PW = cSecurePassword.Instance.Encode(txtPassword.Text);
Clipboard.SetText(PW);
}
private void butClean_Click(object sender, EventArgs e)
{
Clipboard.Clear();
}
private void frmPassword_FormClosed(object sender, FormClosedEventArgs e)
{
Clipboard.Clear();
}
}
}