2023-10-04 12:52:06 +04:00
|
|
|
|
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();
|
2023-10-18 12:24:01 +04:00
|
|
|
|
panel2 = new Panel();
|
|
|
|
|
DeleteCollectButton = new Button();
|
|
|
|
|
CollectionListBox = new ListBox();
|
|
|
|
|
AddCollectButton = new Button();
|
|
|
|
|
SetTextBox = new TextBox();
|
|
|
|
|
label2 = new Label();
|
2023-10-04 12:52:06 +04:00
|
|
|
|
UpdateButton = new Button();
|
|
|
|
|
DeleteButton = new Button();
|
|
|
|
|
AddButton = new Button();
|
2023-10-18 12:24:01 +04:00
|
|
|
|
CarTextBox = new TextBox();
|
2023-10-04 12:52:06 +04:00
|
|
|
|
label1 = new Label();
|
|
|
|
|
DrawTank = new PictureBox();
|
|
|
|
|
panel1.SuspendLayout();
|
2023-10-18 12:24:01 +04:00
|
|
|
|
panel2.SuspendLayout();
|
2023-10-04 12:52:06 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)DrawTank).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
panel1.Controls.Add(panel2);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
panel1.Controls.Add(UpdateButton);
|
|
|
|
|
panel1.Controls.Add(DeleteButton);
|
|
|
|
|
panel1.Controls.Add(AddButton);
|
2023-10-18 12:24:01 +04:00
|
|
|
|
panel1.Controls.Add(CarTextBox);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
panel1.Controls.Add(label1);
|
|
|
|
|
panel1.Dock = DockStyle.Right;
|
|
|
|
|
panel1.Location = new Point(550, 0);
|
|
|
|
|
panel1.Name = "panel1";
|
2023-10-18 12:24:01 +04:00
|
|
|
|
panel1.Size = new Size(250, 514);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
panel1.TabIndex = 0;
|
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
// 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 = "Наборы";
|
|
|
|
|
//
|
2023-10-04 12:52:06 +04:00
|
|
|
|
// UpdateButton
|
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
UpdateButton.Location = new Point(10, 401);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
UpdateButton.Name = "UpdateButton";
|
|
|
|
|
UpdateButton.Size = new Size(228, 37);
|
|
|
|
|
UpdateButton.TabIndex = 4;
|
|
|
|
|
UpdateButton.Text = "Обновить коллекцию";
|
|
|
|
|
UpdateButton.UseVisualStyleBackColor = true;
|
|
|
|
|
UpdateButton.Click += ButtonRefreshCollection_Click;
|
|
|
|
|
//
|
|
|
|
|
// DeleteButton
|
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
DeleteButton.Location = new Point(10, 358);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
DeleteButton.Name = "DeleteButton";
|
|
|
|
|
DeleteButton.Size = new Size(228, 37);
|
|
|
|
|
DeleteButton.TabIndex = 3;
|
|
|
|
|
DeleteButton.Text = "Удалить автомобиль";
|
|
|
|
|
DeleteButton.UseVisualStyleBackColor = true;
|
|
|
|
|
DeleteButton.Click += ButtonRemoveCar_Click;
|
|
|
|
|
//
|
|
|
|
|
// AddButton
|
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
AddButton.Location = new Point(10, 282);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
AddButton.Name = "AddButton";
|
|
|
|
|
AddButton.Size = new Size(228, 37);
|
|
|
|
|
AddButton.TabIndex = 2;
|
|
|
|
|
AddButton.Text = "Добавить автомобиль";
|
|
|
|
|
AddButton.UseVisualStyleBackColor = true;
|
2023-10-18 12:24:01 +04:00
|
|
|
|
AddButton.Click += ButtonAddCar_Click;
|
2023-10-04 12:52:06 +04:00
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
// CarTextBox
|
2023-10-04 12:52:06 +04:00
|
|
|
|
//
|
2023-10-18 12:24:01 +04:00
|
|
|
|
CarTextBox.Location = new Point(10, 325);
|
|
|
|
|
CarTextBox.Name = "CarTextBox";
|
|
|
|
|
CarTextBox.Size = new Size(228, 27);
|
|
|
|
|
CarTextBox.TabIndex = 1;
|
2023-10-04 12:52:06 +04:00
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(2, 2);
|
|
|
|
|
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";
|
2023-10-18 12:24:01 +04:00
|
|
|
|
DrawTank.Size = new Size(550, 514);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
DrawTank.TabIndex = 1;
|
|
|
|
|
DrawTank.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// CollectionsFrame
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-10-18 12:24:01 +04:00
|
|
|
|
ClientSize = new Size(800, 514);
|
2023-10-04 12:52:06 +04:00
|
|
|
|
Controls.Add(DrawTank);
|
|
|
|
|
Controls.Add(panel1);
|
|
|
|
|
Name = "CollectionsFrame";
|
2023-10-18 12:28:36 +04:00
|
|
|
|
Text = "Гаражи бензовозов";
|
2023-10-04 12:52:06 +04:00
|
|
|
|
panel1.ResumeLayout(false);
|
|
|
|
|
panel1.PerformLayout();
|
2023-10-18 12:24:01 +04:00
|
|
|
|
panel2.ResumeLayout(false);
|
|
|
|
|
panel2.PerformLayout();
|
2023-10-04 12:52:06 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)DrawTank).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Panel panel1;
|
|
|
|
|
private Button UpdateButton;
|
|
|
|
|
private Button DeleteButton;
|
|
|
|
|
private Button AddButton;
|
2023-10-18 12:24:01 +04:00
|
|
|
|
private TextBox CarTextBox;
|
2023-10-04 12:52:06 +04:00
|
|
|
|
private Label label1;
|
|
|
|
|
private PictureBox DrawTank;
|
2023-10-18 12:24:01 +04:00
|
|
|
|
private Panel panel2;
|
|
|
|
|
private Button DeleteCollectButton;
|
|
|
|
|
private ListBox CollectionListBox;
|
|
|
|
|
private Button AddCollectButton;
|
|
|
|
|
private TextBox SetTextBox;
|
|
|
|
|
private Label label2;
|
2023-10-04 12:52:06 +04:00
|
|
|
|
}
|
|
|
|
|
}
|