private void Form1_Load(object sender, EventArgs e) { initForm(); initListView(); //起动扫描 dds = new DeviceDiscoverServer(); dds.ordl += new onRefreshDeviceList(reFreshListBox); }
public wifiCamera() { InitializeComponent(); this.textBox3.Enabled = false; this.button2.Text = "修改"; this.FormClosing += new FormClosingEventHandler(Form1_FormClosing); cList = new List<communication>(); dds = new DeviceDiscoverServer(); dds.ordl += new onRefreshDeviceList(reFreshListBox); }