public WritePage() { InitializeComponent(); webTGroup = new SelectCellGroup(true, true); finTGroup = new SelectCellGroup(true, true); webTGroup.SetTo(webtrans); finTGroup.SetTo(fintrans); webTGroup.Select += OnSelectTrans; finTGroup.Select += OnSelectTrans; }
public SettingPage() { InitializeComponent(); BackgroundColor = Color.FromHex("FFFCF8"); netChoiceGroup = new SelectCellGroup(false, false); var dat = NetService.GetChoices(); netChoiceGroup.Set(dat.Item2); netChoiceGroup.SetTo(netSect); netChoiceGroup.Select += (sender, e) => { if (e.isSelect) { NetService.Choose(e.idx); } }; isAdapt.On = QuizService.isAdapt; isAdapt.OnChanged += (o, args) => QuizService.isAdapt = args.Value; isExWCnt.OnChanged += (o, args) => DictService.isOutWrongCnt = args.Value; }