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); }
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 ); }
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); }
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 ); }