static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; Cuneiform c = new Cuneiform(); Console.WriteLine(Cuneiform.getCuneiformNumber(1)); Console.ReadKey(); }
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; }
private void button1_Click(object sender, EventArgs e) { label1.Text = Cuneiform.getCuneiformNumber(Convert.ToInt64(textBox1.Text)); }