コード例 #1
0
        private async void ColorList_ItemClick(object sender, ItemClickEventArgs e)
        {
            ColorItem C = e.ClickedItem as ColorItem;

            Dialogs.ColorPicker Picker = new Dialogs.ColorPicker(C);
            await Popups.ShowDialog(Picker);

            if (Picker.Canceled)
            {
                return;
            }

            C.ChangeColor(Picker.UserChoice);

            CurrentSet.SetColor(C);

            global::GR.GSystem.ThemeManager Mgr = new global::GR.GSystem.ThemeManager();
            Mgr.Remove(CurrentSet.Name);
            Mgr.Save(CurrentSet);
        }
コード例 #2
0
ファイル: ThemeColors.xaml.cs プロジェクト: MewX/wenku10
 private void SetTemplates()
 {
     Manager = new global::GR.GSystem.ThemeManager();
     ThemePresets();
     InitAppBar();
 }