public Generate(FileInteraction f, string[] t) { fi = f; tags = t; InitializeComponent(); seedbox.Select(); }
public Initialize(FileInteraction f) { fi = f; path = Path.Combine(Environment.CurrentDirectory, "secret.txt"); InitializeComponent(); passwordbox.Select(); }
public Add(FileInteraction f, string[] t) { fi = f; tags = t; InitializeComponent(); newtag.Select(); }
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}?"; }
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(); }
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)); }
public Open(FileInteraction f) { fi = f; InitializeComponent(); passinput.Select(); }
public Terminal(FileInteraction f) { fi = f; InitializeComponent(); Refresh_Screen(); }