/// <summary> /// Shows the hub. /// </summary> /// <remarks>...</remarks> internal static void ShowHub() { var window = new StoreHub(); Api.CallHubOpening(); window.ShowDialog(); Api.CallHubClosing(); }
/// <summary> /// Handles the Click event of the StoreButton control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param> /// <remarks>...</remarks> private void StoreButton_Click(object sender, RoutedEventArgs e) { CloseToolbar(); StoreHub.ShowHub(); }