private void Form1_Load(object sender, EventArgs e)
        {
            WinAPI.AnimateWindow(this.Handle, 2000, WinAPI.CENTER);
            CheckInjected();
            WebClient wc = new WebClient();

            wc.Proxy = null;
            try
            {
                RegistryKey registryKey  = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION", true);
                string      friendlyName = AppDomain.CurrentDomain.FriendlyName;
                bool        flag2        = registryKey.GetValue(friendlyName) == null;
                if (flag2)
                {
                    registryKey.SetValue(friendlyName, 11001, RegistryValueKind.DWord);
                }
                registryKey  = null;
                friendlyName = null;
            }
            catch (Exception)
            {
            }
            webBrowser1.Url = new Uri(string.Format("file:///{0}/Monaco/Monaco.html", Directory.GetCurrentDirectory()));
            webBrowser1.Document.InvokeScript("SetTheme", new string[]
            {
                "Dark"

                /*
                 * There are 2 Themes Dark and Light
                 */
            });
            addBase();
            addMath();
            addGlobalNS();
            addGlobalV();
            addGlobalF();
            webBrowser1.Document.InvokeScript("SetText", new object[]
            {
                "Welcome " + Environment.UserName + " to Eternity made by ebay employee#1482"
            });;
            listBox1.Items.Clear();//Clear Items in the LuaScriptList
            ETFunctions.PopulateListBox(listBox1, "./Scripts", "*.txt");
            ETFunctions.PopulateListBox(listBox1, "./Scripts", "*.lua");
        }
 private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
 {
     listBox1.Items.Clear();//Clear Items in the LuaScriptList
     ETFunctions.PopulateListBox(listBox1, "./Scripts", "*.txt");
     ETFunctions.PopulateListBox(listBox1, "./Scripts", "*.lua");
 }