private void btnReset_Click(object sender, EventArgs e) { this.cmbPort.DataSource = MyPort.getPorts(15); }
public hostPortForm() { InitializeComponent(); this.cmbPort.DataSource = MyPort.getPorts(15); }