文件名称:Q1
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 48kb
- 下载次数:
- 0次
- 提 供 者:
- drin*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Create a class called DateInformation that includes three pieces of information as instance variables – a month, a day and a year. Your class should provide properties that enable a client of the class to Get and Set the month, day and year values. The Set accessors for the month and day should provide simple validation to ensure that the month value in the range 1-12 and the day value is in the range 1 – 31. You do not need to validate the year value. If the value is not in the range, the value should be set to 1. Your class should have a constructor that initializes the three instance variables and uses the class properties to set each instance variable’s value. Provide a method DisplayDate to display the month, day and year separated by “/”.-Create a class called DateInformation that includes three pieces of information as instance variables – a month, a day and a year. Your class should provide properties that enable a client of the class to Get and Set the month, day and year values. The Set accessors for the month and day should provide simple validation to ensure that the month value in the range 1-12 and the day value is in the range 1 – 31. You do not need to validate the year value. If the value is not in the range, the value should be set to 1. Your class should have a constructor that initializes the three instance variables and uses the class properties to set each instance variable’s value. Provide a method DisplayDate to display the month, day and year separated by “/”.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Q1\Q1\bin\Debug\Q1.exe
..\..\...\.....\Q1.pdb
..\..\...\.....\Q1.vshost.exe
..\..\...\.....\Q1.vshost.exe.manifest
..\..\...\.....\Q1.xml
..\..\DataInformation.vb
..\..\Module1.vb
..\..\.y Project\Application.Designer.vb
..\..\..........\Application.myapp
..\..\..........\AssemblyInfo.vb
..\..\..........\Resources.Designer.vb
..\..\..........\Resources.resx
..\..\..........\Settings.Designer.vb
..\..\..........\Settings.settings
..\..\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
..\..\...\...\.....\GenerateResource.read.1.tlog
..\..\...\...\.....\GenerateResource.write.1.tlog
..\..\...\...\.....\Q1.exe
..\..\...\...\.....\Q1.pdb
..\..\...\...\.....\Q1.Resources.resources
..\..\...\...\.....\Q1.vbproj.FileListAbsolute.txt
..\..\...\...\.....\Q1.xml
..\..\Q1.vbproj
..\Q1.sln
..\Q1.suo
..\..\obj\x86\Debug\TempPE
..\..\...\...\Debug
..\..\bin\Debug
..\..\obj\x86
..\..\bin
..\..\My Project
..\..\obj
..\Q1
Q1
..\..\...\.....\Q1.pdb
..\..\...\.....\Q1.vshost.exe
..\..\...\.....\Q1.vshost.exe.manifest
..\..\...\.....\Q1.xml
..\..\DataInformation.vb
..\..\Module1.vb
..\..\.y Project\Application.Designer.vb
..\..\..........\Application.myapp
..\..\..........\AssemblyInfo.vb
..\..\..........\Resources.Designer.vb
..\..\..........\Resources.resx
..\..\..........\Settings.Designer.vb
..\..\..........\Settings.settings
..\..\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
..\..\...\...\.....\GenerateResource.read.1.tlog
..\..\...\...\.....\GenerateResource.write.1.tlog
..\..\...\...\.....\Q1.exe
..\..\...\...\.....\Q1.pdb
..\..\...\...\.....\Q1.Resources.resources
..\..\...\...\.....\Q1.vbproj.FileListAbsolute.txt
..\..\...\...\.....\Q1.xml
..\..\Q1.vbproj
..\Q1.sln
..\Q1.suo
..\..\obj\x86\Debug\TempPE
..\..\...\...\Debug
..\..\bin\Debug
..\..\obj\x86
..\..\bin
..\..\My Project
..\..\obj
..\Q1
Q1