private void settingsGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (uiState != UiState.Settings) { uiState = UiState.Settings; NavBar.MoveActivIndicator(this, settingsGrid); NavBar.alwaysMaxed = true; } }
private void accountGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (uiState != UiState.Account) { uiState = UiState.Account; NavBar.MoveActivIndicator(this, accountGrid); NavBar.alwaysMaxed = false; } }
private void updateFeedGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (uiState != UiState.Notifyer) { uiState = UiState.Notifyer; NavBar.MoveActivIndicator(this, updateFeedGrid); NavBar.alwaysMaxed = false; } }
private void favGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (uiState != UiState.Favorites) { uiState = UiState.Favorites; NavBar.MoveActivIndicator(this, favGrid); NavBar.alwaysMaxed = false; } }
private void notificationsGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { if (uiState != UiState.Notifications) { uiState = UiState.Notifications; NavBar.MoveActivIndicator(this, notificationsGrid); NavBar.alwaysMaxed = true; Notifications.Notifications.AddNotifications(); } }