CourseWorkKnapsack/forms/MainForm.Designer.cs

158 lines
5.8 KiB
C#
Raw Permalink Normal View History

2024-05-20 02:52:44 +04:00
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
namespace ProjectKnapsack.forms
{
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 System.Windows.Forms.Button startButton;
private MenuStrip menuStrip;
private ToolStripMenuItem fileMenuItem;
private ToolStripMenuItem saveMenuItem;
private ToolStripMenuItem loadMenuItem;
private ToolStripMenuItem helpMenuItem;
private ToolStripMenuItem aboutMenuItem;
2024-05-29 02:26:53 +04:00
private System.Windows.Forms.Button nextStepButton;
private System.Windows.Forms.Button prevStepButton;
2024-05-20 02:52:44 +04:00
private void InitializeComponent()
{
startButton = new System.Windows.Forms.Button();
menuStrip = new MenuStrip();
fileMenuItem = new ToolStripMenuItem();
saveMenuItem = new ToolStripMenuItem();
loadMenuItem = new ToolStripMenuItem();
helpMenuItem = new ToolStripMenuItem();
aboutMenuItem = new ToolStripMenuItem();
pictureBox1 = new PictureBox();
2024-05-29 02:26:53 +04:00
nextStepButton = new System.Windows.Forms.Button();
prevStepButton = new System.Windows.Forms.Button();
2024-05-20 02:52:44 +04:00
menuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
SuspendLayout();
//
// startButton
//
startButton.Location = new Point(50, 500);
startButton.Name = "startButton";
startButton.Size = new Size(100, 30);
startButton.TabIndex = 0;
startButton.Text = "Start";
startButton.Click += startButton_Click;
//
// menuStrip
//
menuStrip.Items.AddRange(new ToolStripItem[] { fileMenuItem, helpMenuItem });
menuStrip.Location = new Point(0, 0);
menuStrip.Name = "menuStrip";
menuStrip.Size = new Size(800, 24);
menuStrip.TabIndex = 2;
//
// fileMenuItem
//
fileMenuItem.DropDownItems.AddRange(new ToolStripItem[] { saveMenuItem, loadMenuItem });
fileMenuItem.Name = "fileMenuItem";
fileMenuItem.Size = new Size(37, 20);
fileMenuItem.Text = "File";
//
// saveMenuItem
//
saveMenuItem.Name = "saveMenuItem";
saveMenuItem.Size = new Size(100, 22);
saveMenuItem.Text = "Save";
saveMenuItem.Click += saveMenuItem_Click;
//
// loadMenuItem
//
loadMenuItem.Name = "loadMenuItem";
loadMenuItem.Size = new Size(100, 22);
loadMenuItem.Text = "Load";
loadMenuItem.Click += loadMenuItem_Click;
//
// helpMenuItem
//
helpMenuItem.DropDownItems.AddRange(new ToolStripItem[] { aboutMenuItem });
helpMenuItem.Name = "helpMenuItem";
helpMenuItem.Size = new Size(44, 20);
helpMenuItem.Text = "Help";
//
// aboutMenuItem
//
aboutMenuItem.Name = "aboutMenuItem";
aboutMenuItem.Size = new Size(107, 22);
aboutMenuItem.Text = "About";
aboutMenuItem.Click += aboutMenuItem_Click;
//
// pictureBox1
//
pictureBox1.Location = new Point(0, 27);
pictureBox1.Name = "pictureBox1";
pictureBox1.Size = new Size(800, 467);
pictureBox1.TabIndex = 3;
pictureBox1.TabStop = false;
//
2024-05-29 02:26:53 +04:00
// nextStepButton
//
nextStepButton.Location = new Point(318, 500);
nextStepButton.Name = "nextStepButton";
nextStepButton.Size = new Size(120, 40);
nextStepButton.TabIndex = 0;
nextStepButton.Text = "Next Step";
nextStepButton.Click += nextStepButton_Click;
//
// prevStepButton
//
prevStepButton.Location = new Point(178, 500);
prevStepButton.Name = "prevStepButton";
prevStepButton.Size = new Size(120, 40);
prevStepButton.TabIndex = 1;
prevStepButton.Text = "Previous Step";
prevStepButton.Click += prevStepButton_Click;
//
2024-05-20 02:52:44 +04:00
// MainForm
//
ClientSize = new Size(800, 600);
2024-05-29 02:26:53 +04:00
Controls.Add(nextStepButton);
Controls.Add(prevStepButton);
2024-05-20 02:52:44 +04:00
Controls.Add(pictureBox1);
Controls.Add(startButton);
Controls.Add(menuStrip);
MainMenuStrip = menuStrip;
Name = "MainForm";
Text = "Knapsack Problem Visualizer";
menuStrip.ResumeLayout(false);
menuStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private PictureBox pictureBox1;
}
}