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

📄 productseditviewdialog.designer.vb

📁 Microsoft Mobile Development Handbook的代码,有C#,VB,C++的
💻 VB
字号:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class ProductsEditViewDialog
    Inherits System.Windows.Forms.Form

    Public Shared Function Instance(ByVal bindingSource As System.Windows.Forms.BindingSource) As ProductsEditViewDialog
        System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
        If (defaultInstance Is Nothing) Then
            defaultInstance = New DisconnectedServiceAgentExample.ProductsEditViewDialog
            defaultInstance.ProductsBindingSource.DataSource = bindingSource
        End If
        defaultInstance.ProductNameTextBox.Focus()
        defaultInstance.AutoScrollPosition = New System.Drawing.Point(0, 0)
        defaultInstance.ProductsBindingSource.Position = bindingSource.Position
        System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default
        Return defaultInstance
    End Function
    Private Shared defaultInstance As DisconnectedServiceAgentExample.ProductsEditViewDialog
    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer
    Private mainMenu1 As System.Windows.Forms.MainMenu

    '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.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim ProductNameLabel As System.Windows.Forms.Label
        Dim PriceLabel As System.Windows.Forms.Label
        Dim DescriptionLabel As System.Windows.Forms.Label
        Me.mainMenu1 = New System.Windows.Forms.MainMenu
        Me.ProductsBindingSource = New System.Windows.Forms.BindingSource(Me.components)
        Me.ProductNameTextBox = New System.Windows.Forms.TextBox
        Me.PriceTextBox = New System.Windows.Forms.TextBox
        Me.DescriptionTextBox = New System.Windows.Forms.TextBox
        Me.topBorderPanel = New System.Windows.Forms.Panel
        Me.leftBorderPanel = New System.Windows.Forms.Panel
        Me.rightBorderPanel = New System.Windows.Forms.Panel
        ProductNameLabel = New System.Windows.Forms.Label
        PriceLabel = New System.Windows.Forms.Label
        DescriptionLabel = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'ProductsBindingSource
        '
        Me.ProductsBindingSource.DataMember = "Products"
        Me.ProductsBindingSource.DataSource = GetType(DisconnectedServiceAgentExample.AppDatabaseDataSet)
        '
        'ProductNameLabel
        '
        ProductNameLabel.Dock = System.Windows.Forms.DockStyle.Top
        ProductNameLabel.Font = New System.Drawing.Font("Tahoma", 9.0!, System.Drawing.FontStyle.Bold)
        ProductNameLabel.Location = New System.Drawing.Point(4, 4)
        ProductNameLabel.Name = "ProductNameLabel"
        ProductNameLabel.Size = New System.Drawing.Size(97, 21)
        ProductNameLabel.Text = "Product Name:"
        '
        'ProductNameTextBox
        '
        Me.ProductNameTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.ProductsBindingSource, "ProductName", True))
        Me.ProductNameTextBox.Dock = System.Windows.Forms.DockStyle.Top
        Me.ProductNameTextBox.Location = New System.Drawing.Point(4, 18)
        Me.ProductNameTextBox.Name = "ProductNameTextBox"
        Me.ProductNameTextBox.Size = New System.Drawing.Size(100, 21)
        Me.ProductNameTextBox.TabIndex = 1
        '
        'PriceLabel
        '
        PriceLabel.Dock = System.Windows.Forms.DockStyle.Top
        PriceLabel.Font = New System.Drawing.Font("Tahoma", 9.0!, System.Drawing.FontStyle.Bold)
        PriceLabel.Location = New System.Drawing.Point(4, 50)
        PriceLabel.Name = "PriceLabel"
        PriceLabel.Size = New System.Drawing.Size(40, 21)
        PriceLabel.Text = "Price:"
        '
        'PriceTextBox
        '
        Me.PriceTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.ProductsBindingSource, "Price", True))
        Me.PriceTextBox.Dock = System.Windows.Forms.DockStyle.Top
        Me.PriceTextBox.Location = New System.Drawing.Point(4, 64)
        Me.PriceTextBox.Name = "PriceTextBox"
        Me.PriceTextBox.Size = New System.Drawing.Size(100, 21)
        Me.PriceTextBox.TabIndex = 3
        '
        'DescriptionLabel
        '
        DescriptionLabel.Dock = System.Windows.Forms.DockStyle.Top
        DescriptionLabel.Font = New System.Drawing.Font("Tahoma", 9.0!, System.Drawing.FontStyle.Bold)
        DescriptionLabel.Location = New System.Drawing.Point(4, 96)
        DescriptionLabel.Name = "DescriptionLabel"
        DescriptionLabel.Size = New System.Drawing.Size(80, 21)
        DescriptionLabel.Text = "Description:"
        '
        'DescriptionTextBox
        '
        Me.DescriptionTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.ProductsBindingSource, "Description", True))
        Me.DescriptionTextBox.Dock = System.Windows.Forms.DockStyle.Top
        Me.DescriptionTextBox.Location = New System.Drawing.Point(4, 110)
        Me.DescriptionTextBox.Name = "DescriptionTextBox"
        Me.DescriptionTextBox.Size = New System.Drawing.Size(100, 21)
        Me.DescriptionTextBox.TabIndex = 5
        '
        'topBorderPanel
        '
        Me.topBorderPanel.Dock = System.Windows.Forms.DockStyle.Top
        Me.topBorderPanel.Location = New System.Drawing.Point(0, 0)
        Me.topBorderPanel.Name = "topBorderPanel"
        Me.topBorderPanel.Size = New System.Drawing.Size(100, 2)
        '
        'leftBorderPanel
        '
        Me.leftBorderPanel.Dock = System.Windows.Forms.DockStyle.Left
        Me.leftBorderPanel.Location = New System.Drawing.Point(0, 0)
        Me.leftBorderPanel.Name = "leftBorderPanel"
        Me.leftBorderPanel.Size = New System.Drawing.Size(4, 100)
        '
        'rightBorderPanel
        '
        Me.rightBorderPanel.Dock = System.Windows.Forms.DockStyle.Right
        Me.rightBorderPanel.Location = New System.Drawing.Point(0, 0)
        Me.rightBorderPanel.Name = "rightBorderPanel"
        Me.rightBorderPanel.Size = New System.Drawing.Size(4, 100)
        '
        'ProductsEditViewDialog
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(96.0!, 96.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi
        Me.AutoScroll = True
        Me.ClientSize = New System.Drawing.Size(240, 268)
        Me.Controls.Add(Me.DescriptionTextBox)
        Me.Controls.Add(DescriptionLabel)
        Me.Controls.Add(Me.PriceTextBox)
        Me.Controls.Add(PriceLabel)
        Me.Controls.Add(Me.ProductNameTextBox)
        Me.Controls.Add(ProductNameLabel)
        Me.Controls.Add(Me.topBorderPanel)
        Me.Controls.Add(Me.leftBorderPanel)
        Me.Controls.Add(Me.rightBorderPanel)
        Me.Menu = Me.mainMenu1
        Me.MinimizeBox = False
        Me.Name = "ProductsEditViewDialog"
        Me.Text = "ProductsEditViewDialog"
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents ProductsBindingSource As System.Windows.Forms.BindingSource
    Friend WithEvents ProductNameTextBox As System.Windows.Forms.TextBox
    Friend WithEvents PriceTextBox As System.Windows.Forms.TextBox
    Friend WithEvents DescriptionTextBox As System.Windows.Forms.TextBox
    Friend WithEvents topBorderPanel As System.Windows.Forms.Panel
    Friend WithEvents leftBorderPanel As System.Windows.Forms.Panel
    Friend WithEvents rightBorderPanel As System.Windows.Forms.Panel
End Class

⌨️ 快捷键说明

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