private void UserControl_IsVisibleChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible)
     {
         DiscordRPCHelper.WhatAmIDoing("Radio Player");
     }
 }
示例#2
0
 private void UserControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible && IsLoaded)
     {
         DiscordRPCHelper.WhatAmIDoing("Ribbon/Backstage");
     }
 }
示例#3
0
 private void DataWindow_IsVisibleChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible && IsLoaded)
     {
         DiscordRPCHelper.WhatAmIDoing("Update Dialog");
     }
 }
示例#4
0
 private void UserControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible)
     {
         DiscordRPCHelper.WhatAmIDoing("User Page");
     }
 }
示例#5
0
 private void UserControl_IsVisibleChanged_1(object sender, DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible && this.IsLoaded)
     {
         DiscordRPCHelper.WhatAmIDoing("Main View");
     }
 }
 private void DataWindow_IsVisibleChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible)
     {
         DiscordRPCHelper.WhatAmIDoing("Plugin Manager");
     }
 }
示例#7
0
 private void DataWindow_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     if (this.IsVisible)
     {
         DiscordRPCHelper.WhatAmIDoing("Asset Browser");
     }
 }
示例#8
0
        private void Sh_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            var a = (ShellWindow)sender;

            if (a.IsVisible && a.IsLoaded)
            {
                DiscordRPCHelper.WhatAmIDoing("Project Editor");
            }
        }
示例#9
0
        private void UserControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            if (this.IsVisible)
            {
                DiscordRPCHelper.WhatAmIDoing("Home");

                if (IsVisible && IsLoaded)
                {
                    PageViewGrid.Children.Clear();
                    PageViewGrid.Children.Add(WelcomePV);
                }
            }
        }