public void Navigate(View view) { switch (view) { case View.CategoryTopicsList: case View.CategoriesList: CategoriesPanel.Navigate(view); break; } }
public void Navigate(View view) { switch (view) { case View.CategoryThreadsList: case View.CategoriesList: CategoriesPanel.Navigate(view); break; case View.PrivateChat: case View.PrivateChatsList: MessagesList.Navigate(view); break; } }