Exemplo n.º 1
0
    /// <summary>
    /// Handles the Click event of the REFRESH control.
    /// </summary>
    /// <param name="sender">The source of the event.</param>
    /// <param name="e">The <see cref="RoutedEventArgs" /> instance containing the event data.</param>
    private void REFRESH_Click(object sender, RoutedEventArgs e)
    {
        iconRotation.Begin();
        switch (Vars.WhatSocialNetwork)
        {
        case 0:
        {
            AllSocial0.Refresh();
            break;
        }

        case 1:
        {
            AllSocial1.Refresh();
            break;
        }

        case 2:
        {
            AllSocial2.Refresh();
            break;
        }

        case 3:
        {
            AllSocial3.Refresh();
            break;
        }

        case 4:
        {
            AllSocial4.Refresh();
            break;
        }
        }
    }