public UIControlAttribute(int minInclusive, int maxExclusive)
        {
            int[] aux = new int[maxExclusive - minInclusive];
            int j = 0;
            for (int i = minInclusive; i < maxExclusive; i++)
                aux[j++] = i;

            this._ControlChoices = new UIControlArrayChoices(aux);
        }
Exemple #2
0
        public UIControlAttribute(int minInclusive, int maxExclusive)
        {
            int[] aux = new int[maxExclusive - minInclusive];
            int   j   = 0;

            for (int i = minInclusive; i < maxExclusive; i++)
            {
                aux[j++] = i;
            }

            this._ControlChoices = new UIControlArrayChoices(aux);
        }
Exemple #3
0
 public UIControlAttribute(string defaultLabel, int[] array)
 {
     this._DefaultLabel   = defaultLabel;
     this._ControlChoices = new UIControlArrayChoices(array);
 }
Exemple #4
0
 public UIControlAttribute(int[] array)
 {
     this._ControlChoices = new UIControlArrayChoices(array);
 }
Exemple #5
0
 public UIControlAttribute(string defaultLabel, string defaultHint, Type choiceSource)
 {
     this._DefaultLabel   = defaultLabel;
     this._DefaultHint    = defaultHint;
     this._ControlChoices = GetControlChoices(choiceSource);
 }
 public UIControlAttribute(string defaultLabel, int[] array)
 {
     this._DefaultLabel = defaultLabel;
     this._ControlChoices = new UIControlArrayChoices(array);
 }
 public UIControlAttribute(int[] array)
 {
     this._ControlChoices = new UIControlArrayChoices(array);
 }
 public UIControlAttribute(string defaultLabel, string defaultHint, Type choiceSource)
 {
     this._DefaultLabel = defaultLabel;
     this._DefaultHint = defaultHint;
     this._ControlChoices = GetControlChoices(choiceSource);
 }