Partial Class FrmAddTask Inherits System.Windows.Forms.Form 'Form 重写 Dispose,以清理组件列表。 Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改它。 '不要使用代码编辑器修改它。 Private Sub InitializeComponent() Me.TableLayoutPanel1 = New System.Windows.Forms.TableLayoutPanel() Me.OK_Button = New System.Windows.Forms.Button() Me.Cancel_Button = New System.Windows.Forms.Button() Me.CboTasksType = New System.Windows.Forms.ComboBox() Me.TabTasksPages = New System.Windows.Forms.TabControl() Me.Label1 = New System.Windows.Forms.Label() Me.TableLayoutPanel1.SuspendLayout Me.SuspendLayout ' 'TableLayoutPanel1 ' Me.TableLayoutPanel1.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles) Me.TableLayoutPanel1.ColumnCount = 2 Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50!)) Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50!)) Me.TableLayoutPanel1.Controls.Add(Me.OK_Button, 0, 0) Me.TableLayoutPanel1.Controls.Add(Me.Cancel_Button, 1, 0) Me.TableLayoutPanel1.Location = New System.Drawing.Point(282, 323) Me.TableLayoutPanel1.Name = "TableLayoutPanel1" Me.TableLayoutPanel1.RowCount = 1 Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50!)) Me.TableLayoutPanel1.Size = New System.Drawing.Size(146, 27) Me.TableLayoutPanel1.TabIndex = 0 ' 'OK_Button ' Me.OK_Button.Anchor = System.Windows.Forms.AnchorStyles.None Me.OK_Button.Location = New System.Drawing.Point(3, 3) Me.OK_Button.Name = "OK_Button" Me.OK_Button.Size = New System.Drawing.Size(67, 21) Me.OK_Button.TabIndex = 0 Me.OK_Button.Text = "确定" ' 'Cancel_Button ' Me.Cancel_Button.Anchor = System.Windows.Forms.AnchorStyles.None Me.Cancel_Button.DialogResult = System.Windows.Forms.DialogResult.Cancel Me.Cancel_Button.Location = New System.Drawing.Point(76, 3) Me.Cancel_Button.Name = "Cancel_Button" Me.Cancel_Button.Size = New System.Drawing.Size(67, 21) Me.Cancel_Button.TabIndex = 1 Me.Cancel_Button.Text = "取消" ' 'CboTasksType ' Me.CboTasksType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList Me.CboTasksType.FormattingEnabled = true Me.CboTasksType.Location = New System.Drawing.Point(71, 30) Me.CboTasksType.Name = "CboTasksType" Me.CboTasksType.Size = New System.Drawing.Size(314, 20) Me.CboTasksType.TabIndex = 1 ' 'TabTasksPages ' Me.TabTasksPages.Location = New System.Drawing.Point(12, 56) Me.TabTasksPages.Name = "TabTasksPages" Me.TabTasksPages.SelectedIndex = 0 Me.TabTasksPages.Size = New System.Drawing.Size(420, 260) Me.TabTasksPages.TabIndex = 2 ' 'Label1 ' Me.Label1.AutoSize = true Me.Label1.Location = New System.Drawing.Point(12, 33) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(53, 12) Me.Label1.TabIndex = 3 Me.Label1.Text = "任务类型" ' 'FrmAddTask ' Me.AcceptButton = Me.OK_Button Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 12!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.CancelButton = Me.Cancel_Button Me.ClientSize = New System.Drawing.Size(440, 361) Me.Controls.Add(Me.Label1) Me.Controls.Add(Me.TabTasksPages) Me.Controls.Add(Me.CboTasksType) Me.Controls.Add(Me.TableLayoutPanel1) Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog Me.MaximizeBox = false Me.MinimizeBox = false Me.Name = "FrmAddTask" Me.ShowInTaskbar = false Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent Me.Text = "FrmAddTask" Me.TableLayoutPanel1.ResumeLayout(false) Me.ResumeLayout(false) Me.PerformLayout End Sub Friend WithEvents TableLayoutPanel1 As System.Windows.Forms.TableLayoutPanel Friend WithEvents OK_Button As System.Windows.Forms.Button Friend WithEvents Cancel_Button As System.Windows.Forms.Button Friend WithEvents CboTasksType As ComboBox Friend WithEvents TabTasksPages As TabControl Friend WithEvents Label1 As Label End Class