⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 进销存管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Object = "*\A..\Step1\WinXPC Engine ActiveX Code\WinXPC Engine.vbp"
Begin VB.Form Form1 
   Caption         =   "xp风格的控件引擎 http://www.play78.com"
   ClientHeight    =   6375
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   8850
   LinkTopic       =   "Form1"
   ScaleHeight     =   6375
   ScaleWidth      =   8850
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command11 
      Caption         =   "保存对话框"
      Height          =   405
      Left            =   1830
      TabIndex        =   28
      Top             =   1560
      Width           =   1305
   End
   Begin VB.CommandButton Command5 
      Caption         =   "打开对话框"
      Height          =   405
      Left            =   330
      TabIndex        =   27
      Top             =   1560
      Width           =   1335
   End
   Begin MSComctlLib.Slider Slider1 
      Height          =   435
      Left            =   1350
      TabIndex        =   26
      Top             =   3120
      Width           =   3495
      _ExtentX        =   6165
      _ExtentY        =   767
      _Version        =   393216
   End
   Begin MSComctlLib.Slider Slider2 
      Height          =   495
      Left            =   1290
      TabIndex        =   25
      Top             =   2250
      Width           =   3375
      _ExtentX        =   5953
      _ExtentY        =   873
      _Version        =   393216
      TickStyle       =   1
      TextPosition    =   1
   End
   Begin VB.FileListBox File1 
      Height          =   1710
      Left            =   5370
      TabIndex        =   24
      Top             =   3870
      Width           =   3135
   End
   Begin VB.DirListBox Dir1 
      Height          =   1560
      Left            =   5400
      TabIndex        =   23
      Top             =   2190
      Width           =   3165
   End
   Begin VB.PictureBox Picture1 
      Height          =   975
      Left            =   3240
      ScaleHeight     =   915
      ScaleWidth      =   1395
      TabIndex        =   22
      Top             =   600
      Width           =   1455
   End
   Begin VB.CheckBox Check3 
      Caption         =   "选择框3"
      Height          =   255
      Left            =   210
      TabIndex        =   21
      Top             =   2700
      Width           =   1035
   End
   Begin VB.CheckBox Check2 
      Caption         =   "选择框2"
      Height          =   255
      Left            =   210
      TabIndex        =   20
      Top             =   2370
      Value           =   1  'Checked
      Width           =   1035
   End
   Begin VB.CheckBox Check1 
      Caption         =   "选择框1"
      Height          =   255
      Left            =   210
      TabIndex        =   19
      Top             =   2040
      Width           =   1035
   End
   Begin VB.OptionButton Option2 
      Caption         =   "单选框23"
      Height          =   255
      Left            =   210
      TabIndex        =   18
      Top             =   3420
      Width           =   1155
   End
   Begin VB.OptionButton Option1 
      Caption         =   "单选框1"
      Height          =   255
      Left            =   210
      TabIndex        =   17
      Top             =   3120
      Width           =   1155
   End
   Begin VB.TextBox Text1 
      Height          =   270
      Left            =   270
      TabIndex        =   16
      Text            =   "Text1"
      Top             =   150
      Width           =   1695
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   15
      Top             =   6000
      Width           =   8850
      _ExtentX        =   15610
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Text            =   "123"
            TextSave        =   "123"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Text            =   "ABC"
            TextSave        =   "ABC"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Text            =   "一二三"
            TextSave        =   "一二三"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.ListView ListView1 
      Height          =   1845
      Left            =   210
      TabIndex        =   14
      Top             =   3720
      Width           =   4785
      _ExtentX        =   8440
      _ExtentY        =   3254
      View            =   3
      LabelEdit       =   1
      LabelWrap       =   -1  'True
      HideSelection   =   -1  'True
      _Version        =   393217
      ForeColor       =   -2147483640
      BackColor       =   -2147483643
      BorderStyle     =   1
      Appearance      =   1
      NumItems        =   3
      BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         Text            =   "123"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   1
         Text            =   "ABC"
         Object.Width           =   2540
      EndProperty
      BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628} 
         SubItemIndex    =   2
         Text            =   "一二三"
         Object.Width           =   2540
      EndProperty
   End
   Begin WinXPC_Engine.WindowsXPC WindowsXPC1 
      Left            =   8760
      Top             =   570
      _ExtentX        =   6588
      _ExtentY        =   1085
      ColorScheme     =   2
   End
   Begin VB.Timer Timer1 
      Interval        =   2000
      Left            =   5700
      Top             =   3780
   End
   Begin VB.Frame Frame7 
      Height          =   615
      Left            =   2130
      TabIndex        =   10
      Top             =   -60
      Width           =   3375
      Begin VB.CommandButton CmdApply 
         Caption         =   "应用"
         Height          =   265
         Left            =   2640
         Style           =   1  'Graphical
         TabIndex        =   12
         Top             =   230
         Width           =   615
      End
      Begin VB.ComboBox Combo4 
         Height          =   300
         ItemData        =   "Form1.frx":0000
         Left            =   120
         List            =   "Form1.frx":0010
         Style           =   2  'Dropdown List
         TabIndex        =   11
         Top             =   195
         Width           =   2415
      End
   End
   Begin VB.CommandButton Command10 
      Caption         =   "DBase"
      Height          =   555
      Left            =   6750
      Picture         =   "Form1.frx":005A
      Style           =   1  'Graphical
      TabIndex        =   8
      Top             =   1590
      Width           =   1695
   End
   Begin VB.CommandButton Command9 
      Caption         =   "Excel"
      Height          =   555
      Left            =   4920
      Picture         =   "Form1.frx":05E4
      Style           =   1  'Graphical
      TabIndex        =   7
      Top             =   1590
      Width           =   1695
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Access"
      Height          =   555
      Left            =   6750
      Picture         =   "Form1.frx":0B6E
      Style           =   1  'Graphical
      TabIndex        =   6
      Top             =   960
      Width           =   1695
   End
   Begin MSComDlg.CommonDialog cd 
      Left            =   -120
      Top             =   300
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.CommandButton Command8 
      Caption         =   "颜色"
      Height          =   375
      Left            =   1800
      TabIndex        =   5
      Top             =   1080
      Width           =   1335
   End
   Begin VB.CommandButton Command7 
      Caption         =   "输入框"
      Height          =   375
      Left            =   330
      TabIndex        =   4
      Top             =   1080
      Width           =   1335
   End
   Begin VB.CommandButton Command6 
      Caption         =   "对话框2"
      Height          =   375
      Left            =   1800
      TabIndex        =   3
      Top             =   630
      Width           =   1335
   End
   Begin VB.CommandButton Command4 
      Caption         =   "自定义字体"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   5790
      TabIndex        =   2
      Top             =   60
      Width           =   2655
   End
   Begin VB.CommandButton Command3 
      Caption         =   "对话框1"
      Height          =   375
      Left            =   330
      TabIndex        =   1
      Top             =   630
      Width           =   1335
   End
   Begin VB.CommandButton Command1 
      Caption         =   "查询"
      Height          =   555
      Left            =   4920
      Picture         =   "Form1.frx":10F8
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   960
      Width           =   1695
   End
   Begin MSComctlLib.ProgressBar ProgressBar1 
      Height          =   255
      Left            =   4980
      TabIndex        =   13
      Top             =   600
      Width           =   3615
      _ExtentX        =   6376
      _ExtentY        =   450
      _Version        =   393216
      Appearance      =   1
   End
   Begin VB.Label Label1 
      Caption         =   "海阔天空收集整理,更多请访问 http://www.play78.com"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   345
      Left            =   210
      TabIndex        =   29
      Top             =   5640
      Width           =   8415
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      Caption         =   "Buttons Now Support Images!!"
      ForeColor       =   &H000000FF&
      Height          =   195
      Left            =   9480
      TabIndex        =   9
      Top             =   8040
      Width           =   2160
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

' **********************************************************************
'  描  述:巨牛的XP风格控件引擎,非常厉害
'  Play78.com : 网站导航,源码之家,绝对开源
'  海阔天空收集整理
'  主站地址:http://www.play78.com/
'  源码下载地址:http://www.play78.com/blog
'  图片下在地址:http://www.play78.com/pic
'  QQ:13355575
'  e-mail:hglai@eyou.com
'  编写日期:2005年08月24日
' **********************************************************************

Private Declare Function RedrawWindow Lib "user32" (ByVal hwnd As Long, lprcUpdate As Any, ByVal hrgnUpdate As Long, ByVal fuRedraw As Long) As Long


Dim time


Private Sub CmdApply_Click()

If WindowsXPC1.EngineStarted = False Then
   
   WindowsXPC1.ColorScheme = Combo4.ListIndex + 1
   WindowsXPC1.InitSubClassing
   Me.Hide
   Me.Show
Else
   
  If MsgBox("The Engine Needs To Restart!!", vbInformation + vbOKCancel, "play78.com XP风格控件引擎") = vbOK Then
       WindowsXPC1.ColorScheme = Combo4.ListIndex + 1
       WindowsXPC1.EndWinXPCSubClassing
       
       WindowsXPC1.InitSubClassing
       
       'Instead of Hide + Show
       RedrawWindow Me.hwnd, ByVal 0&, ByVal 0&, &H1
       'Me.Hide
       'Me.Show
  End If

End If

End Sub

Private Sub Command11_Click()
cd.ShowSave
End Sub

Private Sub Command4_Click()
Check1.Value = 1
Frame7.Caption = "Hello"
End Sub

Private Sub Command5_Click()
cd.ShowOpen
End Sub

Private Sub Form_Unload(Cancel As Integer)
WindowsXPC1.EndWinXPCSubClassing '结束
End Sub

Private Sub Timer1_Timer()
time = time + 20
If time > ProgressBar1.Max Then time = ProgressBar1.Min
If time < ProgressBar1.Min Then time = ProgressBar1.Min
ProgressBar1.Value = time
End Sub


Private Sub Combo4_Click()

WindowsXPC1.ColorScheme = Combo4.ListIndex + 1
End Sub

Private Sub Command3_Click()
MsgBox "play78.com XP风格控件引擎", vbInformation, "Mario Flores"

End Sub

Private Sub Command6_Click()
MsgBox "play78.com XP风格控件引擎 By Mario Alberto Flores Gonzalez", vbYesNoCancel + vbInformation, "play78.com XP风格控件引擎"
End Sub

Private Sub Command7_Click()
InputBox "CD JUAREZ CHIHUAHUA....", "输入框", "play78.com"
End Sub

Private Sub Command8_Click()
cd.ShowColor
End Sub

Private Sub Form_Load()
WindowsXPC1.InitSubClassing
End Sub

⌨️ 快捷键说明

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