visual studio 2010使用说明
- 格式:doc
- 大小:4.10 MB
- 文档页数:12
Virtual Testing, Real Quality.Microsoft® Visual Studio® Lab Management 2010 is an integrated development and testing platform that provides end-to-end support for virtual lab management. Reduce costs associated with setup, tear down and restoration of complex virtual environments to a known state for build automation, test execution and build deployment. Eliminate waste across the entire application lifecycle by allowing development and QA to work together to effectively optimize the build process and minimize regression testing efforts. Easily file rich bugs with links to environment snapshots that developers can use to recreate the tester’s environments. Lab Management 2010 increases the predictability of build-deploy-test workflows to reduce overall risk and accelerate your time to market.MicrosoftVisual Studio L ab Management 2010Creativity UnleashedSimplify virtual lab configuration and management with Microsoft T est Manager 20101, a light-weight and streamlined application that was developed with the self-service user in mind. Now you can administer your labs through intuitive wizards and utilize existing virtual machines to build a Golden Virtual Machine Library for future uses.Simplicity Through IntegrationBuilt on the powerful Windows Server Hyper-V™ platform, Lab Management 2010 offers seamless integration with test and build processes through T eam Foundation Server 20102. This integrated toolset serves a key role in facilitating build automation, application deployment to test environments, and test automationQuality Code EnsuredT ake quality to the next level by benefiting from virtualized test labs. T est applications early and often against production-like environments and release software in a shorter time frame. Lab Management 2010 delivers a predictable build-deploy-test workflow and enables development teams to find quality defects faster.Deploy to a Known ConfigurationLab Management 2010 provides development and test teams with unlimited and instantly-provisioned virtual environments for testing. Within each virtual machine environment, you can explicitly target a particular lab configuration – for example, an application running on a web server that accesses a database server, as shown. Now you can deploy to a knownconfiguration predictably and consistently.T op ten benefits● Increase Operations Efficiency Across the Entire Application LifecycleA powerful virtual lab management technology, LabManagement 2010 streamlines connections and overcomes key barriers across the three pillars of IT: development, QA, and operations. It is deeply integrated with the rest of the Visual Studio development and testing platform to allow for a more efficient build-deploy-test workflow and a more effective application lifecycle management strategy.● Improved Regression TestingDon’t let fixes destroy your previously verified code base. Lab Management 2010 automates and streamlines tedious regression and smoke tests through its ability to automatically restore exact configurations to a known state and re-runpredefined tests. This significantly reduces the effort and time associated with setting up and running regression tests.● Role-Based Virtual Lab AdministrationUse Lab Management permissions to create role-based self-service groups of team members, who can create, deploy and manage virtual environments without requiring system administrator privileges. These permissions are integrated with Visual Studio T eam Foundation Server permissions to let you meet the specific requirements of your organization.● Deploy to A Known ConfigurationProject build-scripts can explicitly target a particular lab configuration, allowing multiple environments to be fullyprovisioned and readied for testing at build time. These images reside in the Golden Virtual Machine Library and ensure teams start from a clean set of virtual machines. Additionally, the build process can include the initial run of core build verification test suites that include unit tests, load tests and automated UI tests. ● Collect Rich Diagnostic DataT est Agents within each virtual environment let you collect rich diagnostic data. Configure the Diagnostic Data Adapter (DDA) to collect IntelliTrace™3 logs which contain specific diagnostic trace information to help isolate bugs that are difficult to reproduce. Unlock the power of IntelliTrace to enrich the context behind each bug you file.● See What Testers SeeNow developers can reproduce a bug in the exact same environment that the tester used to discover it. T esters can take a full server-side environmental snapshot during any testing activity and attach it to the bugs they file. From the bug form inside the Visual Studio IDE, developers connect to the environment directly. This lets developers see exactly what the tester saw and more easily identify the root cause of the problem. ● Build OptimizationStreamline your build process to continuously integrate, build, and verify changes. With Lab Management 2010, development and QA teams work closely together to schedule builds and plan for the tests required to verify a build. This optimized build process gives QA the visibility and stability it needs with each build.● Self-Servicing Lab ManagementRegardless of your role, self-service virtual labs are at yourfingertips. Virtual environments can be easily accessed through Microsoft T est Manager 2010, including viewing, stopping and restarting of environments from the Environment Viewer. You can also mark them as “in-use” to ensure visibility. ● Cloning with Network IsolationNetwork isolation enables multiple copies of a lab environment to run at the same time without causing network conflicts, such as conflicts due to computer names and Domain Name System (DNS) registration. Now you can enable multiple complex test configurations for testing without any re-configuration of your multi-tier application.● Reduce Hardware Costs With Windows Server Hyper-V™ The Hyper-V platform provides a reliable and optimized virtualization solution that lets you improve serverutilization and reduce costs. It provides a small footprint with minimal overhead and easily plugs into your existing IT environments. Lab configurations from Lab Management 2010 are stored as Hyper-V virtual images, allowing them to be used as both physical and virtual images.1. T o use Microsoft Visual Studio Lab Management 2010 you need T eam Foundation Server 2010 (licensed separately).2. Microsoft T est Manager 2010 is available with Visual Studio Ultimate 2010 or Visual Studio T est Professional 2010, both licensed separately3. IntelliTrace, available with Microsoft Visual Studio 2010 Ultimate, allows you to look back at a past state of your application with debugging information. Events of interest can be recorded through the IDE or Microsoft Visual Studio T est Manager 2010, available with Test Professional 2010 or Visual Studio 2010 Ultimate.The Environment ViewerView, stop, restart an environment with a single click as well as manage snapshots easily.Ultimate Premium Professional 2010 Development Platform Support Windows, Web and Cloud Development ● ● ● Office and SharePoint Development ● ● ● Architecture and ModelingArchitecture Explorer, Layer Diagram and Dependency Validation ● Read-only diagrams (UML, Layer, DGML Graphs) ● ● Database DevelopmentDeployment, Change Management, Test Data Generation, Unit Testing ● ● Debugging, Diagnostics and TestingIntelliTrace™ (Historical Debugging), Web Performance Testing, Load Testing 1 ●Static Code Analysis, Code Metrics, Profiling, Code Coverage, Test Impact Analysis, Coded UI Test ● ●Unit Testing● ● ● Test and Lab ManagementMicrosoft® Test Manager 2010, Test Case Management, Manual Test Execution, Fast Forward for Manual Testing, Rich Actionable Bug Filing●●Virtual environment setup & tear down, Provision environment from template, Checkpointenvironment through Test Manager 2010 (Visual Studio Lab Management 2010 required)2● ●Team Foundation ServerVersion Control, Work Item Tracking, Build Automation, Team Portal, Reporting & Business Intelligence, Agile Planning Workbook, Team Explorer ● ● ● ●MSDN Subscription benefitsPriority support in MSDN Forums, MSDN Magazine, Flash newsletter, Online Concierge ● ● ● ●Technical support incidents4 4 2 2Microsoft® e-learning collections (typically 10 courses or 20 hours) 2 2 1 1Windows® Azure™ Platform●† ●† ●† MSDN Subscription - Software for Production UseMicrosoft® Visual Studio® Team Foundation Server 2010 plus one CAL ● ● ●●Microsoft® Office Professional Plus 2010, Project Professional 2010, Visio® Premium 2010, Expression Studio 3● ● MSDN Subscription - Software for Development and Test Use 3 Windows (client and server operating systems), Microsoft® SQL Server®, Toolkits, Software Development Kits, Driver Development Kits● ● ●●Microsoft® Office, Dynamics®, All other Servers, Windows Embedded ●●Visual Studio 2010 Feature Comparisonwith MSDN with MSDN with MSDNVisual Studio T est Professional with MSDNVisual Studio 2010。
Visual Studio 2005/2008/2010的下载、安装与使用一、VS 2005/2008/2010下载:ftp://172.16.3.230/编程开发/微软开发技术/......(帐号:softdown,密码:softdown)或其它地方下载,若是iso文件,可解压或先安装虚拟光驱软件;(注:虚拟光驱软件可在ftp://172.16.3.230/系统相关/虚拟光驱/中下载)二、VS 2005/2008/2010安装:在向导的指引下,一步一步执行,还可安装MSDN,以便得到即时帮助;三、VS 2005/2008/2010使用1、启动:在“开始”/“程序”菜单中选择打开VS 2005/2008/2010如果是第一次运行VS 2005/2008/2010,将看到类似下图,要设置配置文件。
通常按默认就可。
2、创建一个VC控制台项目。
(1)新建项目,选择“文件”→“新建”→。
(2)在“新建项目”对话框中选择“Visual C++项目”→“Win 32”→“Win 32控制台应用程序”命令。
注:名称是指项目名称,位置是指项目存放位置建议:本课程的实验代码可存放于c_code目录中,实验内容存放于该目录下对应的子目录lab_x(x为实验序号)中,每题的项目名称为lab_x_y(y为题号),如:第1次实验第2小题的项目名称为lab_1_2,存放在c_code/lab_1目录下,实验代码应妥善保存。
全部设置完成后单击“确定”按钮。
(3)单击“确定”按钮后,会有一个Win 32应用程序向导。
点击“下一步”。
应用程序类型选择“控制台应用程序”,附加选项为“空项目”。
然后单击“完成”即可。
(4)编辑、运行C程序(注:C++涵盖了C内容,C程序可以直接在C++环境运行,下同)①选中“解决方案资源管理器”的源文件,右键单击,在弹出的菜单中选择“添加”→“新建项”命令。
②在类别选项卡中选择“代码”,然后选择右边的“C文件(.c)”模板,并填上名称(源文件名,可以与项目名称相同或不同),此处的扩展名可以为c(与省略扩展名等效)。
VisualC++2010的使⽤Tools->Settings>Rest... 还原所有设置运⾏程序:"D:\Program Files\VCExpress\Install\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe"⼀、Visual C++2010(微软vc2010)如何编写并运⾏C++程序?1、刚开始打开vc2010编译器的时候是⼀个start page 页⾯。
根据页⾯的New Project. . .提⽰选项新建⼀个项⽬。
2、选择Win32 Console Application(win32控制台程序),键⼊项⽬名。
3、新建⼀个win32的空⼯程Empty project。
4、新建后的界⾯如下图所⽰。
5、选中项⽬名,添加⼀个新项⽬。
右键Add -> New Item。
在⽂件类型中选择C++ file。
6、在菜单栏的空⽩处点击右键添加快捷按钮,点击Build,菜单栏显⽰Build按钮。
7、编写程序如下图所⽰,编写完后按build 和 Start Debugging按钮。
对应位置如图所⽰。
程序运⾏。
今天初次使⽤VS2010版本,在coding完⼀个⼯程后,报错:LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt编译也没有任何错误,链接⼀直报错,也找不出什么原因,上⽹找了找,是⼯具的原因。
Microsoft Visual Studio 2010 英⽂版Project->xx PropertiesManifest->Input and Output->Embed Manifest将yes修改为no再重新编译OK了microsoft visual c++ 2010 express will run for 22 more daysvisual c++ 2010 express注册码6VPJ7-H3CXH-HBTPT-X4T74-3YVY7那么我们怎么来写⼀个C语⾔程序呢?和创建c++程序⼀样我就写了如下C程序,按F5后运⾏⼀下就没了,怎么解决呢?有两种⽅法:(⼀)Ctrl+F5可以解决:最后运⾏到的结果⽅法⼆:加system(“pause”);但是头⽂件要改变为c++标准头⽂件#include<iostream>using namespace std;加好了再按F5就可以了。
换了win7系统后,突然发现VC++6.0不兼容了,我听说有的同学的行,但是我在我自己的电脑上装了不下7、8遍,就差装虚拟机了。
索性自己去网上下载了一个Microsoft Visual Studio 2010,想在这个软件上编程。
但是环境变化太大了根本不知道怎么用vs2010运行C语言,在网上搜了一下午看的头晕也没看懂到底说的什么东西,有的说编写C语言的时候加些代码,反正各种说法都有,我试了没有成功的。
自己研究了一个多星期终于弄懂了,下面把用VS2010运行C语言的详细步骤写下来,希望对现在正在学编程的同学有帮助。
本方法应该同样适用VS2005和VS2008.如果电脑配置不太好的话,个人推荐用后两个编程软件,因为VS2010太大,电脑不给力的话会稍微有点卡。
VS2008可去编程论坛下载,里面有破解方法,只需注册一个号就行。
开始:
1:VS2010启动界面还是跟以前有很大不同的
2:打开文件->新建->项目,新建一个项目
3:选择win32控制台(注意不要选错,我在这栽了不少跟头),在下面随便输入一个文件的名字就行,根本不用像网上说的要改什么文件的后缀,然后点击下一步,出现对话框,在空项目前面打勾,单击完成。
4:出现一个空白的页面,在左侧的一栏空白处单击右键,选择添加——>新建项,打开
5:看到的页面是不是很熟悉?VC++6.0的页面,下面你该会了吧?选择C++文件(.cpp),然后下面别忘了写名称哈
6:看到下面这个页面的话你就成功了
在这编写的C语言可以成功运行。
上一个程序的运行结果
手气很好吧哈哈(赌博有害健康,咱自己编个小程序玩过把瘾,这是从网上弄的)。
visual studio 2010导入项目并编译
要在 Visual Studio 2010 中导入并编译项目,请按照以下步骤进行操作:
1. 打开 Visual Studio 2010。
2. 在“文件”菜单中,选择“打开”->“项目/解决方案”。
3. 在“文件类型”下拉列表中,选择“所有文件”或“Visual Studio 解决
方案文件”。
4. 在文件浏览器中找到您要导入的项目或解决方案文件,并单击“打开”。
5. 如果您导入的是一个项目文件,Visual Studio 将自动将其加载到“解决
方案资源管理器”中。
如果您导入的是一个解决方案文件,则您需要单击“打开解决方案”按钮以加载该解决方案。
6. 在“解决方案资源管理器”中,右键单击项目名称或解决方案名称,然后选择“属性”。
7. 在“属性页”中,您可以设置项目的编译选项,例如输出目录、引用路径等。
根据需要配置这些选项。
8. 在“解决方案资源管理器”中,右键单击项目名称或解决方案名称,然后选择“构建”或“重新构建”。
9. Visual Studio 将开始编译您的项目,并在“输出”窗口中显示编译结果。
请注意,如果您在导入项目时遇到任何问题,例如缺少引用或编译器错误,请确保您已正确配置所有必要的设置和依赖项。
这是我在网上搜到的,加以自己的理解和对一些不明白的地方做了一些更新说明。
1、在vs2010 选择“新建项目”→“其他项目类型”→“Visual Studio Installer”→“安装项目”:命名为:Setup1 ,选择好位置后点确定。
这时在VS2010中将有三个文件夹,如图:a.“应用程序文件夹”:表示要安装的应用程序需要添加的文件;b.“用户的‘程序’菜单”:表示应用程序安装完,用户的“开始菜单”中的显示的内容,一般在这个文件夹中,需要再创建一个文件用来存放:应用程序.exe和卸载程序.exe;c.“用户桌面”表示:这个应用程序安装完,用户的桌面上的创建的.exe快捷方式。
2、应用程序文件夹中点右键,添加文件:表示添加要打包的文件;添加的文件一般是已经编译过应用程序的debug目录下的文件(主要为.exe文件,其他文件可选);如果有所需要的动态库也加载进来:如果还要添加子文件夹则需要“添加文件夹”然后把对应的子文件里的内容添加到此文件夹中;把需要创建程序快捷方式的图标也添加进来(在res文件夹下),后缀名为:ico3、在创建的项目名称(Setup1)上点击右键 属性,选择系统必备:如果在项目名称(Setup1)的“检测到的依赖项”里检测到所添加的程序文件有.NET依赖,如图:则选择所需的.NET的版本和Windows Installer3.1(可选项),如果没有则不用选。
选择:“从与我应用程序相同的位置下载系统必备组件”,这样安装包就会打包.NET FrameWork ,在安装时不会从网上下载.NET FrameWork组件;但是安装包会比较大。
在创建安装程序时,需要设置启动条件(如果有.NET依赖):在项目名称(setup1)上,点击右键选择“视图” “启动条件”:然后VS2010会弹出启动条件视图:在“启动条件”的属性中, 点击Version选择所需的.NET版本。
4、设置安装文件的目录(路径):创建的项目名称(setup1)的属性中设置参数如下图:其中Author 为作者;Manufacturer为公司名称;ProductName为应用程序的名字;例如我的设置为:Author:nnrh;Manufacturer:M&W;ProductName:测卡程序。
用Visual Studio 2010 开发64位应用程序一、安装Visual Studio 2010时,保证安装了X64编译器和工具。
二、安装完成后,执行“Visual Studio 2010\Visual Studio Tools\Visual Studio 2010 X64 兼容工具命令提示”,注意最好以管理员身份运行。
稍等片刻,在命令提示符下键入以下命令:devenv /useenv程序开始创建X64解决方案平台。
此命令只运行一次,以后可以直接在图形界面下启动Visual Studio 2010。
三、在“启始页”点击“新建项目”,弹出“新建项目”对话框,选择“Visual C++ MFC 应用程序”,在“名称”处输入项目名称,点击“确定”。
在弹出的“MFC 应用程序向导”对话框中,直接单击“下一步”,选择应用程序类型为“基于对话框”。
单击“下一步”,在“用户界面功能”中输入对话框标题,单击“下一步”。
连续两次单击“下一步”,在“生成的类”对话框中,可以查看生成的类和类名,最后单击“完成”。
四、程序回到主界面,单击菜单“生成 配置管理器”,弹出下面的对话框:在“活动解决方案平台”下选择“新建”,在弹出的“新建解决方案平台”对话框中“键入或选择新平台”处,选择为“X64”,单击“确定”,关闭“配置管理器”。
五、在主界面中单击菜单“生成 生成×××(U)”,如果设置没有什么错误的话,exe文件很快就生成了。
将应用程序复制到64位操作系统的计算机上,重新启动计算机,按F8键,启动到Win7RE环境,运行下刚才生成的应用程序,弹出对话框,提示缺少“Mfc100ud.dll”解决过后又弹出一个对话框,提示缺少“Msvcr100d.dll”。
这两个文件在“%SystemRoot%\System32”目录下,将这两个文件复制到应用程序目录下,再运行刚才生成的应用程序,看看结果怎么样?后记1.在新建项目的时候,不一定非要选择“MFC应用程序”,虽然我没有一一测试过,理念上选择其他应用程序也是可以的;2.由于编译平台的不同以及设置的不同,依赖的dll文件也可能不同,如果设置得好的话,可以不依赖外部dll文件。
AriUDP平台VS2010源代码管理工具配置手册V ersion 1.05版本历史:目录简介 (1)第1章VS项目软件配置工具介绍 (3)1.1S VN和V I SUAL S VN介绍 (3)1.2必备软件 (4)第2章VIS UALS VN S ERV ER (5)2.1V I SUAL S VN S ERVER (5)2.2V I SUAL S VN S ERVER安装过程 (5)2.3V I SUAL S VN S ERVER 配置与使用方法 (8)2.3.1添加代码库StartKit (8)2.3.2 代码库安全性设置用户和用户组 (9)第3章TORTOIS ES VN (13)3.1T OR TOI SE S VN介绍 (13)3.2T OR TOI SE S VN安装过程 (13)3.3T OR TOI SE S VN配置和使用方法 (15)3.3.1签入源代码到SVN服务器 (15)3.3.2签出源代码到本机 (17)3.3.3 提交修改过的文件到SVN服务器 (19)3.3.4添加新文件到SVN服务器 (20)3.3.5更新本机代码与SVN服务器上最新的版本一致 (21)3.3.6重命名文件或文件夹,并将修改提交到SVN服务器 (21)3.3.7删除文件或文件夹,并将修改提交到SVN服务器 (22)第四章ANKHS VN (23)4.1A NKH S VN介绍 (23)4.2A NKH S VN安装 (23)4.2A NKH S VN连接V I SUAL S VN S ERVER 下载源项目 (24)4.3A NKH S VN开发项目时其它的操作流程 (28)简介1、什么是软件配置管理软件配置管理是指通过执行版本控制、变更控制的规程,以及使用合适的配置管理软件,来保证所有配置项的完整性和可跟踪性。
配置管理是对工作成果的一种有效保护。
2、为什么需要配置管理如果没有软件配置管理,最大的麻烦是工作成果无法回溯。
Visual studio 2010 使用教程1.安装程序2.启动程序,界面如下3.编写C++程序的步骤1)新建项目。
VC2010里面不能单独编译一个.cpp或者一个.c文件,这些文件必须隶属于某一个项目,因此我们必须创建一个项目。
有很多种方法都可以创建项目,可以通过菜单:文件,新建,项目;也可以通过工具栏点击新建项目进行创建。
这里我们点击起始页面上面的新建项目:2)点击之后进入新建项目向导:上面选择Win32 控制台应用程序,名称中输入Hello,确定。
3)接下来进入创建页面,在Win32 应用程序向导的第一个页面直接点下一步即可:4)下个页面记得选择空项目,我们不需要预编译头:点击完成。
这样一个项目就建立成功了。
5)现在我们可以添加一个代码文件进来了,这个代码文件可以是已经存在的也可以是新建的,这里新建一个。
在“解决方案资源管理器”(可能在屏幕右边)中右键单击项目名称,选择“添加 新建项”:6)在向导中选择代码、C++文件(.cpp),名称输入Main(这是文件名,可以自由取名),确定。
这时候已经成功添加了一个Main文件,注意添加新文件的时候要防止与项目中已有文件重名。
7)在Main.cpp中添加代码,如下图:8)然后编译上面的文件。
方法为ctrl+F7或点击菜单项“生成/编译”。
可以看到如下编译成功的界面。
如果编译成功你会看到上面的画面,如果失败会有错误提示,那么你可以根据提示去修改项目配置或者代码。
9)然后可以用Ctrl+F5或者点那个空心三角形运行一下。
可以看到如下界面:OK 了,接下来就可以通过更改这个程序去练习C++教材上面的程序了。
4.简要讲述调试功能。
首先点击代码左边边栏或者移动光标到指定行按F9等都可以添加断点。
值得注意的是并非每一行都可以添加断点。
通过菜单》调试》窗口》断点或者直接按Alt+F9可以调出断点选项卡,通过选项卡我们可以设置条件断点、数据断点等。
如下图:调试中除了F5之外,另外更常用的估计是F10、F11了,前者是一次一个语句的执行,或者可以看出一行;而后者如果出现能进入的子过程,那么就会进入子过程。
1.启动软件,双击快捷!
2、创建项目!点击文件》》新建项目(或者Cttl+shift+N)
3.选择项目类型!
在右边已安装的模块中选择visual C++ 》》》然后选择win32控制台应用程序,在下方输入项目名称,选择文件路径,》》确定!!
4.点击下一步,注意不要点击完成!!!
5.很重要,在附加选项中勾选空项目,然后点击确定!不勾选,建立的文件有许多没用的代码要删除!!!
6.执行第五步出现以下界面!
7.右键单击源文件》添加》新建项(或者Ctrl+shift+A)
8.中间选择c++文件(cpp),在下方名称栏输入c语言文件名!!!然后选择添加!!注意::例如:文件名.C 没有.C ,默认为.cpp
是c++文件!
写在哪里我就不解释了!!!
例如:上面源代码中第五行中缺少分号,第六行就有红色波浪线提示错误,只有程序中没有红色波浪线才能试调通过!!!!
10.代码没有错误,按住crtl+F5就可以试调程序!!!如图会跳出如下窗口!!
Fortran
点击展开intel(R)visual fortran》》》选择console application》》中间选择empty project 其余同上
2.选择source file,右键单击,后同上
选择fortran 90(.f90)然后添加
输入程序代码
Next
试调(按住ctrl+F5)同上面
Fortran程序代码
program main
implicit none
integer i,j
integer ,dimension(3,4)::tab
do i=1,3
do j=1,4
read*,tab(i,j)
end do
end do
do i=1,3
do j=1,4
print*,tab(i,j)
end do
end do
end
program main
implicit none
integer i,j
integer ,dimension(3,4)::tab
read*,((tab(i,j),i=1,3),j=1,4)
print*,((tab(i,j),i=1,3),j=1,4) end
program example2
implicit none
real a,b,c,d,e,f,g,x1,x2
print *,'方程axx+bx+c=0'
print *,'输入a:'
read *,a
print *,'输入b:'
read *,b
print *,'输入c:'
read *,c
d=b*b-4.0*a*c
if (d>=0.0)then
e=sqrt(d)
x1=(-b+e)/(2.0*a)
x2=(-b-e)/(2.0*a)
print *,'x1=',x1
print *,'x2=',x2
else
f=-b/(2.0*a)
g=sqrt(-d)/(2.0*a)
print *,'x1=',f,'+i',g
print *,'x2=',f,'-i',g
end if
end
别跟我说不会了!!
我只能帮到这了!!!。