private void FireEvent(string message)
        {
            LoginEvent loginEv = new LoginEvent();

            loginEv.username = "******";
            if (LoginEvent != null)
            {
                LoginEvent(this, loginEv);
            }
            loginEv = null;
        }
 public void OnHandler1(object sender, LoginEvent e)
 {
     Console.WriteLine(e.username);
 }