|
|
@ -150,7 +150,11 @@ namespace PEIS.View.Setting |
|
|
|
{ |
|
|
|
{ |
|
|
|
int hazardTypeIndex = gVHazardType.FocusedRowHandle; |
|
|
|
int hazardTypeIndex = gVHazardType.FocusedRowHandle; |
|
|
|
var hazardTypeRow = gVHazardType.GetRow(hazardTypeIndex) as DictHazardType; |
|
|
|
var hazardTypeRow = gVHazardType.GetRow(hazardTypeIndex) as DictHazardType; |
|
|
|
GetHTypeFItem?.Invoke(this, new Args<HTypeFItemInfo>() { Eid = hazardTypeRow.ID }); |
|
|
|
if (hazardTypeRow!=null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
GetHTypeFItem?.Invoke(this, new Args<HTypeFItemInfo>() { Eid = hazardTypeRow.ID }); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
private void TsmiDelete_Click(object sender, EventArgs e) |
|
|
|
private void TsmiDelete_Click(object sender, EventArgs e) |
|
|
|
{ |
|
|
|
{ |
|
|
|