Exemple #1
0
        public UIParameter GetUIParameter()
        {
            var result = new UIParameter();

            result.Units = this.units;

            return(result);
        }
Exemple #2
0
        public UIParameter GetParameter()
        {
            var result = new UIParameter();

            result.Units[(int)LotteryType.Loto6]    = (int)nUD_Loto6.Value;
            result.Units[(int)LotteryType.Loto7]    = (int)nUD_Loto7.Value;
            result.Units[(int)LotteryType.Miniloto] = (int)nUD_Miniloto.Value;
            result.Units[(int)LotteryType.Numbers3] = (int)nUD_Numbers3.Value;
            result.Units[(int)LotteryType.Numbers4] = (int)nUD_Numbers4.Value;

            return(result);
        }
Exemple #3
0
        public void SetParameter(UIParameter param)
        {
            this.SuspendLayout();
            isCalledFromInside = true;

            nUD_Loto6.Value    = param.Units[(int)LotteryType.Loto6];
            nUD_Loto7.Value    = param.Units[(int)LotteryType.Loto7];
            nUD_Miniloto.Value = param.Units[(int)LotteryType.Miniloto];
            nUD_Numbers3.Value = param.Units[(int)LotteryType.Numbers3];
            nUD_Numbers4.Value = param.Units[(int)LotteryType.Numbers4];

            isCalledFromInside = false;
            this.ResumeLayout();
        }
Exemple #4
0
 public void SetUIParameter(UIParameter param)
 {
     this.units = param.Units;
 }