コード例 #1
0
        //open wallpaper configuration
        private void BGWinButton_Click(object sender, RoutedEventArgs e)
        {
            DesktopBGui BGui = new DesktopBGui();

            BGui.ShowDialog();
            if (BGui.saved == true)
            {
                ButtonDisableTheme_Click(this, e);
                regEditHandler.SwitchThemeBasedOnTime();
            }
            ShowDeskBGStatus();
        }
コード例 #2
0
        //open desktop background window
        private void BGWinButton_Click(object sender, RoutedEventArgs e)
        {
            DesktopBGui BGui = new DesktopBGui
            {
                Owner = GetWindow(this)
            };

            BGui.ShowDialog();
            if (BGui.saved == true)
            {
                ApplyButton_Click(this, null);
            }
            ShowDeskBGStatus();
        }