Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
 private void OnSelectTrans(object sender, SelectCellGroup.SelectEventArgs e)
 {
     if (e.msg == Selected)
         judgeAdd();
 }