We could encapsulate the control variables / define and use the Get Set methods.
#region Methods
public SalNumber GetExecutionTmplSq()
{
#region Actions
return this.dfnExecutionTmplSq.Number;
#endregion
}
public void SetTcActivity(SalNumber nTcActivity)
{
#region Actions
if (nTcActivity == 1)
{
dfnCExecutionTime.Enabled = true;
}
else
{
dfnCExecutionTime.Enabled = false;
}
#endregion
}
#endregion
Comments