using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ClientTest { public partial class E_CTPTSettingForm : Form { public TextBox[] arrTextBox = new TextBox[2]; public string sMID; public E_CTPTSettingForm() { InitializeComponent(); arrTextBox[0] = tbPT; arrTextBox[1] = tbCT; } private void label2_Click(object sender, EventArgs e) { } private void E_CTPTSettingForm_Shown(object sender, EventArgs e) { tbMeterNo.Text = sMID; } } }