Пример #1
0
 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;
     }
 }
Пример #2
0
 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;
     }
 }