private void Main_Load(object sender, EventArgs e) { SKore.ClearCache(); string Source = Account[HPages.Client]; Text = string.Format("iKBenPeanut ~ {0}[{1}]", Source.GetChild("var habboName = \"", '\"', 0), Source.GetChild("var habboId = ", ';', 0)); Loader.DocumentText = Source; }
private void ReloadClientBtn_Click(object sender, EventArgs e) { LoaderReady = false; Loader.DocumentText = string.Empty; Account.BeginLogin(new AsyncCallback((iAr) => { if (Account.EndLogin(iAr)) { SKore.ClearCache(); string Source = Account[HPages.Client]; Invoke(new Action(() => { Loader.Document.MouseDown -= Document_MouseDown; Text = string.Format("iKBenPeanut ~ {0}[{1}]", Source.GetChild("var habboName = \"", '\"', 0), Source.GetChild("var habboId = ", ';', 0)); Loader.DocumentText = Source; })); } }), null); }
private void Main_FormClosed(object sender, FormClosedEventArgs e) { SKore.ClearCache(); }