예제 #1
0
        static void Main(string[] args)
        {
            Console.OutputEncoding = System.Text.Encoding.UTF8;
            Cuneiform c = new Cuneiform();

            Console.WriteLine(Cuneiform.getCuneiformNumber(1));
            Console.ReadKey();
        }
예제 #2
0
        private void encryptFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Replace with File Dialogs
            var from = "C:\\Users\\th1nk\\Dropbox\\YAL\\LastAction.txt";
            var to   = "C:\\Users\\th1nk\\Dropbox\\YAL\\LastAction.cuneiform.txt";

            Cuneiform.fileToCuneiform(from, to);

            var result = File.ReadAllText("C:\\Users\\th1nk\\Dropbox\\YAL\\LastAction.cuneiform.txt");

            label1.Text = result;
        }
예제 #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     label1.Text = Cuneiform.getCuneiformNumber(Convert.ToInt64(textBox1.Text));
 }