private void RemoveNetcomEvents() { netcom.InstantMessageReceived -= netcom_InstantMessageReceived; netcom.InstantMessageSent -= netcom_InstantMessageSent; }