261 lines
9.7 KiB
C#
261 lines
9.7 KiB
C#
namespace Lab
|
|
{
|
|
partial class CollectionsFrame
|
|
{
|
|
/// <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()
|
|
{
|
|
panel1 = new Panel();
|
|
panel2 = new Panel();
|
|
DeleteCollectButton = new Button();
|
|
CollectionListBox = new ListBox();
|
|
AddCollectButton = new Button();
|
|
SetTextBox = new TextBox();
|
|
label2 = new Label();
|
|
UpdateButton = new Button();
|
|
DeleteButton = new Button();
|
|
AddButton = new Button();
|
|
CarTextBox = new TextBox();
|
|
label1 = new Label();
|
|
DrawTank = new PictureBox();
|
|
openFileDialog = new OpenFileDialog();
|
|
saveFileDialog = new SaveFileDialog();
|
|
menuStrip1 = new MenuStrip();
|
|
StripMenu = new ToolStripMenuItem();
|
|
SaveItem = new ToolStripMenuItem();
|
|
LoadItem = new ToolStripMenuItem();
|
|
panel1.SuspendLayout();
|
|
panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)DrawTank).BeginInit();
|
|
menuStrip1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.Controls.Add(panel2);
|
|
panel1.Controls.Add(UpdateButton);
|
|
panel1.Controls.Add(DeleteButton);
|
|
panel1.Controls.Add(AddButton);
|
|
panel1.Controls.Add(CarTextBox);
|
|
panel1.Controls.Add(label1);
|
|
panel1.Controls.Add(menuStrip1);
|
|
panel1.Dock = DockStyle.Right;
|
|
panel1.Location = new Point(550, 0);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(250, 514);
|
|
panel1.TabIndex = 0;
|
|
//
|
|
// panel2
|
|
//
|
|
panel2.Controls.Add(DeleteCollectButton);
|
|
panel2.Controls.Add(CollectionListBox);
|
|
panel2.Controls.Add(AddCollectButton);
|
|
panel2.Controls.Add(SetTextBox);
|
|
panel2.Controls.Add(label2);
|
|
panel2.Location = new Point(16, 38);
|
|
panel2.Name = "panel2";
|
|
panel2.Size = new Size(214, 220);
|
|
panel2.TabIndex = 5;
|
|
//
|
|
// DeleteCollectButton
|
|
//
|
|
DeleteCollectButton.Location = new Point(3, 181);
|
|
DeleteCollectButton.Name = "DeleteCollectButton";
|
|
DeleteCollectButton.Size = new Size(208, 29);
|
|
DeleteCollectButton.TabIndex = 4;
|
|
DeleteCollectButton.Text = "Удалить набор";
|
|
DeleteCollectButton.UseVisualStyleBackColor = true;
|
|
DeleteCollectButton.Click += ButtonDelObject_Click;
|
|
//
|
|
// CollectionListBox
|
|
//
|
|
CollectionListBox.FormattingEnabled = true;
|
|
CollectionListBox.ItemHeight = 20;
|
|
CollectionListBox.Location = new Point(3, 91);
|
|
CollectionListBox.Name = "CollectionListBox";
|
|
CollectionListBox.Size = new Size(208, 84);
|
|
CollectionListBox.TabIndex = 3;
|
|
CollectionListBox.SelectedIndexChanged += ListBoxObjects_SelectedIndexChanged;
|
|
//
|
|
// AddCollectButton
|
|
//
|
|
AddCollectButton.Location = new Point(3, 56);
|
|
AddCollectButton.Name = "AddCollectButton";
|
|
AddCollectButton.Size = new Size(208, 29);
|
|
AddCollectButton.TabIndex = 2;
|
|
AddCollectButton.Text = "Добавить набор";
|
|
AddCollectButton.UseVisualStyleBackColor = true;
|
|
AddCollectButton.Click += ButtonAddObject_Click;
|
|
//
|
|
// SetTextBox
|
|
//
|
|
SetTextBox.Location = new Point(2, 23);
|
|
SetTextBox.Name = "SetTextBox";
|
|
SetTextBox.Size = new Size(209, 27);
|
|
SetTextBox.TabIndex = 1;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(3, 0);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(66, 20);
|
|
label2.TabIndex = 0;
|
|
label2.Text = "Наборы";
|
|
//
|
|
// UpdateButton
|
|
//
|
|
UpdateButton.Location = new Point(6, 383);
|
|
UpdateButton.Name = "UpdateButton";
|
|
UpdateButton.Size = new Size(228, 37);
|
|
UpdateButton.TabIndex = 4;
|
|
UpdateButton.Text = "Обновить коллекцию";
|
|
UpdateButton.UseVisualStyleBackColor = true;
|
|
UpdateButton.Click += ButtonRefreshCollection_Click;
|
|
//
|
|
// DeleteButton
|
|
//
|
|
DeleteButton.Location = new Point(6, 340);
|
|
DeleteButton.Name = "DeleteButton";
|
|
DeleteButton.Size = new Size(228, 37);
|
|
DeleteButton.TabIndex = 3;
|
|
DeleteButton.Text = "Удалить автомобиль";
|
|
DeleteButton.UseVisualStyleBackColor = true;
|
|
DeleteButton.Click += ButtonRemoveCar_Click;
|
|
//
|
|
// AddButton
|
|
//
|
|
AddButton.Location = new Point(6, 264);
|
|
AddButton.Name = "AddButton";
|
|
AddButton.Size = new Size(228, 37);
|
|
AddButton.TabIndex = 2;
|
|
AddButton.Text = "Добавить автомобиль";
|
|
AddButton.UseVisualStyleBackColor = true;
|
|
AddButton.Click += ButtonAddCar_Click;
|
|
//
|
|
// CarTextBox
|
|
//
|
|
CarTextBox.Location = new Point(6, 307);
|
|
CarTextBox.Name = "CarTextBox";
|
|
CarTextBox.Size = new Size(228, 27);
|
|
CarTextBox.TabIndex = 1;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(144, 0);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(103, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Инструменты";
|
|
//
|
|
// DrawTank
|
|
//
|
|
DrawTank.Dock = DockStyle.Fill;
|
|
DrawTank.Location = new Point(0, 0);
|
|
DrawTank.Name = "DrawTank";
|
|
DrawTank.Size = new Size(550, 514);
|
|
DrawTank.TabIndex = 1;
|
|
DrawTank.TabStop = false;
|
|
//
|
|
// openFileDialog
|
|
//
|
|
openFileDialog.FileName = "openFileDialog1";
|
|
//
|
|
// menuStrip1
|
|
//
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { StripMenu });
|
|
menuStrip1.Location = new Point(0, 0);
|
|
menuStrip1.Name = "menuStrip1";
|
|
menuStrip1.Size = new Size(250, 28);
|
|
menuStrip1.TabIndex = 6;
|
|
menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// StripMenu
|
|
//
|
|
StripMenu.DropDownItems.AddRange(new ToolStripItem[] { SaveItem, LoadItem });
|
|
StripMenu.Name = "StripMenu";
|
|
StripMenu.Size = new Size(59, 24);
|
|
StripMenu.Text = "Файл";
|
|
//
|
|
// SaveItem
|
|
//
|
|
SaveItem.Name = "SaveItem";
|
|
SaveItem.Size = new Size(224, 26);
|
|
SaveItem.Text = "Сохранить";
|
|
SaveItem.Click += SaveToolStripMenuItem_Click;
|
|
//
|
|
// LoadItem
|
|
//
|
|
LoadItem.Name = "LoadItem";
|
|
LoadItem.Size = new Size(224, 26);
|
|
LoadItem.Text = "Загрузить";
|
|
LoadItem.Click += LoadToolStripMenuItem_Click;
|
|
//
|
|
// CollectionsFrame
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 514);
|
|
Controls.Add(DrawTank);
|
|
Controls.Add(panel1);
|
|
MainMenuStrip = menuStrip1;
|
|
Name = "CollectionsFrame";
|
|
Text = "Гаражи бензовозов";
|
|
panel1.ResumeLayout(false);
|
|
panel1.PerformLayout();
|
|
panel2.ResumeLayout(false);
|
|
panel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)DrawTank).EndInit();
|
|
menuStrip1.ResumeLayout(false);
|
|
menuStrip1.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Panel panel1;
|
|
private Button UpdateButton;
|
|
private Button DeleteButton;
|
|
private Button AddButton;
|
|
private TextBox CarTextBox;
|
|
private Label label1;
|
|
private PictureBox DrawTank;
|
|
private Panel panel2;
|
|
private Button DeleteCollectButton;
|
|
private ListBox CollectionListBox;
|
|
private Button AddCollectButton;
|
|
private TextBox SetTextBox;
|
|
private Label label2;
|
|
private OpenFileDialog openFileDialog;
|
|
private SaveFileDialog saveFileDialog;
|
|
private MenuStrip menuStrip1;
|
|
private ToolStripMenuItem StripMenu;
|
|
private ToolStripMenuItem SaveItem;
|
|
private ToolStripMenuItem LoadItem;
|
|
}
|
|
} |