frmrestorecolor.frm

来自「solidworks 2007 二次开发」· FRM 代码 · 共 78 行

FRM
78
字号
VERSION 5.00
Begin VB.Form frmRestoreColor 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Moldability"
   ClientHeight    =   1740
   ClientLeft      =   45
   ClientTop       =   390
   ClientWidth     =   4530
   Icon            =   "frmRestoreColor.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1740
   ScaleWidth      =   4530
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton cmdNo 
      Caption         =   "No"
      Height          =   495
      Left            =   2280
      TabIndex        =   2
      Top             =   960
      Width           =   1455
   End
   Begin VB.CommandButton cmdYes 
      Caption         =   "Yes"
      Default         =   -1  'True
      Height          =   495
      Left            =   480
      TabIndex        =   1
      Top             =   960
      Width           =   1455
   End
   Begin VB.Label Label1 
      Caption         =   "Restore original part colors?"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   240
      TabIndex        =   0
      Top             =   240
      Width           =   4095
   End
End
Attribute VB_Name = "frmRestoreColor"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdNo_Click()
    
    UnLockUI
    End

End Sub

Private Sub cmdYes_Click()

    RestoreSurfaceColors
    UnLockUI
    End

End Sub

Private Sub Form_Load()

    SetTopMost Me.hWnd, True
    GetSWobject

End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?