I added this in my code:
namespace uartToCs_version_2._0
{
public partial class formMain : Form
{
==> public static SerialPort serial = new SerialPort();
But I didn't use the design tab, so how should I go about event handling (with the current setup I can use it in other forms too, will that still be possible)? My design file