protected void onAuthenticationRequested(AuthenticationRequestArgs args)
 {
     EventHandler<AuthenticationRequestArgs> handler = AuthenticationRequested;
     if (handler != null)
     {
         handler(this, args);
     }
 }
        public void Submit()
        {
            AuthenticationRequestArgs args = new AuthenticationRequestArgs();
            
            args.UserName = this.textUserName.Text;
            args.Password = this.textPassword.Text;

            onAuthenticationRequested(args);
        }