private void btnDecrypt_Click(object sender, EventArgs e) { if (FilleToTrack.Path != null) { FilleToTrack.ClearTextFile(FilleToTrack.Path); StreamWriter writer = new StreamWriter(FilleToTrack.Path); foreach (var VARIABLE in FilleToTrack.FileText) { string currLine = Encryption__.Decrypt(VARIABLE); writer.WriteLine(currLine); } writer.Close(); FilleToTrack.GetTextFileText(FilleToTrack.Path); MessageBox.Show("Success!"); } else { MessageBox.Show("Please import a file first jack ass."); } }
private void btnExport_Click(object sender, EventArgs e) { FilleToTrack.CopyFile(txtFileName.Text); }
private void btnImport_Click(object sender, EventArgs e) { FilleToTrack.GetFilePath(); FilleToTrack.GetTextFileText(FilleToTrack.Path); }