private void Connict_RequestPassword(object sender, RequestPWdEventArgs e) { if (e.Handeled == true || this.IsDisposed || !this.Created) { return; } Services.Device.Connect.RequestPassword -= Connict_RequestPassword; e.Handeled = true; this.BeginInvoke(new UIHelper.UIInvoke(ShowPWDForm)); }
void Connict_RequestPassword(object sender, RequestPWdEventArgs e) { e.Handeled = true; RequestPasswordBind(false); this.BeginInvoke(new UIHelper.UIInvoke(ShowPWDForm)); }