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

📄 mainfrm.frm

📁 guan yu pai ke xi tong de ruan jian
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm MainFrm 
   BackColor       =   &H80000004&
   Caption         =   "排课助手"
   ClientHeight    =   4905
   ClientLeft      =   165
   ClientTop       =   855
   ClientWidth     =   6885
   Icon            =   "MainFrm.frx":0000
   LinkTopic       =   "MDIForm1"
   StartUpPosition =   3  '窗口缺省
   WindowState     =   2  'Maximized
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   0
      Top             =   4530
      Width           =   6885
      _ExtentX        =   12144
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   3528
            MinWidth        =   3528
            Object.ToolTipText     =   "当前日期"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   3528
            MinWidth        =   3528
            Object.ToolTipText     =   "当前时间"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   88195
            MinWidth        =   88195
            Text            =   "准备就绪"
            TextSave        =   "准备就绪"
            Object.ToolTipText     =   "操作状态"
         EndProperty
      EndProperty
   End
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   1440
      Top             =   480
   End
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   600
      Top             =   960
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.PictureBox Picture1 
      Align           =   1  'Align Top
      Appearance      =   0  'Flat
      AutoRedraw      =   -1  'True
      BackColor       =   &H8000000A&
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   8130
      Left            =   0
      ScaleHeight     =   8130
      ScaleWidth      =   6885
      TabIndex        =   1
      Top             =   0
      Width           =   6885
   End
   Begin VB.Menu MenuFiles 
      Caption         =   "文件(&F)"
      Begin VB.Menu MenuFile 
         Caption         =   "新建(&N)..."
         Index           =   0
         Shortcut        =   ^N
      End
      Begin VB.Menu MenuFile 
         Caption         =   "打开(&O)..."
         Index           =   1
         Shortcut        =   ^O
      End
      Begin VB.Menu MenuFile 
         Caption         =   "保存(&S)"
         Index           =   2
         Shortcut        =   ^S
      End
      Begin VB.Menu MenuFile 
         Caption         =   "另存为(&A)..."
         Index           =   3
      End
      Begin VB.Menu MenuFile 
         Caption         =   "打印预览(&V)..."
         Index           =   4
      End
      Begin VB.Menu MenuFile 
         Caption         =   "页面设置(&P)..."
         Index           =   5
      End
      Begin VB.Menu MenuFile 
         Caption         =   "关闭文件(&C)"
         Index           =   6
      End
      Begin VB.Menu MenuFile 
         Caption         =   "-"
         Index           =   7
      End
      Begin VB.Menu MenuFile 
         Caption         =   "升级选项(U&)"
         Index           =   8
      End
      Begin VB.Menu MenuFile 
         Caption         =   "退出(&Q)"
         Index           =   9
      End
   End
   Begin VB.Menu MenuDatas 
      Caption         =   "操作(&D)"
      Begin VB.Menu MenuData 
         Caption         =   "课程设置(&S)"
         Index           =   0
         Shortcut        =   {F5}
      End
      Begin VB.Menu MenuData 
         Caption         =   "课程计划(&I)"
         Index           =   1
         Shortcut        =   {F6}
      End
      Begin VB.Menu MenuData 
         Caption         =   "课程测试(&T)"
         Index           =   2
         Shortcut        =   {F7}
      End
      Begin VB.Menu MenuData 
         Caption         =   "课程处理(&D)"
         Index           =   3
         Shortcut        =   {F8}
      End
   End
   Begin VB.Menu MenuSets 
      Caption         =   "用户(&U)"
      Begin VB.Menu SetName 
         Caption         =   "密码修改(&P)"
         Index           =   0
      End
      Begin VB.Menu SetName 
         Caption         =   "用户登陆(&L)"
         Index           =   1
      End
   End
   Begin VB.Menu MenuHelps 
      Caption         =   "帮助(&H)"
      Begin VB.Menu MenuHelp 
         Caption         =   "关于(&A)"
         Index           =   0
      End
      Begin VB.Menu MenuHelp 
         Caption         =   "注册(&S)"
         Index           =   1
      End
      Begin VB.Menu MenuHelp 
         Caption         =   "升级(&U)"
         Index           =   2
      End
      Begin VB.Menu MenuHelp 
         Caption         =   "目录(&D)"
         Index           =   3
         Shortcut        =   {F1}
      End
   End
End
Attribute VB_Name = "MainFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim DispStartMode As Boolean
Public Sub MenuEnabledSet(Optional ByVal EnabledValue As Boolean = False)
    '设置菜单的可用性.
    Dim ForIndex As Long
    For ForIndex = 2 To 6
        MenuFile(ForIndex).Enabled = EnabledValue
    Next
    MenuDatas.Enabled = EnabledValue
    Me.Caption = App.ProductName & "  " & MyDataSet.DataFileName
End Sub
Private Sub MDIForm_Activate()
    MenuDatas.Visible = PassWord '显示出窗口是判断是否登陆成功,如果登陆不成功,则操作菜单不可见.
    Me.Picture1.Cls
    Me.Picture1.FontSize = 24
    Me.Picture1.Print ""
    Me.Picture1.ForeColor = RGB(255, 100, 100)
    Me.Picture1.FontSize = 100
    Me.Picture1.Print " " & App.ProductName
    Me.Picture1.FontSize = 64
    Me.Picture1.Print
    Me.Picture1.ForeColor = RGB(255, 255, 255)
    Me.Picture1.FontSize = 12
    Me.Picture1.Print "                      地址:四川省遂宁市船山区永兴镇吉东小学校"
    Me.Picture1.Print "                      联系:李勇"
    Me.Picture1.Print "                      电话:13550788518"
    Me.Picture1.Print "                      Mail:liyong_sbcel@sina.com"

⌨️ 快捷键说明

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