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