/// <summary> /// 添加设备按钮点击事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void AddClick(object sender, RoutedEventArgs e) { AddEquipment add = new AddEquipment(); add.ShowDialog(); }
private void btnAddEquipment_Click(object sender, EventArgs e) { addEquipment.ShowDialog(); }