private void button_read_ushort_Click(object sender, EventArgs e) { // 读取ushort变量 if (textBox6.Text == "1") { readResultRender(lSisServer.ReadUInt16(textBox3.Text), textBox3.Text, textBox4); } else { readResultRender(lSisServer.ReadUInt16(textBox3.Text, ushort.Parse(textBox6.Text)), textBox3.Text, textBox4); } }
private void button_read_ushort_Click(object sender, EventArgs e) { // 读取ushort变量 readResultRender(lSisServer.ReadUInt16(textBox3.Text), textBox3.Text, textBox4); }