2023-12-29 03:24:17 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace ProjectBulldozer
|
2023-11-30 02:11:18 +04:00
|
|
|
|
{
|
|
|
|
|
partial class FormTractorCollections
|
|
|
|
|
{
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
maskedTextBoxNumber = new MaskedTextBox();
|
|
|
|
|
ButtonRefreshCollection = new Button();
|
|
|
|
|
ButtonRemoveTractor = new Button();
|
|
|
|
|
ButtonAddTractor = new Button();
|
|
|
|
|
pictureBoxCollections = new PictureBox();
|
2023-11-30 02:46:03 +04:00
|
|
|
|
textBoxStorageName = new TextBox();
|
|
|
|
|
groupBox1 = new GroupBox();
|
|
|
|
|
listBoxStorage = new ListBox();
|
|
|
|
|
ButtonAddObject = new Button();
|
|
|
|
|
ButtonRemoveObject = new Button();
|
|
|
|
|
Instruments = new GroupBox();
|
2023-12-13 18:25:07 +04:00
|
|
|
|
openFileDialog = new OpenFileDialog();
|
|
|
|
|
saveFileDialog = new SaveFileDialog();
|
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
файлToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
сохранитьToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
загрузитьToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
toolStripMenuItem1 = new ToolStripMenuItem();
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ButtonSortByType = new Button();
|
|
|
|
|
ButtonSortByColor = new Button();
|
2023-12-29 03:24:17 +04:00
|
|
|
|
((ISupportInitialize)pictureBoxCollections).BeginInit();
|
2023-11-30 02:46:03 +04:00
|
|
|
|
groupBox1.SuspendLayout();
|
|
|
|
|
Instruments.SuspendLayout();
|
2023-12-13 18:25:07 +04:00
|
|
|
|
menuStrip1.SuspendLayout();
|
2023-11-30 02:11:18 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// maskedTextBoxNumber
|
|
|
|
|
//
|
2023-11-30 02:46:03 +04:00
|
|
|
|
maskedTextBoxNumber.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
maskedTextBoxNumber.Location = new Point(35, 379);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
maskedTextBoxNumber.Margin = new Padding(3, 2, 3, 2);
|
2023-12-29 03:24:17 +04:00
|
|
|
|
maskedTextBoxNumber.Mask = "00";
|
2023-11-30 02:11:18 +04:00
|
|
|
|
maskedTextBoxNumber.Name = "maskedTextBoxNumber";
|
2023-12-29 06:20:55 +04:00
|
|
|
|
maskedTextBoxNumber.Size = new Size(132, 23);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
maskedTextBoxNumber.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// ButtonRefreshCollection
|
|
|
|
|
//
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonRefreshCollection.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ButtonRefreshCollection.Location = new Point(33, 441);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonRefreshCollection.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonRefreshCollection.Name = "ButtonRefreshCollection";
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonRefreshCollection.Size = new Size(131, 31);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonRefreshCollection.TabIndex = 2;
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonRefreshCollection.Text = "Обновить все";
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonRefreshCollection.UseVisualStyleBackColor = true;
|
2023-12-13 18:25:07 +04:00
|
|
|
|
ButtonRefreshCollection.Click += ButtonRefreshCollection_Click;
|
2023-11-30 02:11:18 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRemoveTractor
|
|
|
|
|
//
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonRemoveTractor.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ButtonRemoveTractor.Location = new Point(35, 406);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonRemoveTractor.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonRemoveTractor.Name = "ButtonRemoveTractor";
|
2023-12-13 18:25:07 +04:00
|
|
|
|
ButtonRemoveTractor.Size = new Size(131, 31);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonRemoveTractor.TabIndex = 1;
|
|
|
|
|
ButtonRemoveTractor.Text = "Удалить объект";
|
|
|
|
|
ButtonRemoveTractor.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRemoveTractor.Click += ButtonRemoveTractor_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonAddTractor
|
|
|
|
|
//
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonAddTractor.Anchor = AnchorStyles.Top;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ButtonAddTractor.Location = new Point(35, 337);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonAddTractor.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonAddTractor.Name = "ButtonAddTractor";
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonAddTractor.Size = new Size(131, 29);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ButtonAddTractor.TabIndex = 0;
|
|
|
|
|
ButtonAddTractor.Text = "Добавить объект";
|
|
|
|
|
ButtonAddTractor.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonAddTractor.Click += ButtonAddTractor_Click;
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxCollections
|
|
|
|
|
//
|
2023-11-30 02:46:03 +04:00
|
|
|
|
pictureBoxCollections.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2023-12-13 18:25:07 +04:00
|
|
|
|
pictureBoxCollections.Location = new Point(0, 26);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
pictureBoxCollections.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
pictureBoxCollections.Name = "pictureBoxCollections";
|
2023-12-29 06:20:55 +04:00
|
|
|
|
pictureBoxCollections.Size = new Size(697, 474);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
pictureBoxCollections.TabIndex = 1;
|
|
|
|
|
pictureBoxCollections.TabStop = false;
|
2023-12-13 18:25:07 +04:00
|
|
|
|
pictureBoxCollections.Click += pictureBoxCollections_Click;
|
2023-11-30 02:46:03 +04:00
|
|
|
|
//
|
|
|
|
|
// textBoxStorageName
|
|
|
|
|
//
|
2023-12-29 06:20:55 +04:00
|
|
|
|
textBoxStorageName.Location = new Point(27, 22);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
textBoxStorageName.Name = "textBoxStorageName";
|
|
|
|
|
textBoxStorageName.Size = new Size(131, 23);
|
|
|
|
|
textBoxStorageName.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
groupBox1.Controls.Add(listBoxStorage);
|
|
|
|
|
groupBox1.Controls.Add(ButtonAddObject);
|
|
|
|
|
groupBox1.Controls.Add(ButtonRemoveObject);
|
|
|
|
|
groupBox1.Controls.Add(textBoxStorageName);
|
|
|
|
|
groupBox1.Location = new Point(6, 22);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
2023-12-29 06:20:55 +04:00
|
|
|
|
groupBox1.Size = new Size(189, 219);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
groupBox1.TabIndex = 5;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Наборы";
|
|
|
|
|
//
|
|
|
|
|
// listBoxStorage
|
|
|
|
|
//
|
|
|
|
|
listBoxStorage.FormattingEnabled = true;
|
|
|
|
|
listBoxStorage.ItemHeight = 15;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
listBoxStorage.Location = new Point(27, 84);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
listBoxStorage.Name = "listBoxStorage";
|
|
|
|
|
listBoxStorage.Size = new Size(131, 94);
|
|
|
|
|
listBoxStorage.TabIndex = 9;
|
|
|
|
|
listBoxStorage.SelectedIndexChanged += listBoxStorage_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// ButtonAddObject
|
|
|
|
|
//
|
|
|
|
|
ButtonAddObject.Anchor = AnchorStyles.Top;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ButtonAddObject.Location = new Point(27, 50);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonAddObject.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonAddObject.Name = "ButtonAddObject";
|
|
|
|
|
ButtonAddObject.Size = new Size(131, 29);
|
|
|
|
|
ButtonAddObject.TabIndex = 7;
|
|
|
|
|
ButtonAddObject.Text = "Добавить набор";
|
|
|
|
|
ButtonAddObject.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonAddObject.Click += ButtonAddObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonRemoveObject
|
|
|
|
|
//
|
|
|
|
|
ButtonRemoveObject.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ButtonRemoveObject.Location = new Point(27, 181);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
ButtonRemoveObject.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonRemoveObject.Name = "ButtonRemoveObject";
|
|
|
|
|
ButtonRemoveObject.Size = new Size(131, 33);
|
|
|
|
|
ButtonRemoveObject.TabIndex = 8;
|
|
|
|
|
ButtonRemoveObject.Text = "Удалить набор";
|
|
|
|
|
ButtonRemoveObject.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRemoveObject.Click += ButtonRemoveObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// Instruments
|
|
|
|
|
//
|
2023-12-29 06:20:55 +04:00
|
|
|
|
Instruments.Controls.Add(ButtonSortByColor);
|
|
|
|
|
Instruments.Controls.Add(ButtonSortByType);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
Instruments.Controls.Add(ButtonRefreshCollection);
|
|
|
|
|
Instruments.Controls.Add(groupBox1);
|
|
|
|
|
Instruments.Controls.Add(maskedTextBoxNumber);
|
|
|
|
|
Instruments.Controls.Add(ButtonAddTractor);
|
|
|
|
|
Instruments.Controls.Add(ButtonRemoveTractor);
|
2023-12-29 06:20:55 +04:00
|
|
|
|
Instruments.Location = new Point(703, 26);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
Instruments.Name = "Instruments";
|
2023-12-29 06:20:55 +04:00
|
|
|
|
Instruments.Size = new Size(201, 464);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
Instruments.TabIndex = 6;
|
|
|
|
|
Instruments.TabStop = false;
|
|
|
|
|
Instruments.Text = "Инструменты";
|
2023-11-30 02:11:18 +04:00
|
|
|
|
//
|
2023-12-13 18:25:07 +04:00
|
|
|
|
// openFileDialog
|
|
|
|
|
//
|
|
|
|
|
openFileDialog.FileName = "openFileDialog";
|
|
|
|
|
openFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
openFileDialog.FileOk += openFileDialog_FileOk;
|
|
|
|
|
//
|
|
|
|
|
// saveFileDialog
|
|
|
|
|
//
|
|
|
|
|
saveFileDialog.FileName = "saveFileDialog";
|
|
|
|
|
saveFileDialog.Filter = "txt file | *.txt";
|
|
|
|
|
saveFileDialog.FileOk += saveFileDialog_FileOk;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { файлToolStripMenuItem });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Padding = new Padding(5, 2, 0, 2);
|
|
|
|
|
menuStrip1.RenderMode = ToolStripRenderMode.System;
|
|
|
|
|
menuStrip1.Size = new Size(904, 24);
|
|
|
|
|
menuStrip1.TabIndex = 6;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// файлToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
файлToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { сохранитьToolStripMenuItem, загрузитьToolStripMenuItem });
|
|
|
|
|
файлToolStripMenuItem.Name = "файлToolStripMenuItem";
|
|
|
|
|
файлToolStripMenuItem.Size = new Size(50, 20);
|
|
|
|
|
файлToolStripMenuItem.Text = "Файл";
|
|
|
|
|
файлToolStripMenuItem.Click += файлToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// сохранитьToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
сохранитьToolStripMenuItem.Name = "сохранитьToolStripMenuItem";
|
|
|
|
|
сохранитьToolStripMenuItem.Size = new Size(135, 22);
|
|
|
|
|
сохранитьToolStripMenuItem.Text = "Сохранить";
|
|
|
|
|
сохранитьToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// загрузитьToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
загрузитьToolStripMenuItem.Name = "загрузитьToolStripMenuItem";
|
|
|
|
|
загрузитьToolStripMenuItem.Size = new Size(135, 22);
|
|
|
|
|
загрузитьToolStripMenuItem.Text = "Загрузить";
|
|
|
|
|
загрузитьToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
|
|
|
toolStripMenuItem1.Size = new Size(32, 19);
|
|
|
|
|
//
|
2023-12-29 06:20:55 +04:00
|
|
|
|
// ButtonSortByType
|
|
|
|
|
//
|
|
|
|
|
ButtonSortByType.Location = new Point(33, 247);
|
|
|
|
|
ButtonSortByType.Name = "ButtonSortByType";
|
|
|
|
|
ButtonSortByType.Size = new Size(131, 41);
|
|
|
|
|
ButtonSortByType.TabIndex = 7;
|
|
|
|
|
ButtonSortByType.Text = "Сортировать по типу";
|
|
|
|
|
ButtonSortByType.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonSortByType.Click += ButtonSortByType_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonSortByColor
|
|
|
|
|
//
|
|
|
|
|
ButtonSortByColor.Location = new Point(33, 294);
|
|
|
|
|
ButtonSortByColor.Name = "ButtonSortByColor";
|
|
|
|
|
ButtonSortByColor.Size = new Size(131, 38);
|
|
|
|
|
ButtonSortByColor.TabIndex = 8;
|
|
|
|
|
ButtonSortByColor.Text = "Сортировать по цвету";
|
|
|
|
|
ButtonSortByColor.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonSortByColor.Click += ButtonSortByColor_Click;
|
|
|
|
|
//
|
2023-11-30 02:11:18 +04:00
|
|
|
|
// FormTractorCollections
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
ClientSize = new Size(904, 509);
|
2023-11-30 02:11:18 +04:00
|
|
|
|
Controls.Add(Instruments);
|
2023-11-30 02:46:03 +04:00
|
|
|
|
Controls.Add(pictureBoxCollections);
|
2023-12-13 18:25:07 +04:00
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
2023-11-30 02:11:18 +04:00
|
|
|
|
Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
Name = "FormTractorCollections";
|
2023-12-13 18:25:07 +04:00
|
|
|
|
Text = "Набор объектов";
|
2023-12-29 03:24:17 +04:00
|
|
|
|
((ISupportInitialize)pictureBoxCollections).EndInit();
|
2023-11-30 02:46:03 +04:00
|
|
|
|
groupBox1.ResumeLayout(false);
|
|
|
|
|
groupBox1.PerformLayout();
|
2023-11-30 02:11:18 +04:00
|
|
|
|
Instruments.ResumeLayout(false);
|
|
|
|
|
Instruments.PerformLayout();
|
2023-12-13 18:25:07 +04:00
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
2023-11-30 02:11:18 +04:00
|
|
|
|
ResumeLayout(false);
|
2023-12-13 18:25:07 +04:00
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
2023-12-29 03:24:17 +04:00
|
|
|
|
|
|
|
|
|
private void файлToolStripMenuItem_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void saveFileDialog_FileOk(object sender, CancelEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void openFileDialog_FileOk(object sender, CancelEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-13 18:25:07 +04:00
|
|
|
|
private void pictureBoxCollections_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
2023-11-30 02:23:07 +04:00
|
|
|
|
}
|
2023-11-30 02:11:18 +04:00
|
|
|
|
private Button ButtonRefreshCollection;
|
|
|
|
|
private Button ButtonRemoveTractor;
|
|
|
|
|
private Button ButtonAddTractor;
|
|
|
|
|
private PictureBox pictureBoxCollections;
|
|
|
|
|
private MaskedTextBox maskedTextBoxNumber;
|
2023-11-30 02:46:03 +04:00
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private TextBox textBoxStorageName;
|
|
|
|
|
private ListBox listBoxStorage;
|
2023-12-13 18:25:07 +04:00
|
|
|
|
private OpenFileDialog openFileDialog;
|
|
|
|
|
private SaveFileDialog saveFileDialog;
|
2023-11-30 02:46:03 +04:00
|
|
|
|
private Button ButtonAddObject;
|
|
|
|
|
private Button ButtonRemoveObject;
|
2023-12-13 18:25:07 +04:00
|
|
|
|
private GroupBox Instruments;
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem файлToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem сохранитьToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem загрузитьToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem1;
|
2023-12-29 06:20:55 +04:00
|
|
|
|
private Button ButtonSortByColor;
|
|
|
|
|
private Button ButtonSortByType;
|
2023-12-13 18:25:07 +04:00
|
|
|
|
}
|
2023-11-30 02:11:18 +04:00
|
|
|
|
}
|