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

📄 f_main.frm

📁 易通汽车维修信息管理系统初期开发版本
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{3CD0D5C7-0803-4552-8FE7-8AA237D544C4}#1.0#0"; "FKMenu.ocx"
Object = "{3A6644DE-3402-11D9-9DE7-C33FAA87690A}#1.0#0"; "WinXPCEngine.ocx"
Begin VB.Form F_MAIN 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "易通汽车修理信息管理系统"
   ClientHeight    =   7770
   ClientLeft      =   45
   ClientTop       =   735
   ClientWidth     =   11880
   Icon            =   "F_MAIN.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Moveable        =   0   'False
   Palette         =   "F_MAIN.frx":27A2
   Picture         =   "F_MAIN.frx":1FFA6
   ScaleHeight     =   7770
   ScaleWidth      =   11880
   ShowInTaskbar   =   0   'False
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   240
      Top             =   1080
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   32
      ImageHeight     =   32
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   2
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "F_MAIN.frx":42897
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "F_MAIN.frx":438E9
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin WinXPC_Engine.WindowsXPC WindowsXPC1 
      Left            =   1200
      Top             =   4560
      _ExtentX        =   6588
      _ExtentY        =   1085
      ColorScheme     =   2
   End
   Begin HookMenu.FKMenu FKMenu1 
      Left            =   120
      Top             =   4560
      _ExtentX        =   900
      _ExtentY        =   900
      BmpCount        =   0
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   1000
      Left            =   720
      Top             =   4560
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   660
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Visible         =   0   'False
      Width           =   11880
      _ExtentX        =   20955
      _ExtentY        =   1164
      ButtonWidth     =   1032
      ButtonHeight    =   1005
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   3
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
         EndProperty
      EndProperty
      BorderStyle     =   1
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   345
      Left            =   0
      TabIndex        =   0
      Top             =   7425
      Width           =   11880
      _ExtentX        =   20955
      _ExtentY        =   609
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            Object.Width           =   7056
            MinWidth        =   7056
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            Object.Width           =   5292
            MinWidth        =   5292
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            Object.Width           =   10583
            MinWidth        =   10583
         EndProperty
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Label Label2 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "抚州易通网络科技 黄志祥 版权所有(C) 2005 抚州市国康汽车修理厂 定做版"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C0C0C0&
      Height          =   240
      Left            =   3075
      TabIndex        =   3
      Top             =   6885
      Width           =   8160
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "易通汽车修理信息管理系统"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   26.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00C0C0C0&
      Height          =   525
      Left            =   2640
      TabIndex        =   2
      Top             =   6240
      Width           =   6660
   End
   Begin VB.Menu Cent0 
      Caption         =   "|"
      Enabled         =   0   'False
   End
   Begin VB.Menu Business 
      Caption         =   "事务(&B)"
      Begin VB.Menu GHYH 
         Caption         =   "更换用户"
         Shortcut        =   ^S
      End
      Begin VB.Menu XGMM 
         Caption         =   "修改口令"
         Shortcut        =   ^M
      End
      Begin VB.Menu w1 
         Caption         =   "-"
      End
      Begin VB.Menu TC 
         Caption         =   "退出"
         Shortcut        =   {F4}
      End
   End
   Begin VB.Menu Cent1 
      Caption         =   "|"
      Enabled         =   0   'False
   End
   Begin VB.Menu Maintain 
      Caption         =   "维修(&M)"
      Begin VB.Menu WXDJ 
         Caption         =   "维修登记"
         Shortcut        =   {F5}
      End
   End
   Begin VB.Menu Cent2 
      Caption         =   "|"
      Enabled         =   0   'False
   End
   Begin VB.Menu Establish 
      Caption         =   "设置(&E)"
      Begin VB.Menu YHGL 
         Caption         =   "用户管理"
         Shortcut        =   ^U
      End
      Begin VB.Menu F 
         Caption         =   "-"
      End
      Begin VB.Menu ZDGL 
         Caption         =   "字典管理"
         Shortcut        =   ^D
      End
      Begin VB.Menu F1 
         Caption         =   "-"
      End
      Begin VB.Menu XTSZ 
         Caption         =   "单位信息初始化"
      End
   End
   Begin VB.Menu Cent3 
      Caption         =   "|"
      Enabled         =   0   'False
   End
   Begin VB.Menu Statistics 
      Caption         =   "统计(&S)"
   End
   Begin VB.Menu Cent4 
      Caption         =   "|"
      Enabled         =   0   'False
   End
   Begin VB.Menu Visual 
      Caption         =   "视图(&V)"
      Begin VB.Menu GJL 
         Caption         =   "工具栏"
         Checked         =   -1  'True
         Shortcut        =   ^T
      End
      Begin VB.Menu ZTL 
         Caption         =   "状态栏"
         Checked         =   -1  'True
         Shortcut        =   ^A
      End
   End
   Begin VB.Menu Cent5 
      Caption         =   "|"
      Enabled         =   0   'False
   End
   Begin VB.Menu Help 
      Caption         =   "帮助(&H)"
      Begin VB.Menu BZ 
         Caption         =   "帮助"
         Enabled         =   0   'False
         Shortcut        =   {F1}
      End
      Begin VB.Menu h 
         Caption         =   "-"
      End
      Begin VB.Menu GY 
         Caption         =   "关于"
         Shortcut        =   ^C
      End
      Begin VB.Menu h1 
         Caption         =   "-"
      End
      Begin VB.Menu ZC 
         Caption         =   "注册"
         Enabled         =   0   'False
         Shortcut        =   ^R
      End
   End
   Begin VB.Menu Cent6 
      Caption         =   "|"
      Enabled         =   0   'False
   End
End
Attribute VB_Name = "F_MAIN"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
    WindowsXPC1.InitSubClassing
    'rtn = SetWindowPos(Form1.hwnd, -1, 0, 0, 0, 0, 3)   '将窗口置于最上面
    
    Cent0.Visible = False
    Cent1.Visible = False
    Cent2.Visible = False
    Cent3.Visible = False
    Cent4.Visible = False
    Cent5.Visible = False
    Cent5.Visible = False
    Cent0.Visible = True
    Cent1.Visible = True
    Cent2.Visible = True
    Cent3.Visible = True
    Cent4.Visible = True
    Cent5.Visible = True
    Cent5.Visible = True
    
    Dim UName As String
    Dim UPower As String
    
    UPower = F_LONG.UserPower
    
    If UPower = "A" Then
        UPower = "【超级用户】"
    Else
        UPower = "【普通用户】"
        Establish.Visible = False
        Cent3.Visible = False
    End If
    
    UName = F_LONG.UserName
    StatusBar1.Panels(1).Text = UPower & UName & "  【代码】" & F_LONG.UserCode
    StatusBar1.Panels(2).Text = "目前没有窗口被激活..."
     
    Label1.Caption = "易通汽车修理信息管理系统 " & App.Major & "." & App.Minor & "." & App.Revision
End Sub

Private Sub Form_Unload(Cancel As Integer)
    'MsgBox "数据已经备份!", vbOKOnly + vbInformation
    'If Ckjg <> vbOKOnly Then
        'Unload Me
    'End If
End Sub

Private Sub GHYH_Click()
    F_GHYH.Show 1
End Sub

Private Sub GJL_Click()
    GJL.Checked = Not GJL.Checked
    Toolbar1.Visible = GJL.Checked
End Sub

Private Sub Statistics_Click()
'    DataReport1.Show
End Sub

Private Sub WXDJ_Click()
    F_PZH.Show 1
End Sub

Private Sub XGMM_Click()
    F_XGMM.Show 1
End Sub

Private Sub XTSZ_Click()
    F_XTSZ.Show 1
End Sub

Private Sub YHGL_Click()
    F_YHGL.Show 1
End Sub

Private Sub ZDGL_Click()
    F_ZDGL.Show 1
End Sub

Private Sub ZTL_Click()
    ZTL.Checked = Not ZTL.Checked
    StatusBar1.Visible = ZTL.Checked
End Sub

Private Sub TC_Click()
    Unload Me
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
    Select Case Button.Key
        Case "xmgl"
            'F_XMGL.Show 1
        Case "xxwh"
            'F_XXWH.Show 1
    End Select
End Sub

Private Sub Timer1_Timer()
    '系统时间初始化
    StatusBar1.Panels(3).Text = "【当前系统时间】" & Now & "  " & WeekdayName(Weekday(Now()))
End Sub

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, x As Single, Y As Single)
If Button = 2 Then
   Me.PopupMenu Me.Maintain
   End If
End Sub

⌨️ 快捷键说明

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