Partial Class Form1 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.Button1 = New System.Windows.Forms.Button() Me.Button4 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.TabControl1 = New System.Windows.Forms.TabControl() Me.TabPage1 = New System.Windows.Forms.TabPage() Me.TextBox4 = New System.Windows.Forms.TextBox() Me.Label6 = New System.Windows.Forms.Label() Me.Label5 = New System.Windows.Forms.Label() Me.Label4 = New System.Windows.Forms.Label() Me.TextBox3 = New System.Windows.Forms.TextBox() Me.Label3 = New System.Windows.Forms.Label() Me.Button6 = New System.Windows.Forms.Button() Me.ListBox1 = New System.Windows.Forms.ListBox() Me.CheckBox1 = New System.Windows.Forms.CheckBox() Me.Button3 = New System.Windows.Forms.Button() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.Label1 = New System.Windows.Forms.Label() Me.TabPage2 = New System.Windows.Forms.TabPage() Me.lbl_taskLimit = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.Button5 = New System.Windows.Forms.Button() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.tab_group = New System.Windows.Forms.TabPage() Me.lbl_appLimit = New System.Windows.Forms.Label() Me.lbl_name = New System.Windows.Forms.Label() Me.txt_groupItems = New System.Windows.Forms.TextBox() Me.TabControl1.SuspendLayout() Me.TabPage1.SuspendLayout() Me.TabPage2.SuspendLayout() Me.tab_group.SuspendLayout() Me.SuspendLayout() ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(6, 18) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(144, 32) Me.Button1.TabIndex = 0 Me.Button1.Text = "停止启动+删除文件" Me.Button1.UseVisualStyleBackColor = True ' 'Button4 ' Me.Button4.Location = New System.Drawing.Point(264, 5) Me.Button4.Name = "Button4" Me.Button4.Size = New System.Drawing.Size(93, 23) Me.Button4.TabIndex = 3 Me.Button4.Text = "继续运行" Me.Button4.UseVisualStyleBackColor = True ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(6, 56) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(144, 32) Me.Button2.TabIndex = 4 Me.Button2.Text = "输出所有的进程" Me.Button2.UseVisualStyleBackColor = True ' 'TabControl1 ' Me.TabControl1.Controls.Add(Me.TabPage1) Me.TabControl1.Controls.Add(Me.TabPage2) Me.TabControl1.Controls.Add(Me.tab_group) Me.TabControl1.Location = New System.Drawing.Point(12, 12) Me.TabControl1.Name = "TabControl1" Me.TabControl1.SelectedIndex = 0 Me.TabControl1.Size = New System.Drawing.Size(352, 232) Me.TabControl1.TabIndex = 5 ' 'TabPage1 ' Me.TabPage1.Controls.Add(Me.TextBox4) Me.TabPage1.Controls.Add(Me.Label6) Me.TabPage1.Controls.Add(Me.Label5) Me.TabPage1.Controls.Add(Me.Label4) Me.TabPage1.Controls.Add(Me.TextBox3) Me.TabPage1.Controls.Add(Me.Label3) Me.TabPage1.Controls.Add(Me.Button6) Me.TabPage1.Controls.Add(Me.ListBox1) Me.TabPage1.Controls.Add(Me.CheckBox1) Me.TabPage1.Controls.Add(Me.Button3) Me.TabPage1.Controls.Add(Me.TextBox1) Me.TabPage1.Controls.Add(Me.Label1) Me.TabPage1.Controls.Add(Me.Button1) Me.TabPage1.Controls.Add(Me.Button2) Me.TabPage1.Location = New System.Drawing.Point(4, 22) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Padding = New System.Windows.Forms.Padding(3) Me.TabPage1.Size = New System.Drawing.Size(344, 206) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = "功能区" Me.TabPage1.UseVisualStyleBackColor = True ' 'TextBox4 ' Me.TextBox4.Enabled = False Me.TextBox4.Location = New System.Drawing.Point(167, 28) Me.TextBox4.Name = "TextBox4" Me.TextBox4.Size = New System.Drawing.Size(162, 21) Me.TextBox4.TabIndex = 15 Me.TextBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Label6 ' Me.Label6.AutoSize = True Me.Label6.Location = New System.Drawing.Point(166, 11) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(77, 12) Me.Label6.TabIndex = 14 Me.Label6.Text = "当前机器码:" ' 'Label5 ' Me.Label5.AutoSize = True Me.Label5.Location = New System.Drawing.Point(165, 113) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(173, 12) Me.Label5.TabIndex = 13 Me.Label5.Text = "注:心跳时间不能超过十分钟。" ' 'Label4 ' Me.Label4.AutoSize = True Me.Label4.Location = New System.Drawing.Point(313, 87) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(17, 12) Me.Label4.TabIndex = 12 Me.Label4.Text = "秒" ' 'TextBox3 ' Me.TextBox3.Enabled = False Me.TextBox3.Location = New System.Drawing.Point(262, 82) Me.TextBox3.Name = "TextBox3" Me.TextBox3.Size = New System.Drawing.Size(48, 21) Me.TextBox3.TabIndex = 11 Me.TextBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Label3 ' Me.Label3.AutoSize = True Me.Label3.Location = New System.Drawing.Point(202, 88) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(65, 12) Me.Label3.TabIndex = 10 Me.Label3.Text = "心跳时间:" ' 'Button6 ' Me.Button6.Location = New System.Drawing.Point(211, 177) Me.Button6.Name = "Button6" Me.Button6.Size = New System.Drawing.Size(118, 23) Me.Button6.TabIndex = 9 Me.Button6.Text = "清除进程" Me.Button6.UseVisualStyleBackColor = True ' 'ListBox1 ' Me.ListBox1.FormattingEnabled = True Me.ListBox1.ItemHeight = 12 Me.ListBox1.Location = New System.Drawing.Point(6, 112) Me.ListBox1.Name = "ListBox1" Me.ListBox1.Size = New System.Drawing.Size(144, 88) Me.ListBox1.TabIndex = 6 ' 'CheckBox1 ' Me.CheckBox1.AutoSize = True Me.CheckBox1.Location = New System.Drawing.Point(6, 94) Me.CheckBox1.Name = "CheckBox1" Me.CheckBox1.Size = New System.Drawing.Size(96, 16) Me.CheckBox1.TabIndex = 8 Me.CheckBox1.Text = "调试进程模式" Me.CheckBox1.UseVisualStyleBackColor = True ' 'Button3 ' Me.Button3.Location = New System.Drawing.Point(211, 136) Me.Button3.Name = "Button3" Me.Button3.Size = New System.Drawing.Size(118, 23) Me.Button3.TabIndex = 7 Me.Button3.Text = "设置" Me.Button3.UseVisualStyleBackColor = True ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(262, 55) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(48, 21) Me.TextBox1.TabIndex = 6 Me.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center ' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.Location = New System.Drawing.Point(190, 61) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(77, 12) Me.Label1.TabIndex = 5 Me.Label1.Text = "当前机器号:" ' 'TabPage2 ' Me.TabPage2.Controls.Add(Me.lbl_taskLimit) Me.TabPage2.Controls.Add(Me.Label2) Me.TabPage2.Controls.Add(Me.Button5) Me.TabPage2.Controls.Add(Me.TextBox2) Me.TabPage2.Location = New System.Drawing.Point(4, 22) Me.TabPage2.Name = "TabPage2" Me.TabPage2.Padding = New System.Windows.Forms.Padding(3) Me.TabPage2.Size = New System.Drawing.Size(344, 206) Me.TabPage2.TabIndex = 1 Me.TabPage2.Text = "添加数据" Me.TabPage2.UseVisualStyleBackColor = True ' 'lbl_taskLimit ' Me.lbl_taskLimit.AutoSize = True Me.lbl_taskLimit.Location = New System.Drawing.Point(6, 178) Me.lbl_taskLimit.Name = "lbl_taskLimit" Me.lbl_taskLimit.Size = New System.Drawing.Size(0, 12) Me.lbl_taskLimit.TabIndex = 3 ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(6, 178) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(204, 18) Me.Label2.TabIndex = 2 Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'Button5 ' Me.Button5.Location = New System.Drawing.Point(216, 171) Me.Button5.Name = "Button5" Me.Button5.Size = New System.Drawing.Size(122, 28) Me.Button5.TabIndex = 1 Me.Button5.Text = "新增进程" Me.Button5.UseVisualStyleBackColor = True ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(6, 6) Me.TextBox2.Multiline = True Me.TextBox2.Name = "TextBox2" Me.TextBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical Me.TextBox2.Size = New System.Drawing.Size(332, 159) Me.TextBox2.TabIndex = 0 ' 'tab_group ' Me.tab_group.Controls.Add(Me.lbl_appLimit) Me.tab_group.Controls.Add(Me.lbl_name) Me.tab_group.Controls.Add(Me.txt_groupItems) Me.tab_group.Location = New System.Drawing.Point(4, 22) Me.tab_group.Name = "tab_group" Me.tab_group.Size = New System.Drawing.Size(344, 206) Me.tab_group.TabIndex = 2 Me.tab_group.Text = "组策略限制" Me.tab_group.UseVisualStyleBackColor = True ' 'lbl_appLimit ' Me.lbl_appLimit.AutoSize = True Me.lbl_appLimit.Location = New System.Drawing.Point(77, 2) Me.lbl_appLimit.Name = "lbl_appLimit" Me.lbl_appLimit.Size = New System.Drawing.Size(0, 12) Me.lbl_appLimit.TabIndex = 4 ' 'lbl_name ' Me.lbl_name.AutoSize = True Me.lbl_name.Dock = System.Windows.Forms.DockStyle.Top Me.lbl_name.Location = New System.Drawing.Point(0, 0) Me.lbl_name.Name = "lbl_name" Me.lbl_name.Size = New System.Drawing.Size(71, 12) Me.lbl_name.TabIndex = 1 Me.lbl_name.Text = "允许程序名:" ' 'txt_groupItems ' Me.txt_groupItems.Dock = System.Windows.Forms.DockStyle.Bottom Me.txt_groupItems.Location = New System.Drawing.Point(0, 26) Me.txt_groupItems.Multiline = True Me.txt_groupItems.Name = "txt_groupItems" Me.txt_groupItems.ScrollBars = System.Windows.Forms.ScrollBars.Vertical Me.txt_groupItems.Size = New System.Drawing.Size(344, 180) Me.txt_groupItems.TabIndex = 0 ' 'Form1 ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(370, 249) Me.Controls.Add(Me.Button4) Me.Controls.Add(Me.TabControl1) Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle Me.MaximizeBox = False Me.Name = "Form1" Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen Me.Text = "管理端" Me.TabControl1.ResumeLayout(False) Me.TabPage1.ResumeLayout(False) Me.TabPage1.PerformLayout() Me.TabPage2.ResumeLayout(False) Me.TabPage2.PerformLayout() Me.tab_group.ResumeLayout(False) Me.tab_group.PerformLayout() Me.ResumeLayout(False) End Sub Friend WithEvents Button1 As Button Friend WithEvents Button4 As Button Friend WithEvents Button2 As Button Friend WithEvents TabControl1 As TabControl Friend WithEvents TabPage1 As TabPage Friend WithEvents TabPage2 As TabPage Friend WithEvents Button3 As Button Friend WithEvents TextBox1 As TextBox Friend WithEvents Label1 As Label Friend WithEvents Button5 As Button Friend WithEvents TextBox2 As TextBox Friend WithEvents Label2 As Label Friend WithEvents CheckBox1 As CheckBox Friend WithEvents Button6 As Button Friend WithEvents ListBox1 As ListBox Friend WithEvents TextBox3 As TextBox Friend WithEvents Label3 As Label Friend WithEvents Label4 As Label Friend WithEvents Label5 As Label Friend WithEvents TextBox4 As TextBox Friend WithEvents Label6 As Label Friend WithEvents tab_group As TabPage Friend WithEvents lbl_name As Label Friend WithEvents txt_groupItems As TextBox Friend WithEvents lbl_appLimit As Label Friend WithEvents lbl_taskLimit As Label End Class