User`s guide

Using .NET with VEE 7
VEE User’s Guide 307
Figure 175 Step 10 of Lab 7-2
13 Repeat step 4 and 5, highlight the DateTime type and the
property Year. Choose the Create Get Formula button.
14 Wire the result pin of DateTime.Now formula box to the
dateTime input pin of the dateTime.Year formula box.
15 Add an Alphanumeric and wire its input pin to the
output pin of the dateTime.Year formula box.
16 Repeat step 4 and 5, highlight the DateTime type and the
static method IsLeapYear. Choose the Create Call button.
Since this is a static method, you do not need to create or
get an instance of the Datetime object.
17 Wire the Result pin of dateTime.Year formula box to the
year input pin of DateTime.IsLeapYear formula box.
18 Add an Alphanumeric and wire its input pin to the
output pin of the DateTime.IsLeapYear formula box.
The completed Lab is shown in Figure 176