public void StateChange(Object o, EventArgs ea) { SecurityAssociation sa = o as SecurityAssociation; state = sa.State; }