private void smartCardState_Connected(object sender, SmartCardEventArgs e) { Connected.InvokeIfAssigned(sender, e); }