private void netcom_ClientLoginStatus(object sender, LoginProgressEventArgs e) { if (e.Status != LoginStatus.Success) return; RefreshControls(); }