// //双击列表中的项目 // private void dgv_EquipmentList_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (dgv_EquipmentList.SelectedItem != null) { frm_EquipmentInfo f = new frm_EquipmentInfo(); f.Equipment = (Maticsoft.Model.EquipmentInfo)dgv_EquipmentList.SelectedItem; f.Show(); f.showEquipmentInfo(); } }
bool IsFuzzySearch = true; //是否开启模糊查询 // //particulars 设备详细信息 // private void btn_Particulars_Click(object sender, RoutedEventArgs e) { frm_EquipmentInfo f = new frm_EquipmentInfo(); f.Show(); }