文档详情

VB简易计算器编程代码附照片.doc

发布:2017-07-02约10.75万字共16页下载文档
文本预览下载声明
课程设计说明书正文 一、题目:计算器的创作和相应程序的编写 二、本题的主要功能:通过计算器的创作熟悉各控件的属性和练习程序的编写。 三、程序截图: 四、源程序清单: Begin VB.Form Form1 Caption = 计算器 ClientHeight = 3765 ClientLeft = 165 ClientTop = 855 ClientWidth = 5355 Icon = Form1.frx:0000 LinkTopic = Form1 LockControls = -1 True ScaleHeight = 3765 ScaleWidth = 5355 StartUpPosition = 3 窗口缺省 Begin VB.CommandButton Command4 Caption = = Height = 495 Left = 4470 TabIndex = 28 Top = 3060 Width = 735 End Begin VB.CommandButton Command3 Caption = 1/x Height = 495 Left = 4470 TabIndex = 27 Top = 2520 Width = 735 End Begin VB.CommandButton Command2 Caption = % Height = 495 Left = 4470 TabIndex = 26 Top = 1980 Width = 735 End Begin VB.CommandButton Command1 Caption = sqrt Height = 495 Left = 4470 TabIndex = 25 Top = 1440 Width = 735 End Begin VB.CommandButton cmbDOT Caption = . Height = 495 Left = 2910 TabIndex = 24 Top = 3060 Width = 735 End Begin VB.CommandButton cmbZF Caption = +/- Height = 495 Left = 2130 TabIndex = 23 Top = 3060 Width = 735 End Begin VB.CommandButton cmbSign Caption = + Height = 495 Index = 3 Left = 3690 TabIndex = 22 Top = 3060 Width =
显示全部
相似文档