示例#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);
        }
示例#2
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::wenku8.System.ThemeManager Mgr = new global::wenku8.System.ThemeManager();
            Mgr.Remove( CurrentSet.Name );
            Mgr.Save( CurrentSet );
        }
示例#3
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);
        }
示例#4
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 );
        }