AEditBookId.frm
上传用户:zhuahui520
上传日期:2007-05-21
资源大小:347k
文件大小:5k
源码类别:

其他智力游戏

开发平台:

Java

  1. VERSION 5.00
  2. Begin VB.Form AEditBookId 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "正在修改借书人员"
  5.    ClientHeight    =   3195
  6.    ClientLeft      =   45
  7.    ClientTop       =   330
  8.    ClientWidth     =   5385
  9.    Icon            =   "AEditBookId.frx":0000
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    ScaleHeight     =   3195
  14.    ScaleWidth      =   5385
  15.    ShowInTaskbar   =   0   'False
  16.    Begin VB.Frame Frame1 
  17.       Height          =   3135
  18.       Left            =   0
  19.       TabIndex        =   0
  20.       Top             =   0
  21.       Width           =   5295
  22.       Begin VB.TextBox txtBookId 
  23.          Height          =   270
  24.          Left            =   1080
  25.          TabIndex        =   8
  26.          Top             =   480
  27.          Width           =   1455
  28.       End
  29.       Begin VB.TextBox txtBookIdName 
  30.          Height          =   270
  31.          Left            =   3480
  32.          TabIndex        =   7
  33.          Top             =   480
  34.          Width           =   1455
  35.       End
  36.       Begin VB.TextBox txtBookIdClass 
  37.          Height          =   270
  38.          Left            =   1080
  39.          TabIndex        =   6
  40.          Top             =   1080
  41.          Width           =   1455
  42.       End
  43.       Begin VB.TextBox txtBookIdDepart 
  44.          Height          =   270
  45.          Left            =   3480
  46.          TabIndex        =   5
  47.          Top             =   1080
  48.          Width           =   1455
  49.       End
  50.       Begin VB.TextBox txtBookIdZhi 
  51.          Height          =   270
  52.          Left            =   1080
  53.          TabIndex        =   4
  54.          Top             =   1680
  55.          Width           =   1455
  56.       End
  57.       Begin VB.Frame Frame2 
  58.          Height          =   135
  59.          Left            =   1080
  60.          TabIndex        =   3
  61.          Top             =   2160
  62.          Width           =   3855
  63.       End
  64.       Begin VB.CommandButton cmdOkCancel 
  65.          Caption         =   "保存(&E)"
  66.          Default         =   -1  'True
  67.          Height          =   375
  68.          Index           =   0
  69.          Left            =   2640
  70.          TabIndex        =   2
  71.          Top             =   2520
  72.          Width           =   975
  73.       End
  74.       Begin VB.CommandButton cmdOkCancel 
  75.          Cancel          =   -1  'True
  76.          Caption         =   "取消(&C)"
  77.          Height          =   375
  78.          Index           =   1
  79.          Left            =   3960
  80.          TabIndex        =   1
  81.          Top             =   2520
  82.          Width           =   975
  83.       End
  84.       Begin VB.Label Label1 
  85.          AutoSize        =   -1  'True
  86.          Caption         =   "借书证号"
  87.          Height          =   180
  88.          Index           =   0
  89.          Left            =   240
  90.          TabIndex        =   13
  91.          Top             =   480
  92.          Width           =   720
  93.       End
  94.       Begin VB.Label Label1 
  95.          AutoSize        =   -1  'True
  96.          Caption         =   "姓    名"
  97.          Height          =   180
  98.          Index           =   1
  99.          Left            =   2640
  100.          TabIndex        =   12
  101.          Top             =   480
  102.          Width           =   720
  103.       End
  104.       Begin VB.Label Label1 
  105.          AutoSize        =   -1  'True
  106.          Caption         =   "班    级"
  107.          Height          =   180
  108.          Index           =   2
  109.          Left            =   240
  110.          TabIndex        =   11
  111.          Top             =   1080
  112.          Width           =   720
  113.       End
  114.       Begin VB.Label Label1 
  115.          AutoSize        =   -1  'True
  116.          Caption         =   "部    门"
  117.          Height          =   180
  118.          Index           =   3
  119.          Left            =   2640
  120.          TabIndex        =   10
  121.          Top             =   1080
  122.          Width           =   720
  123.       End
  124.       Begin VB.Label Label1 
  125.          AutoSize        =   -1  'True
  126.          Caption         =   "职    称"
  127.          Height          =   180
  128.          Index           =   4
  129.          Left            =   240
  130.          TabIndex        =   9
  131.          Top             =   1680
  132.          Width           =   720
  133.       End
  134.       Begin VB.Image Image1 
  135.          Height          =   480
  136.          Left            =   240
  137.          Picture         =   "AEditBookId.frx":0442
  138.          Top             =   2280
  139.          Width           =   480
  140.       End
  141.    End
  142. End
  143. Attribute VB_Name = "AEditBookId"
  144. Attribute VB_GlobalNameSpace = False
  145. Attribute VB_Creatable = False
  146. Attribute VB_PredeclaredId = True
  147. Attribute VB_Exposed = False
  148. Private Sub cmdOkCancel_Click(Index As Integer)
  149. Select Case Index
  150.     Case 0
  151.         mAddEditId = txtBookId & vbNullString
  152.         mAddEditIdName = txtBookIdName & vbNullString
  153.         mAddEditIdClass = txtBookIdClass & vbNullString & " "
  154.         mAddEditIdDepart = txtBookIdDepart & vbNullString & " "
  155.         mAddEditIdZhi = txtBookIdZhi & vbNullString & " "
  156.         mSave = True
  157.         Unload Me
  158.     Case 1
  159.         mSave = False
  160.         Unload Me
  161. End Select
  162. End Sub
  163. Private Sub Form_Load()
  164. txtBookId.Text = mAddEditId
  165. txtBookIdName = mAddEditIdName
  166. txtBookIdClass = mAddEditIdClass
  167. txtBookIdDepart = mAddEditIdDepart
  168. txtBookIdZhi = mAddEditIdZhi
  169. End Sub