コード例 #1
0
        private void rowTypeEquipment_DoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (gridTypeEquipment.SelectedIndex == -1)
            {
                return;
            }

            typeEquipmentWnd = new TypeEquipmentWnd(typeEquipments, ((TypeEquipmentView)gridTypeEquipment.SelectedItem).Id);
            typeEquipmentWnd.ShowDialog();
        }
コード例 #2
0
 private void btnInsertTypeEquipment_Click(object sender, RoutedEventArgs e)
 {
     typeEquipmentWnd = new TypeEquipmentWnd(typeEquipments);
     typeEquipmentWnd.ShowDialog();
 }