private void SXRMain_Load(object sender, EventArgs e) { monaco1.Initialize(); //============================================================================================================================= // SXRMAIN THEMES CODE IS NOT AVAILABLE... //============================================================================================================================= listBox1.Items.Clear(); SXRFunctions.PopulateListBox(listBox1, "./Scripts", "*.txt"); SXRFunctions.PopulateListBox(listBox1, "./Scripts", "*.lua"); }
private void RefreshToolStripMenuItem_Click(object sender, EventArgs e) { listBox1.Items.Clear(); SXRFunctions.PopulateListBox(listBox1, "./Scripts", "*.txt"); SXRFunctions.PopulateListBox(listBox1, "./Scripts", "*.lua"); }