📄 form1.designer.cs
字号:
this.添加新进程PToolStripMenuItem.Name = "添加新进程PToolStripMenuItem";
this.添加新进程PToolStripMenuItem.Size = new System.Drawing.Size(83, 20);
this.添加新进程PToolStripMenuItem.Text = "进程管理(&P)";
//
// 添加新进程NToolStripMenuItem
//
this.添加新进程NToolStripMenuItem.Name = "添加新进程NToolStripMenuItem";
this.添加新进程NToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.添加新进程NToolStripMenuItem.Text = "添加新进程(&N)";
this.添加新进程NToolStripMenuItem.Click += new System.EventHandler(this.添加新进程NToolStripMenuItem_Click);
//
// 删除上个进程DToolStripMenuItem
//
this.删除上个进程DToolStripMenuItem.Name = "删除上个进程DToolStripMenuItem";
this.删除上个进程DToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.删除上个进程DToolStripMenuItem.Text = "删除上个进程(&D)";
this.删除上个进程DToolStripMenuItem.Click += new System.EventHandler(this.删除上个进程DToolStripMenuItem_Click);
//
// 全部删除AToolStripMenuItem
//
this.全部删除AToolStripMenuItem.Name = "全部删除AToolStripMenuItem";
this.全部删除AToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.全部删除AToolStripMenuItem.Text = "全部删除(&A)";
this.全部删除AToolStripMenuItem.Click += new System.EventHandler(this.全部删除AToolStripMenuItem_Click);
//
// 设置系统ToolStripMenuItem
//
this.设置系统ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.系统资源总数ToolStripMenuItem,
this.已用资源数ToolStripMenuItem});
this.设置系统ToolStripMenuItem.Name = "设置系统ToolStripMenuItem";
this.设置系统ToolStripMenuItem.Size = new System.Drawing.Size(107, 20);
this.设置系统ToolStripMenuItem.Text = "设置系统资源(&E)";
//
// 系统资源总数ToolStripMenuItem
//
this.系统资源总数ToolStripMenuItem.Name = "系统资源总数ToolStripMenuItem";
this.系统资源总数ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
this.系统资源总数ToolStripMenuItem.Text = "系统资源总数";
this.系统资源总数ToolStripMenuItem.Click += new System.EventHandler(this.系统资源总数ToolStripMenuItem_Click);
//
// 已用资源数ToolStripMenuItem
//
this.已用资源数ToolStripMenuItem.Name = "已用资源数ToolStripMenuItem";
this.已用资源数ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
this.已用资源数ToolStripMenuItem.Text = "剩余资源数";
this.已用资源数ToolStripMenuItem.Click += new System.EventHandler(this.已用资源数ToolStripMenuItem_Click);
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Checked = true;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.Location = new System.Drawing.Point(693, 390);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(96, 16);
this.checkBox1.TabIndex = 3;
this.checkBox1.Text = "显示算法结果";
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.cw_sh);
//
// progressBar1
//
this.progressBar1.BackColor = System.Drawing.SystemColors.HighlightText;
this.progressBar1.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.progressBar1.Location = new System.Drawing.Point(291, 202);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(498, 23);
this.progressBar1.TabIndex = 4;
//
// timer1
//
this.timer1.Interval = 2000;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(216, 208);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 14);
this.label1.TabIndex = 5;
this.label1.Text = "分配进度:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(12, 192);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 12);
this.label2.TabIndex = 6;
this.label2.Text = "现有进程数:";
//
// label3_ppoint
//
this.label3_ppoint.AutoSize = true;
this.label3_ppoint.Location = new System.Drawing.Point(89, 192);
this.label3_ppoint.Name = "label3_ppoint";
this.label3_ppoint.Size = new System.Drawing.Size(11, 12);
this.label3_ppoint.TabIndex = 7;
this.label3_ppoint.Text = "0";
//
// button2
//
this.button2.Enabled = false;
this.button2.Location = new System.Drawing.Point(184, 273);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(128, 41);
this.button2.TabIndex = 8;
this.button2.Text = "停止(&S)";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(30, 345);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(128, 41);
this.button3.TabIndex = 9;
this.button3.Text = "输出安全序列(&R)";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(83, 20);
this.toolStripMenuItem1.Text = "关于这个(&O)";
this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.ClientSize = new System.Drawing.Size(801, 418);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.label3_ppoint);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.listView1);
this.Controls.Add(this.button1);
this.Controls.Add(this.menuStrip1);
this.MainMenuStrip = this.menuStrip1;
this.MaximizeBox = false;
this.Name = "Form1";
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
this.Text = "资源分配实验程序v0.1";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.form1_close);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.form1_close);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader ch1;
private System.Windows.Forms.ColumnHeader ch2;
private System.Windows.Forms.ColumnHeader ch3;
private System.Windows.Forms.ColumnHeader ch4;
private System.Windows.Forms.ColumnHeader ch5;
private System.Windows.Forms.ColumnHeader ch6;
private System.Windows.Forms.ColumnHeader ch7;
private System.Windows.Forms.ColumnHeader ch8;
private System.Windows.Forms.ColumnHeader ch9;
private System.Windows.Forms.ColumnHeader ch10;
private System.Windows.Forms.ColumnHeader ch11;
private System.Windows.Forms.ColumnHeader ch12;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem 请选择实验算法ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 银行家算法ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 随机算法ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 按序分配算法ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 添加新进程PToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 添加新进程NToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 删除上个进程DToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 全部删除AToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 设置系统ToolStripMenuItem;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.ProgressBar progressBar1;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3_ppoint;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ToolStripMenuItem 系统资源总数ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 已用资源数ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -