📄 frmistatus.vb
字号:
' Human Resources Management System (HRMS)
'
' Programmed by: Nura Tijjani Abubakar (ntagrafix@yahoo.com)
' Submitted to: Mr. Ravindran Kanapathy
'
' Oxford Brookes University (OBU)
' Final Year Project (November, 2007)
Imports System.Data.OleDb
Public Class frmIStatus
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents lblStatus As System.Windows.Forms.Label
Friend WithEvents cbxCompany As System.Windows.Forms.ComboBox
Friend WithEvents btnGo As System.Windows.Forms.Button
Friend WithEvents dgIStatus As System.Windows.Forms.DataGrid
Friend WithEvents cbxStatus As System.Windows.Forms.ComboBox
Friend WithEvents DataGridTableStyle1 As System.Windows.Forms.DataGridTableStyle
Friend WithEvents ID As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents Name1 As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents PassportNumber As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents btnClose As System.Windows.Forms.Button
Friend WithEvents IStatus As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents MStatus As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents VStatus As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents Departure As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents Title As System.Windows.Forms.DataGridTextBoxColumn
Friend WithEvents OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter
Friend WithEvents OleDbSelectCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbInsertCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbUpdateCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbDeleteCommand1 As System.Data.OleDb.OleDbCommand
Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmIStatus))
Me.cbxCompany = New System.Windows.Forms.ComboBox
Me.cbxStatus = New System.Windows.Forms.ComboBox
Me.dgIStatus = New System.Windows.Forms.DataGrid
Me.DataGridTableStyle1 = New System.Windows.Forms.DataGridTableStyle
Me.ID = New System.Windows.Forms.DataGridTextBoxColumn
Me.Name1 = New System.Windows.Forms.DataGridTextBoxColumn
Me.PassportNumber = New System.Windows.Forms.DataGridTextBoxColumn
Me.Title = New System.Windows.Forms.DataGridTextBoxColumn
Me.IStatus = New System.Windows.Forms.DataGridTextBoxColumn
Me.MStatus = New System.Windows.Forms.DataGridTextBoxColumn
Me.VStatus = New System.Windows.Forms.DataGridTextBoxColumn
Me.Departure = New System.Windows.Forms.DataGridTextBoxColumn
Me.Label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.lblStatus = New System.Windows.Forms.Label
Me.btnGo = New System.Windows.Forms.Button
Me.btnClose = New System.Windows.Forms.Button
Me.OleDbDataAdapter1 = New System.Data.OleDb.OleDbDataAdapter
Me.OleDbDeleteCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbConnection1 = New System.Data.OleDb.OleDbConnection
Me.OleDbInsertCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbSelectCommand1 = New System.Data.OleDb.OleDbCommand
Me.OleDbUpdateCommand1 = New System.Data.OleDb.OleDbCommand
CType(Me.dgIStatus, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'cbxCompany
'
Me.cbxCompany.Location = New System.Drawing.Point(170, 64)
Me.cbxCompany.Name = "cbxCompany"
Me.cbxCompany.Size = New System.Drawing.Size(200, 21)
Me.cbxCompany.TabIndex = 1
Me.cbxCompany.Text = "Select Company"
'
'cbxStatus
'
Me.cbxStatus.Items.AddRange(New Object() {"ALL", "Yet To", "Attented", "Submitted", "Shortlisted", "Selected", "Pending", "Not Selected", "Not Accepted"})
Me.cbxStatus.Location = New System.Drawing.Point(466, 64)
Me.cbxStatus.Name = "cbxStatus"
Me.cbxStatus.Size = New System.Drawing.Size(184, 21)
Me.cbxStatus.TabIndex = 2
Me.cbxStatus.Text = "Select Status"
'
'dgIStatus
'
Me.dgIStatus.AlternatingBackColor = System.Drawing.Color.Lavender
Me.dgIStatus.BackColor = System.Drawing.Color.WhiteSmoke
Me.dgIStatus.BackgroundColor = System.Drawing.Color.LightGray
Me.dgIStatus.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.dgIStatus.CaptionBackColor = System.Drawing.Color.LightSteelBlue
Me.dgIStatus.CaptionForeColor = System.Drawing.Color.MidnightBlue
Me.dgIStatus.DataMember = ""
Me.dgIStatus.FlatMode = True
Me.dgIStatus.Font = New System.Drawing.Font("Tahoma", 8.0!)
Me.dgIStatus.ForeColor = System.Drawing.Color.MidnightBlue
Me.dgIStatus.GridLineColor = System.Drawing.Color.Gainsboro
Me.dgIStatus.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None
Me.dgIStatus.HeaderBackColor = System.Drawing.Color.MidnightBlue
Me.dgIStatus.HeaderFont = New System.Drawing.Font("Tahoma", 8.0!, System.Drawing.FontStyle.Bold)
Me.dgIStatus.HeaderForeColor = System.Drawing.Color.WhiteSmoke
Me.dgIStatus.LinkColor = System.Drawing.Color.Teal
Me.dgIStatus.Location = New System.Drawing.Point(16, 104)
Me.dgIStatus.Name = "dgIStatus"
Me.dgIStatus.ParentRowsBackColor = System.Drawing.Color.Gainsboro
Me.dgIStatus.ParentRowsForeColor = System.Drawing.Color.MidnightBlue
Me.dgIStatus.ReadOnly = True
Me.dgIStatus.SelectionBackColor = System.Drawing.Color.CadetBlue
Me.dgIStatus.SelectionForeColor = System.Drawing.Color.WhiteSmoke
Me.dgIStatus.Size = New System.Drawing.Size(768, 312)
Me.dgIStatus.TabIndex = 4
Me.dgIStatus.TableStyles.AddRange(New System.Windows.Forms.DataGridTableStyle() {Me.DataGridTableStyle1})
'
'DataGridTableStyle1
'
Me.DataGridTableStyle1.AlternatingBackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(192, Byte))
Me.DataGridTableStyle1.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(192, Byte))
Me.DataGridTableStyle1.DataGrid = Me.dgIStatus
Me.DataGridTableStyle1.ForeColor = System.Drawing.SystemColors.HotTrack
Me.DataGridTableStyle1.GridColumnStyles.AddRange(New System.Windows.Forms.DataGridColumnStyle() {Me.ID, Me.Name1, Me.PassportNumber, Me.Title, Me.IStatus, Me.MStatus, Me.VStatus, Me.Departure})
Me.DataGridTableStyle1.HeaderBackColor = System.Drawing.Color.Navy
Me.DataGridTableStyle1.HeaderForeColor = System.Drawing.Color.Yellow
Me.DataGridTableStyle1.MappingName = "Status"
Me.DataGridTableStyle1.ReadOnly = True
Me.DataGridTableStyle1.RowHeadersVisible = False
'
'ID
'
Me.ID.Format = ""
Me.ID.FormatInfo = Nothing
Me.ID.HeaderText = "ID"
Me.ID.MappingName = "ID"
Me.ID.ReadOnly = True
Me.ID.Width = 50
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -