private int postionSizeA = 1; // Default setting for PosItionSize
private int postionSizeB = 0; // Default setting for PostionSize
private int postionSizeC = 0; // Default setting for PostionSize
[Description("X")]
[GridCategory("X")]
public int PostionSizeA
{
get { return postionSizeA; }
set { postionSizeA = Math.Max(0, value); }
}
[Description("X")]
[GridCategory("X")]
public int PostionSizeB
{
get { return postionSizeB; }
set { postionSizeB = Math.Max(0, value); }
}
[Description("X")]
[GridCategory("X")]
public int PostionSizeC
{
get { return postionSizeC; }
set { postionSizeC = Math.Max(0, value); }
}
Comment