예제 #1
0
 public Generate(FileInteraction f, string[] t)
 {
     fi   = f;
     tags = t;
     InitializeComponent();
     seedbox.Select();
 }
예제 #2
0
 public Initialize(FileInteraction f)
 {
     fi   = f;
     path = Path.Combine(Environment.CurrentDirectory, "secret.txt");
     InitializeComponent();
     passwordbox.Select();
 }
예제 #3
0
파일: Add.cs 프로젝트: larry-x/CryptoKeys
 public Add(FileInteraction f, string[] t)
 {
     fi   = f;
     tags = t;
     InitializeComponent();
     newtag.Select();
 }
예제 #4
0
 public Delete(string t, FileInteraction f)
 {
     tag = t;
     fi  = f;
     InitializeComponent();
     showtag.Text = $"Are you sure you want to delete the tag and the key:\n{tag}?";
 }
예제 #5
0
파일: Edit.cs 프로젝트: larry-x/CryptoKeys
 public Edit(string t, string p, FileInteraction f)
 {
     tag  = t;
     pass = p;
     fi   = f;
     InitializeComponent();
     showtag.Text = $"Change key stored at:\n{tag}";
     showpass.Select();
 }
예제 #6
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            string          FP     = Path.Combine(Environment.CurrentDirectory, "secret.txt");
            Hasher          hasher = new Hasher();
            FileInteraction fi     = new FileInteraction(FP, hasher);

            Application.Run(new Open(fi));
        }
예제 #7
0
 public Open(FileInteraction f)
 {
     fi = f;
     InitializeComponent();
     passinput.Select();
 }
예제 #8
0
 public Terminal(FileInteraction f)
 {
     fi = f;
     InitializeComponent();
     Refresh_Screen();
 }