// removeLevelSettings public void removeLevelSettings() { mainSplit.Panel1.Controls.Remove(_levelSettings); _levelSettings.Dispose(); _levelSettings = null; }