Ejemplo n.º 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;
     }
 }
Ejemplo n.º 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;
     }
 }