I am having trouble giving my form focus.
This is what I've tried so far which successfully brings it to the top when called but it doesn't give the form focus.
What do I need to do to give it focus as well?
private void serialPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
this.TopMost = true;
cbCostCodeIn.Text = serialPort1.ReadExisting().Replace("+", "").Trim();