Example #1
0
 /// <summary>
 /// Add and show the login user control.
 /// </summary>
 private void AddLoginWuc()
 {
     loginW = new wuc.wuc_login(srv, login, domains);
       loginW.loginSuccessful += new Delegates.EhBool(loginHandler);
       Controls.Add(loginW);
 }
Example #2
0
 /// <summary>
 /// Hide and dispose of the login user control.
 /// </summary>
 private void RemoveLoginWuc()
 {
     Controls.Remove(loginW);
       loginW.Dispose();
       loginW = null;
 }