136 lines
5.0 KiB
C#
136 lines
5.0 KiB
C#
|
namespace Cursach
|
|||
|
{
|
|||
|
partial class FormCreate
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
comboBoxNode1 = new ComboBox();
|
|||
|
comboBoxNode2 = new ComboBox();
|
|||
|
buttonAddEdge = new Button();
|
|||
|
treeView = new TreeView();
|
|||
|
bttonSubmit = new Button();
|
|||
|
pictureBox1 = new PictureBox();
|
|||
|
label1 = new Label();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// comboBoxNode1
|
|||
|
//
|
|||
|
comboBoxNode1.DropDownStyle = ComboBoxStyle.DropDownList;
|
|||
|
comboBoxNode1.FormattingEnabled = true;
|
|||
|
comboBoxNode1.Location = new Point(12, 17);
|
|||
|
comboBoxNode1.Name = "comboBoxNode1";
|
|||
|
comboBoxNode1.Size = new Size(151, 28);
|
|||
|
comboBoxNode1.TabIndex = 2;
|
|||
|
comboBoxNode1.SelectedIndexChanged += comboBoxNode1_SelectedIndexChanged;
|
|||
|
//
|
|||
|
// comboBoxNode2
|
|||
|
//
|
|||
|
comboBoxNode2.DropDownStyle = ComboBoxStyle.DropDownList;
|
|||
|
comboBoxNode2.FormattingEnabled = true;
|
|||
|
comboBoxNode2.Location = new Point(12, 51);
|
|||
|
comboBoxNode2.Name = "comboBoxNode2";
|
|||
|
comboBoxNode2.Size = new Size(151, 28);
|
|||
|
comboBoxNode2.TabIndex = 3;
|
|||
|
comboBoxNode2.SelectedIndexChanged += comboBoxNode2_SelectedIndexChanged;
|
|||
|
//
|
|||
|
// buttonAddEdge
|
|||
|
//
|
|||
|
buttonAddEdge.Enabled = false;
|
|||
|
buttonAddEdge.Location = new Point(169, 17);
|
|||
|
buttonAddEdge.Name = "buttonAddEdge";
|
|||
|
buttonAddEdge.Size = new Size(108, 62);
|
|||
|
buttonAddEdge.TabIndex = 5;
|
|||
|
buttonAddEdge.Text = "Добавить ребро";
|
|||
|
buttonAddEdge.UseVisualStyleBackColor = true;
|
|||
|
buttonAddEdge.Click += buttonAddEdge_Click;
|
|||
|
//
|
|||
|
// treeView
|
|||
|
//
|
|||
|
treeView.Location = new Point(12, 86);
|
|||
|
treeView.Name = "treeView";
|
|||
|
treeView.Size = new Size(265, 465);
|
|||
|
treeView.TabIndex = 6;
|
|||
|
treeView.AfterSelect += treeView_AfterSelect_1;
|
|||
|
//
|
|||
|
// bttonSubmit
|
|||
|
//
|
|||
|
bttonSubmit.Location = new Point(12, 557);
|
|||
|
bttonSubmit.Name = "bttonSubmit";
|
|||
|
bttonSubmit.Size = new Size(771, 40);
|
|||
|
bttonSubmit.TabIndex = 7;
|
|||
|
bttonSubmit.Text = "Обойти граф в ширину";
|
|||
|
bttonSubmit.UseVisualStyleBackColor = true;
|
|||
|
bttonSubmit.Click += buttonStart_Click;
|
|||
|
//
|
|||
|
// pictureBox1
|
|||
|
//
|
|||
|
pictureBox1.Location = new Point(281, 51);
|
|||
|
pictureBox1.Name = "pictureBox1";
|
|||
|
pictureBox1.Size = new Size(500, 500);
|
|||
|
pictureBox1.TabIndex = 8;
|
|||
|
pictureBox1.TabStop = false;
|
|||
|
pictureBox1.Click += pictureBox1_Click;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
label1.AutoSize = true;
|
|||
|
label1.Location = new Point(283, 25);
|
|||
|
label1.Name = "label1";
|
|||
|
label1.Size = new Size(320, 20);
|
|||
|
label1.TabIndex = 9;
|
|||
|
label1.Text = "Нажмите на холст, чтобы добавить вершину";
|
|||
|
//
|
|||
|
// FormCreate
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(793, 600);
|
|||
|
Controls.Add(label1);
|
|||
|
Controls.Add(pictureBox1);
|
|||
|
Controls.Add(bttonSubmit);
|
|||
|
Controls.Add(treeView);
|
|||
|
Controls.Add(buttonAddEdge);
|
|||
|
Controls.Add(comboBoxNode2);
|
|||
|
Controls.Add(comboBoxNode1);
|
|||
|
Name = "FormCreate";
|
|||
|
Text = "Создание графа";
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
private ComboBox comboBoxNode1;
|
|||
|
private ComboBox comboBoxNode2;
|
|||
|
private Button buttonAddEdge;
|
|||
|
private TreeView treeView;
|
|||
|
private Button bttonSubmit;
|
|||
|
private PictureBox pictureBox1;
|
|||
|
private Label label1;
|
|||
|
}
|
|||
|
}
|