236 lines
8.9 KiB
C#
236 lines
8.9 KiB
C#
namespace Cursach
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
pictureBox1 = new PictureBox();
|
|
buttonNext = new Button();
|
|
buttonPrev = new Button();
|
|
listBox1 = new ListBox();
|
|
listBox2 = new ListBox();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
buttonCreate = new Button();
|
|
progressBar1 = new ProgressBar();
|
|
menuStrip1 = new MenuStrip();
|
|
SaveToolStripMenuItem = new ToolStripMenuItem();
|
|
SaveToolStripMenuItem1 = new ToolStripMenuItem();
|
|
LoadToolStripMenuItem = new ToolStripMenuItem();
|
|
InfoToolStripMenuItem = new ToolStripMenuItem();
|
|
saveFileDialog = new SaveFileDialog();
|
|
openFileDialog = new OpenFileDialog();
|
|
startPointLabel = new Label();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
menuStrip1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBox1
|
|
//
|
|
pictureBox1.Location = new Point(27, 41);
|
|
pictureBox1.Name = "pictureBox1";
|
|
pictureBox1.Size = new Size(500, 500);
|
|
pictureBox1.TabIndex = 0;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// buttonNext
|
|
//
|
|
buttonNext.Location = new Point(666, 41);
|
|
buttonNext.Name = "buttonNext";
|
|
buttonNext.Size = new Size(114, 51);
|
|
buttonNext.TabIndex = 1;
|
|
buttonNext.Text = "Следующее";
|
|
buttonNext.UseVisualStyleBackColor = true;
|
|
buttonNext.Click += buttonNext_Click;
|
|
//
|
|
// buttonPrev
|
|
//
|
|
buttonPrev.Location = new Point(546, 41);
|
|
buttonPrev.Name = "buttonPrev";
|
|
buttonPrev.Size = new Size(114, 51);
|
|
buttonPrev.TabIndex = 2;
|
|
buttonPrev.Text = "Предыдущее";
|
|
buttonPrev.UseVisualStyleBackColor = true;
|
|
buttonPrev.Click += buttonPrev_Click;
|
|
//
|
|
// listBox1
|
|
//
|
|
listBox1.FormattingEnabled = true;
|
|
listBox1.Location = new Point(546, 211);
|
|
listBox1.MultiColumn = true;
|
|
listBox1.Name = "listBox1";
|
|
listBox1.Size = new Size(114, 364);
|
|
listBox1.TabIndex = 3;
|
|
//
|
|
// listBox2
|
|
//
|
|
listBox2.FormattingEnabled = true;
|
|
listBox2.Location = new Point(666, 211);
|
|
listBox2.MultiColumn = true;
|
|
listBox2.Name = "listBox2";
|
|
listBox2.Size = new Size(114, 364);
|
|
listBox2.TabIndex = 4;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(666, 188);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(99, 20);
|
|
label1.TabIndex = 5;
|
|
label1.Text = "Посетившие:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(546, 188);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(72, 20);
|
|
label2.TabIndex = 6;
|
|
label2.Text = "Очередь:";
|
|
//
|
|
// buttonCreate
|
|
//
|
|
buttonCreate.Location = new Point(546, 98);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(234, 51);
|
|
buttonCreate.TabIndex = 7;
|
|
buttonCreate.Text = "Задать граф";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += buttonCreate_Click;
|
|
//
|
|
// progressBar1
|
|
//
|
|
progressBar1.Location = new Point(27, 552);
|
|
progressBar1.Name = "progressBar1";
|
|
progressBar1.Size = new Size(500, 23);
|
|
progressBar1.TabIndex = 8;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { SaveToolStripMenuItem, InfoToolStripMenuItem });
|
|
menuStrip1.Location = new Point(0, 0);
|
|
menuStrip1.Name = "menuStrip1";
|
|
menuStrip1.Size = new Size(792, 28);
|
|
menuStrip1.TabIndex = 9;
|
|
menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// SaveToolStripMenuItem
|
|
//
|
|
SaveToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { SaveToolStripMenuItem1, LoadToolStripMenuItem });
|
|
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
|
|
SaveToolStripMenuItem.Size = new Size(59, 24);
|
|
SaveToolStripMenuItem.Text = "Файл";
|
|
//
|
|
// SaveToolStripMenuItem1
|
|
//
|
|
SaveToolStripMenuItem1.Name = "SaveToolStripMenuItem1";
|
|
SaveToolStripMenuItem1.Size = new Size(166, 26);
|
|
SaveToolStripMenuItem1.Text = "Сохранить";
|
|
SaveToolStripMenuItem1.Click += SaveToolStripMenuItem1_Click;
|
|
//
|
|
// LoadToolStripMenuItem
|
|
//
|
|
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
|
|
LoadToolStripMenuItem.Size = new Size(166, 26);
|
|
LoadToolStripMenuItem.Text = "Загрузить";
|
|
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
|
//
|
|
// InfoToolStripMenuItem
|
|
//
|
|
InfoToolStripMenuItem.Name = "InfoToolStripMenuItem";
|
|
InfoToolStripMenuItem.Size = new Size(116, 24);
|
|
InfoToolStripMenuItem.Text = "Информация";
|
|
InfoToolStripMenuItem.Click += InfoToolStripMenuItem_Click;
|
|
//
|
|
// saveFileDialog
|
|
//
|
|
saveFileDialog.Filter = "states file | *.states";
|
|
//
|
|
// openFileDialog
|
|
//
|
|
openFileDialog.Filter = "states file | *.states";
|
|
//
|
|
// startPointLabel
|
|
//
|
|
startPointLabel.Location = new Point(546, 160);
|
|
startPointLabel.Name = "startPointLabel";
|
|
startPointLabel.Size = new Size(234, 25);
|
|
startPointLabel.TabIndex = 10;
|
|
startPointLabel.Text = "Начальная точка: Null";
|
|
startPointLabel.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// MainForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(792, 583);
|
|
Controls.Add(startPointLabel);
|
|
Controls.Add(progressBar1);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(listBox2);
|
|
Controls.Add(listBox1);
|
|
Controls.Add(buttonPrev);
|
|
Controls.Add(buttonNext);
|
|
Controls.Add(pictureBox1);
|
|
Controls.Add(menuStrip1);
|
|
MainMenuStrip = menuStrip1;
|
|
Name = "MainForm";
|
|
Text = "Визуализатор обхода графа в ширину";
|
|
Load += MainForm_Load;
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
menuStrip1.ResumeLayout(false);
|
|
menuStrip1.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBox1;
|
|
private Button buttonNext;
|
|
private Button buttonPrev;
|
|
private ListBox listBox1;
|
|
private ListBox listBox2;
|
|
private Label label1;
|
|
private Label label2;
|
|
private Button buttonCreate;
|
|
private ProgressBar progressBar1;
|
|
private MenuStrip menuStrip1;
|
|
private ToolStripMenuItem SaveToolStripMenuItem;
|
|
private ToolStripMenuItem SaveToolStripMenuItem1;
|
|
private ToolStripMenuItem LoadToolStripMenuItem;
|
|
private ToolStripMenuItem InfoToolStripMenuItem;
|
|
private SaveFileDialog saveFileDialog;
|
|
private OpenFileDialog openFileDialog;
|
|
private Label startPointLabel;
|
|
}
|
|
}
|