public void ListenerDropMenu(SfbDropMenuType type, string input) { switch (type) { case SfbDropMenuType.Extensions: if (input == "all types") { input = ""; } if (input.StartsWith(".")) { input = input.Remove(0, 1); } SetSelectedExtension(input); break; } }