📄 projectphoto.designer.vb
字号:
Me.btnSaveDS.Name = "btnSaveDS"
Me.btnSaveDS.Size = New System.Drawing.Size(143, 28)
Me.btnSaveDS.TabIndex = 20
Me.btnSaveDS.Text = "Save and Display DataSet"
'
'btnReset
'
Me.btnReset.Enabled = False
Me.btnReset.Location = New System.Drawing.Point(238, 43)
Me.btnReset.Name = "btnReset"
Me.btnReset.Size = New System.Drawing.Size(133, 28)
Me.btnReset.TabIndex = 19
Me.btnReset.Text = "Reset to 240 x 149 Pixels"
'
'gbLayout
'
Me.gbLayout.Controls.Add(Me.rbZoom)
Me.gbLayout.Controls.Add(Me.rbStretch)
Me.gbLayout.Controls.Add(Me.rbNormal)
Me.gbLayout.Location = New System.Drawing.Point(12, 35)
Me.gbLayout.Name = "gbLayout"
Me.gbLayout.Size = New System.Drawing.Size(189, 41)
Me.gbLayout.TabIndex = 18
Me.gbLayout.TabStop = False
Me.gbLayout.Text = "ImageLayout Property"
'
'rbZoom
'
Me.rbZoom.AutoSize = True
Me.rbZoom.Location = New System.Drawing.Point(135, 20)
Me.rbZoom.Name = "rbZoom"
Me.rbZoom.Size = New System.Drawing.Size(48, 17)
Me.rbZoom.TabIndex = 2
Me.rbZoom.Text = "Zoom"
'
'rbStretch
'
Me.rbStretch.AutoSize = True
Me.rbStretch.Location = New System.Drawing.Point(68, 19)
Me.rbStretch.Name = "rbStretch"
Me.rbStretch.Size = New System.Drawing.Size(55, 17)
Me.rbStretch.TabIndex = 1
Me.rbStretch.Text = "Stretch"
'
'rbNormal
'
Me.rbNormal.AutoSize = True
Me.rbNormal.Checked = True
Me.rbNormal.Location = New System.Drawing.Point(7, 20)
Me.rbNormal.Name = "rbNormal"
Me.rbNormal.Size = New System.Drawing.Size(54, 17)
Me.rbNormal.TabIndex = 0
Me.rbNormal.Text = "Normal"
'
'ProductPhotoDataGridView
'
Me.ProductPhotoDataGridView.AllowUserToAddRows = False
Me.ProductPhotoDataGridView.AllowUserToDeleteRows = False
Me.ProductPhotoDataGridView.AutoGenerateColumns = False
Me.ProductPhotoDataGridView.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders
Me.ProductPhotoDataGridView.Columns.Add(Me.DataGridViewTextBoxColumn1)
Me.ProductPhotoDataGridView.Columns.Add(Me.DataGridViewTextBoxColumn2)
Me.ProductPhotoDataGridView.Columns.Add(Me.DataGridViewImageColumn8)
Me.ProductPhotoDataGridView.DataSource = Me.ProductPhotoBindingSource
Me.ProductPhotoDataGridView.Location = New System.Drawing.Point(12, 84)
Me.ProductPhotoDataGridView.Name = "ProductPhotoDataGridView"
Me.ProductPhotoDataGridView.RowTemplate.Resizable = System.Windows.Forms.DataGridViewTriState.[True]
Me.ProductPhotoDataGridView.Size = New System.Drawing.Size(605, 327)
Me.ProductPhotoDataGridView.TabIndex = 21
'
'DataGridViewTextBoxColumn1
'
Me.DataGridViewTextBoxColumn1.DataPropertyName = "ProductPhotoID"
DataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.White
Me.DataGridViewTextBoxColumn1.DefaultCellStyle = DataGridViewCellStyle3
Me.DataGridViewTextBoxColumn1.HeaderText = "ProductPhotoID"
Me.DataGridViewTextBoxColumn1.Name = "ProductPhotoID"
Me.DataGridViewTextBoxColumn1.ReadOnly = True
'
'DataGridViewTextBoxColumn2
'
Me.DataGridViewTextBoxColumn2.DataPropertyName = "LargePhotoFileName"
Me.DataGridViewTextBoxColumn2.HeaderText = "LargePhotoFileName"
Me.DataGridViewTextBoxColumn2.Name = "LargePhotoFileName"
Me.DataGridViewTextBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable
Me.DataGridViewTextBoxColumn2.Width = 125
'
'DataGridViewImageColumn8
'
Me.DataGridViewImageColumn8.DataPropertyName = "LargePhoto"
DataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter
DataGridViewCellStyle4.NullValue = CType(resources.GetObject("DataGridViewCellStyle4.NullValue"), Object)
Me.DataGridViewImageColumn8.DefaultCellStyle = DataGridViewCellStyle4
Me.DataGridViewImageColumn8.HeaderText = "LargePhoto"
Me.DataGridViewImageColumn8.MinimumWidth = 60
Me.DataGridViewImageColumn8.Name = "LargePhoto"
Me.DataGridViewImageColumn8.Width = 240
'
'ProjectPhoto
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(632, 423)
Me.Controls.Add(Me.ProductPhotoDataGridView)
Me.Controls.Add(Me.btnSaveDS)
Me.Controls.Add(Me.btnReset)
Me.Controls.Add(Me.gbLayout)
Me.Controls.Add(Me.ProductPhotoBindingNavigator)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.MaximizeBox = False
Me.Name = "ProjectPhoto"
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
Me.Text = "AdventureWorks ProductPhotos Table"
CType(Me.AdventureWorksDataSet, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.ProductPhotoBindingSource, System.ComponentModel.ISupportInitialize).EndInit()
CType(Me.ProductPhotoBindingNavigator, System.ComponentModel.ISupportInitialize).EndInit()
Me.ProductPhotoBindingNavigator.ResumeLayout(False)
Me.ProductPhotoBindingNavigator.PerformLayout()
Me.gbLayout.ResumeLayout(False)
Me.gbLayout.PerformLayout()
CType(Me.ProductPhotoDataGridView, System.ComponentModel.ISupportInitialize).EndInit()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents AdventureWorksDataSet As DataGridViewImagesAW.AdventureWorksDataSet
Friend WithEvents ProductPhotoBindingSource As System.Windows.Forms.BindingSource
Friend WithEvents ProductPhotoTableAdapter As DataGridViewImagesAW.AdventureWorksDataSetTableAdapters.ProductPhotoTableAdapter
Friend WithEvents ProductPhotoBindingNavigator As System.Windows.Forms.BindingNavigator
Friend WithEvents bindingNavigatorCountItem As System.Windows.Forms.ToolStripLabel
Friend WithEvents bindingNavigatorMoveFirstItem As System.Windows.Forms.ToolStripButton
Friend WithEvents bindingNavigatorMovePreviousItem As System.Windows.Forms.ToolStripButton
Friend WithEvents bindingNavigatorSeparator As System.Windows.Forms.ToolStripSeparator
Friend WithEvents bindingNavigatorPositionItem As System.Windows.Forms.ToolStripTextBox
Friend WithEvents bindingNavigatorSeparator1 As System.Windows.Forms.ToolStripSeparator
Friend WithEvents bindingNavigatorMoveNextItem As System.Windows.Forms.ToolStripButton
Friend WithEvents bindingNavigatorMoveLastItem As System.Windows.Forms.ToolStripButton
Friend WithEvents bindingNavigatorSeparator2 As System.Windows.Forms.ToolStripSeparator
Friend WithEvents bindingNavigatorSaveItem As System.Windows.Forms.ToolStripButton
Friend WithEvents btnSaveDS As System.Windows.Forms.Button
Friend WithEvents btnReset As System.Windows.Forms.Button
Friend WithEvents gbLayout As System.Windows.Forms.GroupBox
Friend WithEvents rbZoom As System.Windows.Forms.RadioButton
Friend WithEvents rbStretch As System.Windows.Forms.RadioButton
Friend WithEvents rbNormal As System.Windows.Forms.RadioButton
Friend WithEvents ProductPhotoDataGridView As System.Windows.Forms.DataGridView
Friend WithEvents DataGridViewTextBoxColumn1 As System.Windows.Forms.DataGridViewTextBoxColumn
Friend WithEvents DataGridViewTextBoxColumn2 As System.Windows.Forms.DataGridViewTextBoxColumn
Friend WithEvents DataGridViewImageColumn8 As System.Windows.Forms.DataGridViewImageColumn
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -