📄 main.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form mainfrm
BorderStyle = 1 'Fixed Single
Caption = "Discrete Fourier Transform (Chap.8)"
ClientHeight = 9030
ClientLeft = 1725
ClientTop = 1485
ClientWidth = 11790
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 507.589
ScaleMode = 0 'User
ScaleWidth = 500
Begin VB.CommandButton Command3
Caption = "About"
Height = 210
Left = 10650
TabIndex = 35
Top = 15
Width = 1065
End
Begin VB.Frame Frame5
Caption = "Output"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3210
Left = 120
TabIndex = 18
Top = 5730
Width = 11595
Begin VB.PictureBox output
Appearance = 0 'Flat
BackColor = &H00000000&
ForeColor = &H0080FF80&
Height = 2900
Left = 90
ScaleHeight = 191
ScaleMode = 0 'User
ScaleWidth = 180
TabIndex = 19
Top = 240
Width = 11415
End
End
Begin VB.Frame Frame4
Caption = "Discrete Fourier Transform"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2325
Left = 120
TabIndex = 14
Top = 3375
Width = 11595
Begin VB.Frame Frame7
Caption = "Window"
Height = 1845
Left = 3360
TabIndex = 30
Top = 285
Width = 3390
Begin VB.OptionButton Optblack
Caption = "Blackman window"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 315
TabIndex = 34
Top = 1515
Width = 2955
End
Begin VB.OptionButton Opthann
Caption = "Hanning window"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 315
TabIndex = 33
Top = 1120
Width = 2820
End
Begin VB.OptionButton Opthamm
Caption = "Hamming window"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 315
TabIndex = 32
Top = 695
Width = 2475
End
Begin VB.OptionButton Optnowin
Caption = "No window"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 315
TabIndex = 31
Top = 360
Value = -1 'True
Width = 2670
End
End
Begin VB.Frame Frame6
Caption = "Output Display"
Height = 1860
Left = 7230
TabIndex = 22
Top = 270
Width = 4125
Begin VB.CommandButton Command2
Caption = "Display"
Height = 525
Left = 2265
TabIndex = 29
Top = 390
Width = 1665
End
Begin VB.CommandButton Command1
Caption = "Clear"
Height = 510
Left = 2250
TabIndex = 28
Top = 1140
Width = 1695
End
Begin VB.OptionButton Optreal
Caption = "Real part"
BeginProperty Font
Name = "Courier New"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 135
TabIndex = 27
Top = 300
Width = 1800
End
Begin VB.OptionButton Optpower
Caption = "Power spectrum"
BeginProperty Font
Name = "Courier New"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 135
TabIndex = 26
Top = 1575
Value = -1 'True
Width = 2115
End
Begin VB.OptionButton Optphase
Caption = "Phase"
BeginProperty Font
Name = "Courier New"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 135
TabIndex = 25
Top = 1275
Width = 1890
End
Begin VB.OptionButton Optmag
Caption = "magnitude"
BeginProperty Font
Name = "Courier New"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 135
TabIndex = 24
Top = 930
Width = 2145
End
Begin VB.OptionButton Optimg
Caption = "Imaginary part"
BeginProperty Font
Name = "Courier New"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 135
TabIndex = 23
Top = 562
Width = 2145
End
End
Begin VB.CommandButton Command4
Caption = "Transform"
Height = 495
Left = 750
TabIndex = 21
Top = 810
Width = 1695
End
Begin VB.Label Label5
Caption = "Please wait..."
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 315
Left = 765
TabIndex = 20
Top = 1410
Visible = 0 'False
Width = 1680
End
End
Begin VB.Frame Frame1
Caption = "Input"
BeginProperty Font
Name = "Courier New"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3195
Left = 120
TabIndex = 0
Top = 120
Width = 11595
Begin MSComctlLib.Slider Slideramp
Height = 210
Left = 45
TabIndex = 13
Top = 2460
Width = 3645
_ExtentX = 6429
_ExtentY = 370
_Version = 393216
Min = 1
End
Begin VB.CommandButton btn_generate
Caption = "Generate"
Height = 315
Left = 1845
TabIndex = 12
Top = 2760
Width = 1770
End
Begin VB.CommandButton btn_clr
Caption = "Clear"
Height = 315
Left = 120
TabIndex = 11
Top = 2760
Width = 1650
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -