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

📄 main.frm

📁 学生信息管理系统(VB+sql)+毕业论文2万字 (338 回复) 排课管理系统vb (278 回复) 求vb+acess做的超市销售管理...毕业设计(酒店管理系统+报告(分析==)) (306 回
💻 FRM
字号:
VERSION 5.00
Begin VB.Form sys_main 
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   8880
   ClientLeft      =   45
   ClientTop       =   45
   ClientWidth     =   11880
   ControlBox      =   0   'False
   KeyPreview      =   -1  'True
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   8880
   ScaleWidth      =   11880
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   WindowState     =   2  'Maximized
   Begin VB.PictureBox Picture1 
      Height          =   1185
      Left            =   420
      Picture         =   "main.frx":0000
      ScaleHeight     =   1125
      ScaleWidth      =   1260
      TabIndex        =   11
      Top             =   360
      Width           =   1320
   End
   Begin VB.CommandButton cmdexit 
      BackColor       =   &H00C0C000&
      Cancel          =   -1  'True
      Caption         =   "退出(Esc)"
      BeginProperty Font 
         Name            =   "黑体"
         Size            =   15
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   930
      Left            =   9630
      Picture         =   "main.frx":4B146
      Style           =   1  'Graphical
      TabIndex        =   10
      Top             =   7650
      Width           =   2055
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "机房控制室&A"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   9
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   9
      Top             =   5985
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "总经委查询&9"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   8
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   8
      Top             =   5355
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "仓库管理  &8"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   7
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   7
      Top             =   4770
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "营  销  部&7"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   6
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   6
      Top             =   4140
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "商场收银处&6"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   5
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   3555
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "餐厅收银处&5"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   4
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   2925
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "前台帐务处&4"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   3
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   2340
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "前台接待处&3"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   2
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   1710
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "餐厅管事部&2"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   1
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   1125
      Width           =   2085
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C0C000&
      Caption         =   "客房管事部&1"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   645
      Index           =   0
      Left            =   9630
      Style           =   1  'Graphical
      TabIndex        =   0
      Top             =   495
      Width           =   2085
   End
   Begin VB.Image Image1 
      BorderStyle     =   1  'Fixed Single
      Height          =   9120
      Left            =   0
      Picture         =   "main.frx":4B450
      Stretch         =   -1  'True
      Top             =   0
      Width           =   9375
   End
End
Attribute VB_Name = "sys_main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdexit_Click()
End
End Sub
Private Sub Command1_Click(Index As Integer)
frmLogin.MAIN (Index)
frmLogin.Show (1)
If Not LoginSucceeded Then
   Exit Sub
End If
Select Case Index
       Case 4
          Call ct_main.MAIN(SYS_GWDM, SYS_GWMC, SYS_USER, SYS_NAME, SYS_RIGHT)
          ct_main.Show (1)
End Select
End Sub

Private Sub Form_Load()
SYS_LXC = Array("", "单人", "双人", "套间", "豪华") '
Set WRK = CreateWorkspace("", "admin", "")
'wrk.CursorDriver = rdUseOdbc
LoginSucceeded = False
End Sub

'Private Sub Picture1_Click()
'Dim poi(4) As pointapi, center As pointapi, rgn As Long
'Dim pi As Double, radian As Double, radius As Double, i As Integer
'center.X = Picture1.Height \ 2
'center.Y = Picture1.Width \ 2
'pi = 3.14159
'radian = pi \ 2
'radius = 50
'For i = 0 To 4
'poi(i).X = center.X + radius * Cos(radian)
'poi(i).Y = center.Y - radius * Sin(radian)
'radian = radian + 1 * pi / 5
'rgn = CreatePolygonRgn(poi(i), 5, 2)
'SetWindowRgn Picture1.hWnd, rgn, True
'Picture1.Refresh
'Next i
'End Sub
Private Sub Image1_Click()

End Sub

⌨️ 快捷键说明

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