/// <summary> /// Event fired when the Randomize Maplist button is pushed /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void RandomMapListBtn_Click(object sender, EventArgs e) { RandomizeForm F = new RandomizeForm(); F.ShowDialog(); // Update maplist ModSelectList_SelectedIndexChanged(this, new EventArgs()); }
/// <summary> /// Event fired when the Randomize Maplist button is pushed /// </summary> private void RandomMapListBtn_Click(object sender, EventArgs e) { using (RandomizeForm F = new RandomizeForm()) { F.ShowDialog(); } // Update maplist ModSelectList_SelectedIndexChanged(this, EventArgs.Empty); }