📄 frm设计.frm
字号:
VERSION 5.00
Begin VB.Form frm设计
BackColor = &H00808000&
BorderStyle = 3 'Fixed Dialog
Caption = "设计步骤"
ClientHeight = 2130
ClientLeft = 5130
ClientTop = 5580
ClientWidth = 5865
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2130
ScaleWidth = 5865
ShowInTaskbar = 0 'False
Begin VB.PictureBox Picture1
BackColor = &H00FFFFFF&
Height = 1815
Left = 1080
ScaleHeight = 1755
ScaleWidth = 4515
TabIndex = 4
Top = 120
Width = 4575
Begin VB.TextBox Text1
Appearance = 0 'Flat
BorderStyle = 0 'None
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 1335
Left = 240
MultiLine = -1 'True
TabIndex = 5
Top = 240
Width = 4095
End
End
Begin VB.CommandButton Command4
BackColor = &H0080C0FF&
Caption = "第四步"
Height = 375
Left = 120
Style = 1 'Graphical
TabIndex = 3
Top = 1560
Width = 855
End
Begin VB.CommandButton Command
BackColor = &H0080C0FF&
Caption = "第一步"
Height = 375
Left = 120
Style = 1 'Graphical
TabIndex = 2
Top = 120
Width = 855
End
Begin VB.CommandButton Command2
BackColor = &H0080C0FF&
Caption = "第二步"
Height = 375
Left = 120
Style = 1 'Graphical
TabIndex = 1
Top = 600
Width = 855
End
Begin VB.CommandButton Command3
BackColor = &H0080C0FF&
Caption = "第三步"
Height = 375
Left = 120
Style = 1 'Graphical
TabIndex = 0
Top = 1080
Width = 855
End
End
Attribute VB_Name = "frm设计"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command_Click()
Text1.Text = "1.按比例画位移线图和基圆,并标明各运动角。"
mainfrm.First_Step
End Sub
Private Sub Command2_Click()
Dim i As Integer
Text1.Text = "2.将推程运动角和回程运动角分成若干等份。"
If i等分DT0 <> 0 Then
For i = 1 To i等分DT0
Unload mainfrm.lin等分DT0(i)
Unload mainfrm.lin基圆DT0(i)
Unload mainfrm.lin凸轮DT0(i)
Next
End If
If i等分DT2 <> 0 Then
For i = 1 To i等分DT2
Unload mainfrm.lin等分DT2(i)
Unload mainfrm.lin基圆DT2(i)
Unload mainfrm.lin凸轮DT2(i)
Next
End If
frm等分.Show vbModal
If i等分DT0 * i等分DT2 = 0 Then Exit Sub
mainfrm.Second_Step
End Sub
Private Sub Command3_Click()
Text1.Text = "3.延长基圆上各等分线,延长线段长度与位移线图对应等分线段长度相等。"
mainfrm.Third_Step
End Sub
Private Sub Command4_Click()
Text1.Text = "4.顺次光滑连接各点,得凸轮轮廓。"
mainfrm.Forth_step
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -