📄 wirelist.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "Comdlg32.ocx"
Begin VB.Form Form1
BorderStyle = 3 'Fixed Dialog
Caption = "Netlist Generation for Wirelist Format"
ClientHeight = 2565
ClientLeft = 45
ClientTop = 330
ClientWidth = 7215
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2565
ScaleWidth = 7215
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.CheckBox Check2
Caption = "Do not output pin numbers for Grid Array parts"
Height = 255
Left = 360
TabIndex = 6
Top = 1920
Width = 3975
End
Begin VB.CheckBox Check1
Caption = "Sort &Nets by Net Name"
Height = 255
Left = 360
TabIndex = 5
Top = 1320
Width = 2775
End
Begin VB.CommandButton CancelButton
Caption = "&Cancel"
Height = 375
Left = 5040
TabIndex = 4
Top = 1920
Width = 1575
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 6480
Top = 240
_ExtentX = 847
_ExtentY = 847
_Version = 327681
CancelError = -1 'True
DialogTitle = "Output Netlist"
FileName = "*.*"
Filter = "All Files"
End
Begin VB.CommandButton BrowseButton
Caption = "&Browse..."
Height = 375
Left = 5040
TabIndex = 2
Top = 600
Width = 975
End
Begin VB.TextBox Text1
Height = 375
Left = 360
TabIndex = 1
Top = 600
Width = 4335
End
Begin VB.CommandButton MakeNetlist
Caption = "OK"
Height = 375
Left = 5040
TabIndex = 0
Top = 1200
Width = 975
End
Begin VB.Label Label1
Caption = "&Output Filename:"
Height = 255
Left = 360
TabIndex = 3
Top = 240
Width = 2415
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim filenameout As String
Private Sub BrowseButton_Click()
CommonDialog1.CancelError = True
On Error GoTo Errhandler
CommonDialog1.Flags = CommonDialog1.Flags Or cdlOFNOverwritePrompt
CommonDialog1.ShowSave
filenameout = CommonDialog1.FileName
Text1.Text = filenameout
Errhandler:
Exit Sub
End Sub
Private Sub CancelButton_Click()
Unload Me
End
End Sub
Private Sub MakeNetlist_Click()
OptionSortNets = Check1.Value
OptionP = Check2.Value
filenameout = Text1.Text
If filenameout <> "" Then
Unload Me
Call Main(filenameout, vbNullString)
If exittypeval <> "E" Then InsertFileInPM filenameout
End
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -