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

📄 addcontactform.vb

📁 CRM ADD 联系人和修改处理,非常理想的一个联系人处理程序
💻 VB
字号:
Public Class AddContactForm
    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 FirstNameTextBox As System.Windows.Forms.TextBox
    Friend WithEvents LastNameTextBox As System.Windows.Forms.TextBox
    Friend WithEvents TelephoneTextBox As System.Windows.Forms.TextBox
    Friend WithEvents EmailAddressTextBox As System.Windows.Forms.TextBox
    Private WithEvents MyAddContactGroupBox As System.Windows.Forms.GroupBox
    Private WithEvents MyOKButton As System.Windows.Forms.Button
    Private WithEvents MyCancelButton As System.Windows.Forms.Button
    Private WithEvents Label1 As System.Windows.Forms.Label
    Private WithEvents Label2 As System.Windows.Forms.Label
    Private WithEvents Label3 As System.Windows.Forms.Label
    Private WithEvents Label4 As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.MyAddContactGroupBox = New System.Windows.Forms.GroupBox
        Me.TelephoneTextBox = New System.Windows.Forms.TextBox
        Me.EmailAddressTextBox = New System.Windows.Forms.TextBox
        Me.LastNameTextBox = New System.Windows.Forms.TextBox
        Me.Label4 = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label1 = New System.Windows.Forms.Label
        Me.FirstNameTextBox = New System.Windows.Forms.TextBox
        Me.MyOKButton = New System.Windows.Forms.Button
        Me.MyCancelButton = New System.Windows.Forms.Button
        Me.MyAddContactGroupBox.SuspendLayout()
        Me.SuspendLayout()
        '
        'MyAddContactGroupBox
        '
        Me.MyAddContactGroupBox.Controls.Add(Me.TelephoneTextBox)
        Me.MyAddContactGroupBox.Controls.Add(Me.EmailAddressTextBox)
        Me.MyAddContactGroupBox.Controls.Add(Me.LastNameTextBox)
        Me.MyAddContactGroupBox.Controls.Add(Me.Label4)
        Me.MyAddContactGroupBox.Controls.Add(Me.Label3)
        Me.MyAddContactGroupBox.Controls.Add(Me.Label2)
        Me.MyAddContactGroupBox.Controls.Add(Me.Label1)
        Me.MyAddContactGroupBox.Controls.Add(Me.FirstNameTextBox)
        Me.MyAddContactGroupBox.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.MyAddContactGroupBox.Location = New System.Drawing.Point(8, 8)
        Me.MyAddContactGroupBox.Name = "MyAddContactGroupBox"
        Me.MyAddContactGroupBox.Size = New System.Drawing.Size(400, 184)
        Me.MyAddContactGroupBox.TabIndex = 0
        Me.MyAddContactGroupBox.TabStop = False
        Me.MyAddContactGroupBox.Text = "Add Contact"
        '
        'TelephoneTextBox
        '
        Me.TelephoneTextBox.Location = New System.Drawing.Point(144, 104)
        Me.TelephoneTextBox.Name = "TelephoneTextBox"
        Me.TelephoneTextBox.Size = New System.Drawing.Size(224, 20)
        Me.TelephoneTextBox.TabIndex = 7
        Me.TelephoneTextBox.Text = ""
        '
        'EmailAddressTextBox
        '
        Me.EmailAddressTextBox.Location = New System.Drawing.Point(144, 144)
        Me.EmailAddressTextBox.Name = "EmailAddressTextBox"
        Me.EmailAddressTextBox.Size = New System.Drawing.Size(224, 20)
        Me.EmailAddressTextBox.TabIndex = 6
        Me.EmailAddressTextBox.Text = ""
        '
        'LastNameTextBox
        '
        Me.LastNameTextBox.Location = New System.Drawing.Point(144, 64)
        Me.LastNameTextBox.Name = "LastNameTextBox"
        Me.LastNameTextBox.Size = New System.Drawing.Size(224, 20)
        Me.LastNameTextBox.TabIndex = 5
        Me.LastNameTextBox.Text = ""
        '
        'Label4
        '
        Me.Label4.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.Label4.Location = New System.Drawing.Point(24, 144)
        Me.Label4.Name = "Label4"
        Me.Label4.TabIndex = 4
        Me.Label4.Text = "Email Address"
        '
        'Label3
        '
        Me.Label3.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.Label3.Location = New System.Drawing.Point(24, 104)
        Me.Label3.Name = "Label3"
        Me.Label3.TabIndex = 3
        Me.Label3.Text = "Telephone"
        '
        'Label2
        '
        Me.Label2.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.Label2.Location = New System.Drawing.Point(24, 64)
        Me.Label2.Name = "Label2"
        Me.Label2.TabIndex = 2
        Me.Label2.Text = "Last Name"
        '
        'Label1
        '
        Me.Label1.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.Label1.Location = New System.Drawing.Point(24, 24)
        Me.Label1.Name = "Label1"
        Me.Label1.TabIndex = 1
        Me.Label1.Text = "First Name"
        '
        'FirstNameTextBox
        '
        Me.FirstNameTextBox.Location = New System.Drawing.Point(144, 24)
        Me.FirstNameTextBox.Name = "FirstNameTextBox"
        Me.FirstNameTextBox.Size = New System.Drawing.Size(224, 20)
        Me.FirstNameTextBox.TabIndex = 0
        Me.FirstNameTextBox.Text = ""
        '
        'MyOKButton
        '
        Me.MyOKButton.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.MyOKButton.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.MyOKButton.Location = New System.Drawing.Point(88, 208)
        Me.MyOKButton.Name = "MyOKButton"
        Me.MyOKButton.TabIndex = 1
        Me.MyOKButton.Text = "&OK"
        '
        'MyCancelButton
        '
        Me.MyCancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.MyCancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.MyCancelButton.Location = New System.Drawing.Point(240, 208)
        Me.MyCancelButton.Name = "MyCancelButton"
        Me.MyCancelButton.TabIndex = 2
        Me.MyCancelButton.Text = "&Cancel"
        '
        'AddContactForm
        '
        Me.AcceptButton = Me.MyOKButton
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.CancelButton = Me.MyCancelButton
        Me.ClientSize = New System.Drawing.Size(418, 248)
        Me.ControlBox = False
        Me.Controls.Add(Me.MyCancelButton)
        Me.Controls.Add(Me.MyOKButton)
        Me.Controls.Add(Me.MyAddContactGroupBox)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "AddContactForm"
        Me.ShowInTaskbar = False
        Me.Text = "Add Contact"
        Me.TopMost = True
        Me.MyAddContactGroupBox.ResumeLayout(False)
        Me.ResumeLayout(False)

    End Sub

#End Region

End Class

⌨️ 快捷键说明

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