{
              if (e.character == ' ' || e.character == '\r' || e.character == '\n')
              {
                apply();
                dropDown.dispose();
              }
              else if (e.character == '\033')
              {
                cancel();
                dropDown.dispose();
              }
            }