// //双击FixtureInfo // private void dgv_FixtureInfo_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { frm_Fixture f = new frm_Fixture(); Maticsoft.Model.FixtureInfo _fix = (Maticsoft.Model.FixtureInfo)dgv_FixtureInfo.SelectedItem; f.FixtrueInfo = FixList(_fix); f.Lading_FixtureViws(); f.Show(); }
// //双击治具列表中的治具 // private void dgv_FixtureList_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) { try { frm_Fixture f = new frm_Fixture(); f.FixtrueInfo = FixList((Maticsoft.Model.FixtureList)dgv_FixtureList.SelectedItem); f.Lading_FixtureViws(); f.Show(); } catch (System.Exception ex) { My_MessageBox.My_MessageBox_Message(ex.Message); } }
// //添加新 治具信息 // private void btn_Add_Asseet_Click(object sender, System.Windows.RoutedEventArgs e) { frm_Fixture f = new frm_Fixture(); f.Show(); }