Ejemplo n.º 1
0
        private void deCompAc_btn_Click(object sender, EventArgs e)
        {
            string inputFile = filePathDecomAC_txtBox.Text;
            string outFile   = "G:\\Decompress Arithmetic.txt";

            ArithmetcCode.Decompress(inputFile, outFile);
            nameDecomHuff_txtbox.Text = "Decompress Arithmetic.txt";
            pathDecomHuff_txtBox.Text = "G:\\Decompress Arithmetic.txt";
            MessageBox.Show("The File Is Decompressed Successfully");
        }
Ejemplo n.º 2
0
        private void compAc_btn_Click(object sender, EventArgs e)
        {
            string inputFile = filePathComAC_txtBox.Text;
            string outFile   = "G:\\Compress Arithmetic.txt";

            ArithmetcCode.Compress(inputFile, outFile);
            nameCompAc_txtBox.Text = "Compress Arithmetic.txt";
            pathCompAc_txtBox.Text = "G:\\Compress Arithmetic.txt";
            MessageBox.Show("THe File Is Compressed Successfully");
        }