Another parameter question

Created at 01 Feb 2016, 13:06
MaVe's avatar

MaVe

Joined 24.08.2015

Another parameter question
01 Feb 2016, 13:06


How do you variate the parameter below, when:

On Monday: 1 Box

On Tuesday: 2 Boxes (Monday + Tuesday)

On Wednesday: 3 Boxes (Monday + Tuesday + Wednesday)

 

[Parameter("Boxes", DefaultValue = 3, MaxValue = 3, MinValue = 1)]
        public int Boxes { get; set; }

 


@MaVe
Replies

whis.gg
01 Feb 2016, 13:08

RE:
if (Boxes >= 1)
   DrawDay1();

if (Boxes >= 2)
   DrawDay2();

if (Boxes == 3)
   DrawDay3();

 


@whis.gg