Agilent Technologies VEE Pro Uživatelská příručka Strana 335

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 602
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 334
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
Zobrazit stránku 334
1 2 ... 330 331 332 333 334 335 336 337 338 339 340 ... 601 602

Komentáře k této Příručce

Žádné komentáře