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