private void btnMapping_Click(object sender, EventArgs e)
{
if (lvPorts.SelectedItems.Count > 0)
{
var port = (Port) lvPorts.SelectedItems[0].Tag;
if (_instrument != null)
{
var form = new ResourcePortSelectionForm(port, _instrument);
if (DialogResult.OK == form.ShowDialog())
{
//Update Capability Mapping?
}
}
else if (_testStationDescription != null)
{
}
else if (_testAdapterDescription != null)
{
}
}
}