public PortSelectionForm(InstrumentDescription instrument)
{
InitializeComponent();
InitResourcePortList();
InitPhysicalPortList();
Resize += new EventHandler(ResourcePortSelectionForm_Resize);
this.instrument = instrument;
DataToControls();
btnOk.Click += new EventHandler(btnOk_Click);
}