1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- VERSION 5.00
- Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} LinesForm
- Caption = "LinesForm"
- ClientHeight = 855
- ClientLeft = 45
- ClientTop = 390
- ClientWidth = 4725
- OleObjectBlob = "LinesForm.frx":0000
- StartUpPosition = 1 '所有者中心
- End
- Attribute VB_Name = "LinesForm"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub MyPen_Click()
- lines.Nodes_DrawLines
- End Sub
- '// 左键右键Ctrl三键控制
- Private Sub PenDrawLines_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal Y As Single)
- If Button = 2 Then
- lines.Draw_Multiple_Lines cdrAlignVCenter
-
- ElseIf Shift = fmCtrlMask Then
- lines.Draw_Multiple_Lines cdrAlignHCenter
- Else
- lines.Draw_Multiple_Lines 0
- End If
- End Sub
- '''//// 傻瓜火车排列 ////'''
- Private Sub TOP_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal Y As Single)
- If Button = 2 Then
- Tools.Simple_Train_Arrangement 3#
- ElseIf Shift = fmCtrlMask Then
- Tools.Simple_Train_Arrangement 0#
- Else
- Tools.Simple_Train_Arrangement Set_Space_Width
- End If
- End Sub
- '''//// 傻瓜阶梯排列 ////'''
- Private Sub LEFT_ALIGN_BT_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal Y As Single)
- If Button = 2 Then
- Tools.Simple_Ladder_Arrangement 3#
- ElseIf Shift = fmCtrlMask Then
- Tools.Simple_Ladder_Arrangement 0#
- Else
- Tools.Simple_Ladder_Arrangement Set_Space_Width
- End If
- End Sub
- Private Sub MakeBox_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal Y As Single)
- On Error GoTo ErrorHandler
- API.BeginOpt
-
- Dim size As Variant
- size = input_box_lwh
- l = size(0): w = size(1): h = size(2): b = size(3)
- If b = 0 Then b = 15
-
- If Button = 2 Then
- box.Simple_box_five l, w, h, b
- ElseIf Shift = fmCtrlMask Then
- box.Simple_box_four l, w, h, b
- Else
- box.Simple_box_three l, w, h, b
- End If
-
- ErrorHandler:
- API.EndOpt
- End Sub
- Private Sub Cmd_3D_Click()
- box.Simple_3Deffect
- End Sub
|