コード例 #1
0
ファイル: Form1.cs プロジェクト: jamesbtate/echosync
 private void getTimeButton_Click(object sender, EventArgs e)
 {
     TestLibInterfaceClient client = new TestLibInterfaceClient();
     long s = client.GetTime();
     Logger.Log("" + s);
     textBox1.Text += "Time: " + s + "\r\n";
     textBox1.SelectionStart = textBox1.Text.Length;
     textBox1.ScrollToCaret();
 }
コード例 #2
0
        private void getTimeButton_Click(object sender, EventArgs e)
        {
            TestLibInterfaceClient client = new TestLibInterfaceClient();
            long s = client.GetTime();

            Logger.Log("" + s);
            textBox1.Text          += "Time: " + s + "\r\n";
            textBox1.SelectionStart = textBox1.Text.Length;
            textBox1.ScrollToCaret();
        }