Ejemplo n.º 1
0
        /// <summary>
        /// Shows the hub.
        /// </summary>
        /// <remarks>...</remarks>
        internal static void ShowHub()
        {
            var window = new StoreHub();

            Api.CallHubOpening();
            window.ShowDialog();
            Api.CallHubClosing();
        }
Ejemplo n.º 2
0
        /// <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();
        }