private void rfid_Tag(object sender, RFIDTagEventArgs e) { RFID rf = (RFID)sender; rf.Channel = 2; rf.Open(); // SendEmail(); label2.Text = "Amount sent: " + amountSent; dig.BeginSetState(true, TurnOn, null); this.BackColor = Color.Green; Process.Start("chrome", "http://www.google.dk"); dig.BeginSetState(false, TurnOff, null); // this.BackColor = Color.Gray; }