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 '// This is free and unencumbered software released into the public domain. '// For more information, please refer to https://github.com/hongwenjun Private Sub MyPen_Click() On Error GoTo ErrorHandler API.BeginOpt lines.Nodes_DrawLines ErrorHandler: API.EndOpt End Sub '// ×ó¼üÓÒ¼üCtrlÈý¼ü¿ØÖÆ Private Sub PenDrawLines_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal Y As Single) On Error GoTo ErrorHandler API.BeginOpt 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 ErrorHandler: API.EndOpt 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