private void HandleCommandEvents()
{
Event current = Event.current;
EventType type = current.type;
switch (type)
{
case EventType.ExecuteCommand:
case EventType.ValidateCommand:
{
bool flag = type == EventType.ExecuteCommand;
if (Event.current.commandName == "Find")
{
if (flag)
{
this.m_FocusSearchField = true;
}
current.Use();
}
break;
}
}
}