public ClientPasswordAsyncResult(ClientForm clientForm, IClientChannel clientChannel, AsyncCallback callback, object state) : base(callback, state) { this.clientForm = clientForm; this.clientChannel = clientChannel; this.passwordForm = new ClientPasswordDialog(); this.clientForm.BeginInvoke(new ShowPasswordDialogDelegate(delegate { this.passwordForm.ShowDialog(); this.Complete(false); })); }