📄 form1.designer.cs
字号:
namespace test1
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.listView1 = new System.Windows.Forms.ListView();
this.ch1 = new System.Windows.Forms.ColumnHeader();
this.ch2 = new System.Windows.Forms.ColumnHeader();
this.ch3 = new System.Windows.Forms.ColumnHeader();
this.ch4 = new System.Windows.Forms.ColumnHeader();
this.ch5 = new System.Windows.Forms.ColumnHeader();
this.ch6 = new System.Windows.Forms.ColumnHeader();
this.ch7 = new System.Windows.Forms.ColumnHeader();
this.ch8 = new System.Windows.Forms.ColumnHeader();
this.ch9 = new System.Windows.Forms.ColumnHeader();
this.ch10 = new System.Windows.Forms.ColumnHeader();
this.ch11 = new System.Windows.Forms.ColumnHeader();
this.ch12 = new System.Windows.Forms.ColumnHeader();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.请选择实验算法ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.银行家算法ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.随机算法ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.按序分配算法ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.添加新进程PToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.添加新进程NToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.删除上个进程DToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.全部删除AToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.设置系统ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.系统资源总数ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.已用资源数ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3_ppoint = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(30, 273);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(128, 41);
this.button1.TabIndex = 0;
this.button1.Text = "开始模拟分配资源(&B)";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.ch1,
this.ch2,
this.ch3,
this.ch4,
this.ch5,
this.ch6,
this.ch7,
this.ch8,
this.ch9,
this.ch10,
this.ch11,
this.ch12});
this.listView1.GridLines = true;
this.listView1.LabelWrap = false;
this.listView1.Location = new System.Drawing.Point(12, 43);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(777, 123);
this.listView1.TabIndex = 1;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
//
// ch1
//
this.ch1.Text = "进程名称";
this.ch1.Width = 130;
//
// ch2
//
this.ch2.Text = "状态";
this.ch2.Width = 41;
//
// ch3
//
this.ch3.Text = "1类资源";
//
// ch4
//
this.ch4.Text = "2类资源";
//
// ch5
//
this.ch5.Text = "3类资源";
//
// ch6
//
this.ch6.Text = "4类资源";
//
// ch7
//
this.ch7.Text = "5类资源";
//
// ch8
//
this.ch8.Text = "6类资源";
//
// ch9
//
this.ch9.Text = "7类资源";
//
// ch10
//
this.ch10.Text = "8类资源";
//
// ch11
//
this.ch11.Text = "9类资源";
//
// ch12
//
this.ch12.Text = "10类资源";
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.请选择实验算法ToolStripMenuItem,
this.添加新进程PToolStripMenuItem,
this.设置系统ToolStripMenuItem,
this.toolStripMenuItem1});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(801, 24);
this.menuStrip1.TabIndex = 2;
this.menuStrip1.Text = "menuStrip1";
//
// 请选择实验算法ToolStripMenuItem
//
this.请选择实验算法ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.银行家算法ToolStripMenuItem,
this.随机算法ToolStripMenuItem,
this.按序分配算法ToolStripMenuItem});
this.请选择实验算法ToolStripMenuItem.Name = "请选择实验算法ToolStripMenuItem";
this.请选择实验算法ToolStripMenuItem.Size = new System.Drawing.Size(119, 20);
this.请选择实验算法ToolStripMenuItem.Text = "请选择实验算法(&C)";
//
// 银行家算法ToolStripMenuItem
//
this.银行家算法ToolStripMenuItem.Name = "银行家算法ToolStripMenuItem";
this.银行家算法ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.银行家算法ToolStripMenuItem.Text = "银行家算法(&B)";
this.银行家算法ToolStripMenuItem.Click += new System.EventHandler(this.yhj);
//
// 随机算法ToolStripMenuItem
//
this.随机算法ToolStripMenuItem.Name = "随机算法ToolStripMenuItem";
this.随机算法ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.随机算法ToolStripMenuItem.Text = "随机算法(&R)";
this.随机算法ToolStripMenuItem.Click += new System.EventHandler(this.rom);
//
// 按序分配算法ToolStripMenuItem
//
this.按序分配算法ToolStripMenuItem.Name = "按序分配算法ToolStripMenuItem";
this.按序分配算法ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.按序分配算法ToolStripMenuItem.Text = "按序分配算法(&A)";
this.按序分配算法ToolStripMenuItem.Click += new System.EventHandler(this.axfp);
//
// 添加新进程PToolStripMenuItem
//
this.添加新进程PToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.添加新进程NToolStripMenuItem,
this.删除上个进程DToolStripMenuItem,
this.全部删除AToolStripMenuItem});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -