2024-10-06 14:05:10 +03:00
|
|
|
|
namespace GtaVUsersInfo
|
|
|
|
|
{
|
|
|
|
|
partial class MainForm
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обязательная переменная конструктора.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Освободить все используемые ресурсы.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Код, автоматически созданный конструктором форм Windows
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-10-10 11:47:27 +03:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
2024-10-10 10:32:32 +03:00
|
|
|
|
panel1 = new Panel();
|
|
|
|
|
debugCheck = new CheckBox();
|
|
|
|
|
panel2 = new Panel();
|
|
|
|
|
buttonsPanel = new Panel();
|
|
|
|
|
readJsonButton = new Button();
|
|
|
|
|
addParameter = new Button();
|
|
|
|
|
parserButton = new Button();
|
|
|
|
|
addCar = new Button();
|
|
|
|
|
addParametrLabel = new Label();
|
|
|
|
|
parametersPanel = new Panel();
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
fileToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
openFileToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
saveToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
saveAsКакToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
toolStripSeparator2 = new ToolStripSeparator();
|
|
|
|
|
newToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
toolStripSeparator1 = new ToolStripSeparator();
|
|
|
|
|
exitToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
styleToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
textToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
colorTextToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
styleTextToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
toolStripSeparator3 = new ToolStripSeparator();
|
|
|
|
|
defaultToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
colorToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
buttonPanelToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
parameterPanelToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
carPanelToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
top_downPanelToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
splitterLeft = new Splitter();
|
|
|
|
|
splitterRigth = new Splitter();
|
|
|
|
|
carsPanel = new Panel();
|
|
|
|
|
carsItems = new FlowLayoutPanel();
|
|
|
|
|
panel1.SuspendLayout();
|
|
|
|
|
buttonsPanel.SuspendLayout();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
carsPanel.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// panel1
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
panel1.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
panel1.Controls.Add(debugCheck);
|
|
|
|
|
panel1.Dock = DockStyle.Top;
|
|
|
|
|
panel1.Location = new Point(0, 24);
|
|
|
|
|
panel1.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
panel1.Name = "panel1";
|
|
|
|
|
panel1.Size = new Size(891, 23);
|
|
|
|
|
panel1.TabIndex = 0;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 09:53:24 +03:00
|
|
|
|
// debugCheck
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
debugCheck.AutoSize = true;
|
|
|
|
|
debugCheck.Dock = DockStyle.Right;
|
|
|
|
|
debugCheck.Location = new Point(874, 0);
|
|
|
|
|
debugCheck.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
debugCheck.Name = "debugCheck";
|
|
|
|
|
debugCheck.Size = new Size(15, 21);
|
|
|
|
|
debugCheck.TabIndex = 0;
|
|
|
|
|
debugCheck.UseVisualStyleBackColor = true;
|
|
|
|
|
debugCheck.CheckedChanged += debugCheck_CheckedChanged;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-06 14:05:10 +03:00
|
|
|
|
// panel2
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
panel2.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
panel2.Dock = DockStyle.Bottom;
|
|
|
|
|
panel2.Location = new Point(0, 534);
|
|
|
|
|
panel2.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
panel2.Name = "panel2";
|
|
|
|
|
panel2.Size = new Size(891, 23);
|
|
|
|
|
panel2.TabIndex = 1;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// buttonsPanel
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
buttonsPanel.AutoScroll = true;
|
|
|
|
|
buttonsPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
buttonsPanel.Controls.Add(readJsonButton);
|
|
|
|
|
buttonsPanel.Controls.Add(addParameter);
|
|
|
|
|
buttonsPanel.Controls.Add(parserButton);
|
|
|
|
|
buttonsPanel.Controls.Add(addCar);
|
|
|
|
|
buttonsPanel.Controls.Add(addParametrLabel);
|
|
|
|
|
buttonsPanel.Dock = DockStyle.Left;
|
|
|
|
|
buttonsPanel.Location = new Point(0, 47);
|
|
|
|
|
buttonsPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonsPanel.MinimumSize = new Size(116, 115);
|
|
|
|
|
buttonsPanel.Name = "buttonsPanel";
|
|
|
|
|
buttonsPanel.Padding = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonsPanel.Size = new Size(135, 487);
|
|
|
|
|
buttonsPanel.TabIndex = 2;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 09:53:24 +03:00
|
|
|
|
// readJsonButton
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
readJsonButton.AutoSize = true;
|
|
|
|
|
readJsonButton.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
readJsonButton.Dock = DockStyle.Bottom;
|
|
|
|
|
readJsonButton.Font = new Font("Microsoft Sans Serif", 6.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
readJsonButton.Location = new Point(4, 438);
|
|
|
|
|
readJsonButton.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
readJsonButton.Name = "readJsonButton";
|
|
|
|
|
readJsonButton.Size = new Size(125, 22);
|
|
|
|
|
readJsonButton.TabIndex = 5;
|
|
|
|
|
readJsonButton.Text = "Считать json";
|
|
|
|
|
readJsonButton.UseVisualStyleBackColor = true;
|
|
|
|
|
readJsonButton.Click += readJsonButton_Click;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// addParameter
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
addParameter.AutoSize = true;
|
|
|
|
|
addParameter.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
addParameter.Dock = DockStyle.Top;
|
|
|
|
|
addParameter.FlatAppearance.BorderSize = 0;
|
|
|
|
|
addParameter.FlatStyle = FlatStyle.Flat;
|
|
|
|
|
addParameter.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
addParameter.Location = new Point(4, 48);
|
|
|
|
|
addParameter.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
addParameter.Name = "addParameter";
|
|
|
|
|
addParameter.Size = new Size(125, 26);
|
|
|
|
|
addParameter.TabIndex = 4;
|
|
|
|
|
addParameter.Text = "Параметр";
|
|
|
|
|
addParameter.UseVisualStyleBackColor = true;
|
|
|
|
|
addParameter.Click += addParameter_Click;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// parserButton
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
parserButton.AutoSize = true;
|
|
|
|
|
parserButton.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
parserButton.Dock = DockStyle.Bottom;
|
|
|
|
|
parserButton.Font = new Font("Microsoft Sans Serif", 6.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
parserButton.Location = new Point(4, 460);
|
|
|
|
|
parserButton.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
parserButton.Name = "parserButton";
|
|
|
|
|
parserButton.Size = new Size(125, 22);
|
|
|
|
|
parserButton.TabIndex = 3;
|
|
|
|
|
parserButton.Text = "Парсинг";
|
|
|
|
|
parserButton.UseVisualStyleBackColor = true;
|
|
|
|
|
parserButton.Click += parserButton_Click;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-06 14:05:10 +03:00
|
|
|
|
// addCar
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
addCar.AutoSize = true;
|
|
|
|
|
addCar.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
addCar.Dock = DockStyle.Top;
|
|
|
|
|
addCar.FlatAppearance.BorderSize = 0;
|
|
|
|
|
addCar.FlatStyle = FlatStyle.Flat;
|
|
|
|
|
addCar.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
addCar.Location = new Point(4, 22);
|
|
|
|
|
addCar.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
addCar.Name = "addCar";
|
|
|
|
|
addCar.Size = new Size(125, 26);
|
|
|
|
|
addCar.TabIndex = 2;
|
|
|
|
|
addCar.Text = "Автомобиль";
|
|
|
|
|
addCar.UseVisualStyleBackColor = true;
|
|
|
|
|
addCar.Click += addCar_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// addParametrLabel
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
addParametrLabel.AutoSize = true;
|
|
|
|
|
addParametrLabel.Dock = DockStyle.Top;
|
|
|
|
|
addParametrLabel.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
addParametrLabel.Location = new Point(4, 3);
|
|
|
|
|
addParametrLabel.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
addParametrLabel.Name = "addParametrLabel";
|
|
|
|
|
addParametrLabel.Padding = new Padding(4, 3, 4, 3);
|
|
|
|
|
addParametrLabel.RightToLeft = RightToLeft.No;
|
|
|
|
|
addParametrLabel.Size = new Size(68, 19);
|
|
|
|
|
addParametrLabel.TabIndex = 1;
|
|
|
|
|
addParametrLabel.Text = "Добавить:";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// parametersPanel
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
parametersPanel.AutoScroll = true;
|
|
|
|
|
parametersPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
parametersPanel.Dock = DockStyle.Right;
|
|
|
|
|
parametersPanel.Location = new Point(658, 47);
|
|
|
|
|
parametersPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
parametersPanel.MinimumSize = new Size(116, 115);
|
|
|
|
|
parametersPanel.Name = "parametersPanel";
|
|
|
|
|
parametersPanel.Size = new Size(233, 487);
|
|
|
|
|
parametersPanel.TabIndex = 3;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-09 21:04:29 +03:00
|
|
|
|
// menuStrip
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
menuStrip.BackColor = Color.White;
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { fileToolStripMenuItem, styleToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Padding = new Padding(7, 2, 0, 2);
|
|
|
|
|
menuStrip.Size = new Size(891, 24);
|
|
|
|
|
menuStrip.TabIndex = 5;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-09 21:04:29 +03:00
|
|
|
|
// fileToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { openFileToolStripMenuItem, saveToolStripMenuItem, saveAsКакToolStripMenuItem, toolStripSeparator2, newToolStripMenuItem, toolStripSeparator1, exitToolStripMenuItem });
|
|
|
|
|
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
|
|
|
fileToolStripMenuItem.Size = new Size(48, 20);
|
|
|
|
|
fileToolStripMenuItem.Text = "Файл";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// openFileToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
openFileToolStripMenuItem.Name = "openFileToolStripMenuItem";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
openFileToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
openFileToolStripMenuItem.Text = "Открыть";
|
|
|
|
|
openFileToolStripMenuItem.Click += openFileToolStripMenuItem_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// saveToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
saveToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
saveToolStripMenuItem.Text = "Сохранить";
|
|
|
|
|
saveToolStripMenuItem.Click += saveToolStripMenuItem_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// saveAsКакToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
saveAsКакToolStripMenuItem.Name = "saveAsКакToolStripMenuItem";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
saveAsКакToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
saveAsКакToolStripMenuItem.Text = "Сохранить как";
|
|
|
|
|
saveAsКакToolStripMenuItem.Click += saveAsКакToolStripMenuItem_Click;
|
2024-10-08 11:44:50 +03:00
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator2
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
toolStripSeparator2.Name = "toolStripSeparator2";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
toolStripSeparator2.Size = new Size(177, 6);
|
2024-10-08 11:44:50 +03:00
|
|
|
|
//
|
|
|
|
|
// newToolStripMenuItem
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
newToolStripMenuItem.Name = "newToolStripMenuItem";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
newToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
newToolStripMenuItem.Text = "Новый персонаж";
|
|
|
|
|
newToolStripMenuItem.Click += newToolStripMenuItem_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator1
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
toolStripSeparator1.Name = "toolStripSeparator1";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
toolStripSeparator1.Size = new Size(177, 6);
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// exitToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
2024-10-10 11:47:27 +03:00
|
|
|
|
exitToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
exitToolStripMenuItem.Text = "Выйти";
|
|
|
|
|
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-09 21:04:29 +03:00
|
|
|
|
// styleToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
styleToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { textToolStripMenuItem, colorToolStripMenuItem });
|
|
|
|
|
styleToolStripMenuItem.Name = "styleToolStripMenuItem";
|
|
|
|
|
styleToolStripMenuItem.Size = new Size(53, 20);
|
|
|
|
|
styleToolStripMenuItem.Text = "Стили";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// textToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
textToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { colorTextToolStripMenuItem, styleTextToolStripMenuItem, toolStripSeparator3, defaultToolStripMenuItem });
|
|
|
|
|
textToolStripMenuItem.Name = "textToolStripMenuItem";
|
|
|
|
|
textToolStripMenuItem.Size = new Size(106, 22);
|
|
|
|
|
textToolStripMenuItem.Text = "Текст";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// colorTextToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
colorTextToolStripMenuItem.Name = "colorTextToolStripMenuItem";
|
|
|
|
|
colorTextToolStripMenuItem.Size = new Size(146, 22);
|
|
|
|
|
colorTextToolStripMenuItem.Text = "Цвет";
|
|
|
|
|
colorTextToolStripMenuItem.Click += colorTextToolStripMenuItem_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// styleTextToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
styleTextToolStripMenuItem.Name = "styleTextToolStripMenuItem";
|
|
|
|
|
styleTextToolStripMenuItem.Size = new Size(146, 22);
|
|
|
|
|
styleTextToolStripMenuItem.Text = "Стиль";
|
|
|
|
|
styleTextToolStripMenuItem.Click += styleTextToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// toolStripSeparator3
|
|
|
|
|
//
|
|
|
|
|
toolStripSeparator3.Name = "toolStripSeparator3";
|
|
|
|
|
toolStripSeparator3.Size = new Size(143, 6);
|
|
|
|
|
//
|
|
|
|
|
// defaultToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
defaultToolStripMenuItem.Name = "defaultToolStripMenuItem";
|
|
|
|
|
defaultToolStripMenuItem.Size = new Size(146, 22);
|
|
|
|
|
defaultToolStripMenuItem.Text = "Стандартные";
|
|
|
|
|
defaultToolStripMenuItem.Click += defaultToolStripMenuItem_Click;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// colorToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
colorToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { buttonPanelToolStripMenuItem, parameterPanelToolStripMenuItem, carPanelToolStripMenuItem, top_downPanelToolStripMenuItem });
|
|
|
|
|
colorToolStripMenuItem.Name = "colorToolStripMenuItem";
|
|
|
|
|
colorToolStripMenuItem.Size = new Size(106, 22);
|
|
|
|
|
colorToolStripMenuItem.Text = "Цвета";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// buttonPanelToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
buttonPanelToolStripMenuItem.Name = "buttonPanelToolStripMenuItem";
|
|
|
|
|
buttonPanelToolStripMenuItem.Size = new Size(188, 22);
|
|
|
|
|
buttonPanelToolStripMenuItem.Text = "Левая панель";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// parameterPanelToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
parameterPanelToolStripMenuItem.Name = "parameterPanelToolStripMenuItem";
|
|
|
|
|
parameterPanelToolStripMenuItem.Size = new Size(188, 22);
|
|
|
|
|
parameterPanelToolStripMenuItem.Text = "Правая панель";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// carPanelToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
carPanelToolStripMenuItem.Name = "carPanelToolStripMenuItem";
|
|
|
|
|
carPanelToolStripMenuItem.Size = new Size(188, 22);
|
|
|
|
|
carPanelToolStripMenuItem.Text = "Центральная панель";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// top_downPanelToolStripMenuItem
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
top_downPanelToolStripMenuItem.Name = "top_downPanelToolStripMenuItem";
|
|
|
|
|
top_downPanelToolStripMenuItem.Size = new Size(188, 22);
|
|
|
|
|
top_downPanelToolStripMenuItem.Text = "Верх/низ";
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// splitterLeft
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
splitterLeft.Location = new Point(135, 47);
|
|
|
|
|
splitterLeft.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
splitterLeft.Name = "splitterLeft";
|
|
|
|
|
splitterLeft.Size = new Size(6, 487);
|
|
|
|
|
splitterLeft.TabIndex = 6;
|
|
|
|
|
splitterLeft.TabStop = false;
|
2024-10-10 11:47:27 +03:00
|
|
|
|
splitterLeft.SplitterMoved += SplitterMoved;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// splitterRigth
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
splitterRigth.Dock = DockStyle.Right;
|
|
|
|
|
splitterRigth.Location = new Point(652, 47);
|
|
|
|
|
splitterRigth.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
splitterRigth.Name = "splitterRigth";
|
|
|
|
|
splitterRigth.Size = new Size(6, 487);
|
|
|
|
|
splitterRigth.TabIndex = 7;
|
|
|
|
|
splitterRigth.TabStop = false;
|
2024-10-10 11:47:27 +03:00
|
|
|
|
splitterRigth.SplitterMoved += SplitterMoved;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
|
|
|
|
// carsPanel
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
carsPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
carsPanel.Controls.Add(carsItems);
|
|
|
|
|
carsPanel.Dock = DockStyle.Fill;
|
|
|
|
|
carsPanel.Location = new Point(141, 47);
|
|
|
|
|
carsPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
carsPanel.Name = "carsPanel";
|
|
|
|
|
carsPanel.Size = new Size(511, 487);
|
|
|
|
|
carsPanel.TabIndex = 8;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-08 09:53:24 +03:00
|
|
|
|
// carsItems
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
carsItems.AutoScroll = true;
|
|
|
|
|
carsItems.Dock = DockStyle.Fill;
|
|
|
|
|
carsItems.Location = new Point(0, 0);
|
|
|
|
|
carsItems.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
carsItems.Name = "carsItems";
|
|
|
|
|
carsItems.Size = new Size(509, 485);
|
|
|
|
|
carsItems.TabIndex = 0;
|
2024-10-09 21:04:29 +03:00
|
|
|
|
//
|
2024-10-06 14:05:10 +03:00
|
|
|
|
// MainForm
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.White;
|
|
|
|
|
ClientSize = new Size(891, 557);
|
|
|
|
|
Controls.Add(carsPanel);
|
|
|
|
|
Controls.Add(splitterRigth);
|
|
|
|
|
Controls.Add(splitterLeft);
|
|
|
|
|
Controls.Add(parametersPanel);
|
|
|
|
|
Controls.Add(buttonsPanel);
|
|
|
|
|
Controls.Add(panel2);
|
|
|
|
|
Controls.Add(panel1);
|
|
|
|
|
Controls.Add(menuStrip);
|
2024-10-10 11:47:27 +03:00
|
|
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
2024-10-10 10:32:32 +03:00
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
MinimumSize = new Size(611, 415);
|
|
|
|
|
Name = "MainForm";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "null";
|
|
|
|
|
FormClosing += MainForm_FormClosing;
|
|
|
|
|
Load += MainForm_Load;
|
2024-10-10 11:47:27 +03:00
|
|
|
|
Resize += MainForm_Resize;
|
2024-10-10 10:32:32 +03:00
|
|
|
|
panel1.ResumeLayout(false);
|
|
|
|
|
panel1.PerformLayout();
|
|
|
|
|
buttonsPanel.ResumeLayout(false);
|
|
|
|
|
buttonsPanel.PerformLayout();
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
carsPanel.ResumeLayout(false);
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-10-06 14:05:10 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2024-10-10 10:32:32 +03:00
|
|
|
|
private Panel panel1;
|
|
|
|
|
private Panel panel2;
|
|
|
|
|
private Panel buttonsPanel;
|
|
|
|
|
private Panel parametersPanel;
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem fileToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem openFileToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem saveToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem saveAsКакToolStripMenuItem;
|
|
|
|
|
private ToolStripSeparator toolStripSeparator1;
|
|
|
|
|
private ToolStripMenuItem exitToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem styleToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem textToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem colorTextToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem styleTextToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem colorToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem buttonPanelToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem parameterPanelToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem carPanelToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem top_downPanelToolStripMenuItem;
|
|
|
|
|
private Button addCar;
|
|
|
|
|
private Label addParametrLabel;
|
|
|
|
|
private Splitter splitterLeft;
|
|
|
|
|
private Splitter splitterRigth;
|
|
|
|
|
private Panel carsPanel;
|
|
|
|
|
private Button parserButton;
|
|
|
|
|
private CheckBox debugCheck;
|
|
|
|
|
private Button addParameter;
|
|
|
|
|
private FlowLayoutPanel carsItems;
|
|
|
|
|
private Button readJsonButton;
|
|
|
|
|
private ToolStripSeparator toolStripSeparator2;
|
|
|
|
|
private ToolStripMenuItem newToolStripMenuItem;
|
|
|
|
|
private ToolStripSeparator toolStripSeparator3;
|
|
|
|
|
private ToolStripMenuItem defaultToolStripMenuItem;
|
2024-10-06 14:05:10 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|