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

📄 form1.vb

📁 Beginning VB.NET DatabasesAll_Code.rar
💻 VB
📖 第 1 页 / 共 2 页
字号:
Public Class Form1
    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 GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents optOracle As System.Windows.Forms.RadioButton
    Friend WithEvents optSQLServer As System.Windows.Forms.RadioButton
    Friend WithEvents lblStatus As System.Windows.Forms.Label
    Friend WithEvents btnCloseConnection As System.Windows.Forms.Button
    Friend WithEvents btnOpenConnection As System.Windows.Forms.Button
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents txtPassword As System.Windows.Forms.TextBox
    Friend WithEvents txtLoginName As System.Windows.Forms.TextBox
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents txtDatabase As System.Windows.Forms.TextBox
    Friend WithEvents lblDatabase As System.Windows.Forms.Label
    Friend WithEvents txtServer As System.Windows.Forms.TextBox
    Friend WithEvents lblServer As System.Windows.Forms.Label
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents lblProjects As System.Windows.Forms.Label
    Friend WithEvents lblGroups As System.Windows.Forms.Label
    Friend WithEvents btnProjects As System.Windows.Forms.Button
    Friend WithEvents btnGroups As System.Windows.Forms.Button
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.optOracle = New System.Windows.Forms.RadioButton
        Me.optSQLServer = New System.Windows.Forms.RadioButton
        Me.lblStatus = New System.Windows.Forms.Label
        Me.btnCloseConnection = New System.Windows.Forms.Button
        Me.btnOpenConnection = New System.Windows.Forms.Button
        Me.Label4 = New System.Windows.Forms.Label
        Me.txtPassword = New System.Windows.Forms.TextBox
        Me.txtLoginName = New System.Windows.Forms.TextBox
        Me.Label3 = New System.Windows.Forms.Label
        Me.txtDatabase = New System.Windows.Forms.TextBox
        Me.lblDatabase = New System.Windows.Forms.Label
        Me.txtServer = New System.Windows.Forms.TextBox
        Me.lblServer = New System.Windows.Forms.Label
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.lblProjects = New System.Windows.Forms.Label
        Me.lblGroups = New System.Windows.Forms.Label
        Me.btnProjects = New System.Windows.Forms.Button
        Me.btnGroups = New System.Windows.Forms.Button
        Me.GroupBox1.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        Me.SuspendLayout()
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.optOracle)
        Me.GroupBox1.Controls.Add(Me.optSQLServer)
        Me.GroupBox1.Controls.Add(Me.lblStatus)
        Me.GroupBox1.Controls.Add(Me.btnCloseConnection)
        Me.GroupBox1.Controls.Add(Me.btnOpenConnection)
        Me.GroupBox1.Controls.Add(Me.Label4)
        Me.GroupBox1.Controls.Add(Me.txtPassword)
        Me.GroupBox1.Controls.Add(Me.txtLoginName)
        Me.GroupBox1.Controls.Add(Me.Label3)
        Me.GroupBox1.Controls.Add(Me.txtDatabase)
        Me.GroupBox1.Controls.Add(Me.lblDatabase)
        Me.GroupBox1.Controls.Add(Me.txtServer)
        Me.GroupBox1.Controls.Add(Me.lblServer)
        Me.GroupBox1.Location = New System.Drawing.Point(8, 8)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(400, 152)
        Me.GroupBox1.TabIndex = 0
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = "Database Connection"
        '
        'optOracle
        '
        Me.optOracle.Location = New System.Drawing.Point(113, 25)
        Me.optOracle.Name = "optOracle"
        Me.optOracle.Size = New System.Drawing.Size(72, 16)
        Me.optOracle.TabIndex = 25
        Me.optOracle.Text = "Oracle"
        '
        'optSQLServer
        '
        Me.optSQLServer.Checked = True
        Me.optSQLServer.Location = New System.Drawing.Point(25, 25)
        Me.optSQLServer.Name = "optSQLServer"
        Me.optSQLServer.Size = New System.Drawing.Size(88, 16)
        Me.optSQLServer.TabIndex = 24
        Me.optSQLServer.TabStop = True
        Me.optSQLServer.Text = "SQL Server"
        '
        'lblStatus
        '
        Me.lblStatus.Location = New System.Drawing.Point(209, 121)
        Me.lblStatus.Name = "lblStatus"
        Me.lblStatus.Size = New System.Drawing.Size(184, 16)
        Me.lblStatus.TabIndex = 23
        Me.lblStatus.Text = "Database is not set"
        Me.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'btnCloseConnection
        '
        Me.btnCloseConnection.Location = New System.Drawing.Point(313, 57)
        Me.btnCloseConnection.Name = "btnCloseConnection"
        Me.btnCloseConnection.TabIndex = 22
        Me.btnCloseConnection.Text = "Close"
        '
        'btnOpenConnection
        '
        Me.btnOpenConnection.Location = New System.Drawing.Point(313, 25)
        Me.btnOpenConnection.Name = "btnOpenConnection"
        Me.btnOpenConnection.TabIndex = 21
        Me.btnOpenConnection.Text = "Open"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(9, 121)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(72, 16)
        Me.Label4.TabIndex = 20
        Me.Label4.Text = "Password"
        Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'txtPassword
        '
        Me.txtPassword.Location = New System.Drawing.Point(89, 121)
        Me.txtPassword.Name = "txtPassword"
        Me.txtPassword.PasswordChar = Microsoft.VisualBasic.ChrW(42)
        Me.txtPassword.TabIndex = 19
        Me.txtPassword.Text = ""
        '
        'txtLoginName
        '
        Me.txtLoginName.Location = New System.Drawing.Point(89, 97)
        Me.txtLoginName.Name = "txtLoginName"
        Me.txtLoginName.TabIndex = 18
        Me.txtLoginName.Text = ""
        '
        'Label3
        '
        Me.Label3.Location = New System.Drawing.Point(9, 97)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(72, 16)
        Me.Label3.TabIndex = 17
        Me.Label3.Text = "Login Name"
        Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'txtDatabase
        '
        Me.txtDatabase.Location = New System.Drawing.Point(89, 73)
        Me.txtDatabase.Name = "txtDatabase"
        Me.txtDatabase.TabIndex = 16
        Me.txtDatabase.Text = "ProjectTimeTracker"
        '
        'lblDatabase
        '
        Me.lblDatabase.Location = New System.Drawing.Point(9, 73)
        Me.lblDatabase.Name = "lblDatabase"
        Me.lblDatabase.Size = New System.Drawing.Size(72, 16)
        Me.lblDatabase.TabIndex = 15
        Me.lblDatabase.Text = "Database"
        Me.lblDatabase.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'txtServer
        '
        Me.txtServer.Location = New System.Drawing.Point(89, 49)
        Me.txtServer.Name = "txtServer"
        Me.txtServer.TabIndex = 14
        Me.txtServer.Text = ""
        '
        'lblServer
        '
        Me.lblServer.Location = New System.Drawing.Point(9, 49)
        Me.lblServer.Name = "lblServer"
        Me.lblServer.Size = New System.Drawing.Size(72, 16)
        Me.lblServer.TabIndex = 13
        Me.lblServer.Text = "Server"
        Me.lblServer.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'GroupBox2
        '
        Me.GroupBox2.Controls.Add(Me.lblProjects)
        Me.GroupBox2.Controls.Add(Me.lblGroups)
        Me.GroupBox2.Controls.Add(Me.btnProjects)
        Me.GroupBox2.Controls.Add(Me.btnGroups)
        Me.GroupBox2.Location = New System.Drawing.Point(8, 168)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(400, 88)
        Me.GroupBox2.TabIndex = 2
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "Migrations"
        '
        'lblProjects
        '
        Me.lblProjects.Location = New System.Drawing.Point(152, 59)
        Me.lblProjects.Name = "lblProjects"
        Me.lblProjects.Size = New System.Drawing.Size(232, 16)
        Me.lblProjects.TabIndex = 4
        Me.lblProjects.Text = "Not Migrated"
        '
        'lblGroups
        '
        Me.lblGroups.Location = New System.Drawing.Point(152, 27)
        Me.lblGroups.Name = "lblGroups"
        Me.lblGroups.Size = New System.Drawing.Size(232, 16)
        Me.lblGroups.TabIndex = 3
        Me.lblGroups.Text = "Not Migrated"
        '

⌨️ 快捷键说明

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