private void LoginClick() { if (Password != null && UserName != null) { Client.Instance.SendPacket(PacketCreator.Login(UserName, Password)); } }