Пример #1
0
        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.");
            }
        }
Пример #2
0
 private void btnExport_Click(object sender, EventArgs e)
 {
     FilleToTrack.CopyFile(txtFileName.Text);
 }
Пример #3
0
 private void btnImport_Click(object sender, EventArgs e)
 {
     FilleToTrack.GetFilePath();
     FilleToTrack.GetTextFileText(FilleToTrack.Path);
 }