/// <summary> /// 新建设备按钮单击处理方法 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button_NewDevice_Click(object sender, EventArgs e) { NewDevice newDevice = new NewDevice(); newDevice.ShowDialog(); }
private void Add_Click(object sender, EventArgs e) { NewDevice newdevice = new NewDevice(); newdevice.Show(); }