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

📄 frmresult.frm

📁 学生信息管理系统用vb做的 学生信息管理系统用vb做的
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{CE671F01-259E-40DA-92FE-95803E2ECBB5}#1.0#0"; "SmartXPButton.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Begin VB.Form Frmresult 
   BackColor       =   &H00E7DFE7&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "成绩信息设置"
   ClientHeight    =   5145
   ClientLeft      =   2850
   ClientTop       =   1680
   ClientWidth     =   8430
   ForeColor       =   &H8000000C&
   Icon            =   "Frmresult.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   5145
   ScaleWidth      =   8430
   Begin VB.Frame Frame2 
      BackColor       =   &H00E7DFE7&
      Caption         =   "查询条件"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2655
      Left            =   5280
      TabIndex        =   16
      Top             =   2280
      Width           =   2895
      Begin VB.ComboBox CboFinNo 
         Height          =   300
         Left            =   240
         TabIndex        =   7
         Top             =   1275
         Width           =   2175
      End
      Begin SmartXPButton.XpButton cmdFind 
         Height          =   495
         Left            =   240
         TabIndex        =   8
         Top             =   1920
         Width           =   1335
         _ExtentX        =   2355
         _ExtentY        =   873
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Caption         =   "查找(&F)"
         CaptionMouseOverColor=   16711680
         PictureBackColor=   15790320
         PictureSmoothBackColor=   15790320
         ButtonPicture   =   "Frmresult.frx":1CFA
      End
      Begin VB.Label Label5 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "学生学号:"
         ForeColor       =   &H80000008&
         Height          =   180
         Left            =   240
         TabIndex        =   17
         Top             =   720
         Width           =   810
      End
   End
   Begin VB.Frame Frame1 
      BackColor       =   &H00E7DFE7&
      BorderStyle     =   0  'None
      Enabled         =   0   'False
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1095
      Left            =   120
      TabIndex        =   10
      Top             =   0
      Width           =   7935
      Begin VB.ComboBox CboCouNO 
         Height          =   300
         Left            =   4680
         TabIndex        =   1
         Top             =   645
         Width           =   1215
      End
      Begin VB.ComboBox CboStuNo 
         Height          =   300
         Left            =   2280
         TabIndex        =   0
         Top             =   645
         Width           =   1815
      End
      Begin VB.TextBox TxtResult 
         Height          =   380
         Left            =   6480
         MaxLength       =   4
         TabIndex        =   2
         Top             =   600
         Width           =   1100
      End
      Begin VB.TextBox TxtexamNo 
         Height          =   380
         Left            =   240
         Locked          =   -1  'True
         TabIndex        =   11
         Top             =   600
         Width           =   1455
      End
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "分数:"
         ForeColor       =   &H80000008&
         Height          =   180
         Left            =   6480
         TabIndex        =   15
         Top             =   240
         Width           =   540
      End
      Begin VB.Label Label3 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "课程编号:"
         ForeColor       =   &H80000008&
         Height          =   180
         Left            =   4680
         TabIndex        =   14
         Top             =   240
         Width           =   900
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "学生学号:"
         ForeColor       =   &H80000008&
         Height          =   180
         Left            =   2280
         TabIndex        =   13
         Top             =   240
         Width           =   900
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "考试编号:"
         ForeColor       =   &H80000008&
         Height          =   180
         Left            =   240
         TabIndex        =   12
         Top             =   240
         Width           =   900
      End
   End
   Begin MSHierarchicalFlexGridLib.MSHFlexGrid result_Grid 
      Height          =   2655
      Left            =   240
      TabIndex        =   9
      Top             =   2280
      Width           =   4815
      _ExtentX        =   8493
      _ExtentY        =   4683
      _Version        =   393216
      BackColorFixed  =   15196135
      BackColorBkg    =   15196135
      BackColorUnpopulated=   15196135
      _NumberOfBands  =   1
      _Band(0).Cols   =   2
   End
   Begin SmartXPButton.XpButton cmdAdd 
      Height          =   495
      Left            =   360
      TabIndex        =   3
      Top             =   1440
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   873
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      CaptionAreaPercent=   100
      Caption         =   "添加(&A)"
      PictureSmoothBackColor=   15460844
   End
   Begin SmartXPButton.XpButton cmdSave 
      Height          =   495
      Left            =   2360
      TabIndex        =   4
      Top             =   1440
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   873
      Enabled         =   0   'False
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Caption         =   "保存(&S)"
      CaptionMouseOverColor=   16711680
      PictureBackColor=   15790320
      PictureSmoothBackColor=   15790320
      ButtonPicture   =   "Frmresult.frx":40DC
   End
   Begin SmartXPButton.XpButton cmdDel 
      Height          =   495
      Left            =   4360
      TabIndex        =   5
      Top             =   1440
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   873
      Enabled         =   0   'False
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Caption         =   "删除(&D)"
      CaptionMouseOverColor=   16711680
      PictureBackColor=   15790320
      PictureSmoothBackColor=   15790320
      ButtonPicture   =   "Frmresult.frx":4716
   End
   Begin SmartXPButton.XpButton cmdExit 
      Cancel          =   -1  'True
      Height          =   495
      Left            =   6360
      TabIndex        =   6
      Top             =   1440
      Width           =   1335
      _ExtentX        =   2355
      _ExtentY        =   873
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Caption         =   "关闭(&E)"
      CaptionMouseOverColor=   16711680
      PictureBackColor=   15790320
      PictureSmoothBackColor=   15790320
      ButtonPicture   =   "Frmresult.frx":4CB0
   End
End
Attribute VB_Name = "Frmresult"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

    '***************************************************
    '*      学生系统管理系统 V1.0                      *
    '*      开发者:覃能华                             *
    '*      窗  体:成绩管理窗体                       *
    '*      日  期:2003.12.15                         *
    '***************************************************

Dim myResult As OpenRs '声明一个类

Private Sub IsAutoNo() '窗体启动时自动检测考试编号
myResult.rsDK2 "select * from result_info"
If myResult.rs2.EOF = True Then
        txtExamNo.Text = "Exam0001"
        Exit Sub
    ElseIf myResult.rs2.EOF = False Then
        myResult.rs2.MoveLast
        Dim No As Integer
        No = Val(Right(myResult.rs2!exam_no, 4)) + 1
        If No < 10 Then
            txtExamNo.Text = "Exam000" & Trim(Str(No))
        ElseIf No < 100 Then
            txtExamNo.Text = "Exam00" & Trim(Str(No))
        ElseIf No < 1000 Then
            txtExamNo.Text = "Exam0" & Trim(Str(No))
        ElseIf No < 10000 Then

⌨️ 快捷键说明

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