private void ADDToolStripMenuItem_Click(object sender, EventArgs e) { if (equipment.isclear) { equipment = new AddEquipment(comboBox_city.Text, comboBox_street.Text, comboBox_site.Text); equipment.MySaveEvent += new AddEquipment.MyDelegate(RefreshData); equipment.Show(); } else { equipment.Show(); } }
/// <summary> /// 添加通道 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AddgroupToolStripMenuItem_Click(object sender, EventArgs e) { addEquipment.Show(); }