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 13:47:29 +03:00
|
|
|
|
upPanel = new Panel();
|
2024-10-10 10:32:32 +03:00
|
|
|
|
debugCheck = new CheckBox();
|
2024-10-10 13:47:29 +03:00
|
|
|
|
downPanel = new Panel();
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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();
|
2024-10-10 13:47:29 +03:00
|
|
|
|
upPanel.SuspendLayout();
|
2024-10-10 10:32:32 +03:00
|
|
|
|
buttonsPanel.SuspendLayout();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
carsPanel.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
// upPanel
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
upPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
upPanel.Controls.Add(debugCheck);
|
|
|
|
|
upPanel.Dock = DockStyle.Top;
|
|
|
|
|
upPanel.Location = new Point(0, 24);
|
|
|
|
|
upPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
upPanel.Name = "upPanel";
|
|
|
|
|
upPanel.Size = new Size(891, 23);
|
|
|
|
|
upPanel.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-10 13:47:29 +03:00
|
|
|
|
// downPanel
|
2024-10-06 14:05:10 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
downPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
downPanel.Dock = DockStyle.Bottom;
|
|
|
|
|
downPanel.Location = new Point(0, 534);
|
|
|
|
|
downPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
downPanel.Name = "downPanel";
|
|
|
|
|
downPanel.Size = new Size(891, 23);
|
|
|
|
|
downPanel.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 12:30:53 +03:00
|
|
|
|
openFileToolStripMenuItem.Size = new Size(170, 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 12:30:53 +03:00
|
|
|
|
saveToolStripMenuItem.Size = new Size(170, 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 12:30:53 +03:00
|
|
|
|
saveAsКакToolStripMenuItem.Size = new Size(170, 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 12:30:53 +03:00
|
|
|
|
toolStripSeparator2.Size = new Size(167, 6);
|
2024-10-08 11:44:50 +03:00
|
|
|
|
//
|
|
|
|
|
// newToolStripMenuItem
|
|
|
|
|
//
|
2024-10-10 10:32:32 +03:00
|
|
|
|
newToolStripMenuItem.Name = "newToolStripMenuItem";
|
2024-10-10 12:30:53 +03:00
|
|
|
|
newToolStripMenuItem.Size = new Size(170, 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 12:30:53 +03:00
|
|
|
|
toolStripSeparator1.Size = new Size(167, 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 12:30:53 +03:00
|
|
|
|
exitToolStripMenuItem.Size = new Size(170, 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";
|
2024-10-10 14:40:22 +03:00
|
|
|
|
textToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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";
|
2024-10-10 14:40:22 +03:00
|
|
|
|
colorToolStripMenuItem.Size = new Size(180, 22);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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-10 13:47:29 +03:00
|
|
|
|
buttonPanelToolStripMenuItem.Click += buttonPanelToolStripMenuItem_Click;
|
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-10 13:47:29 +03:00
|
|
|
|
parameterPanelToolStripMenuItem.Click += parameterPanelToolStripMenuItem_Click;
|
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-10 13:47:29 +03:00
|
|
|
|
carPanelToolStripMenuItem.Click += carPanelToolStripMenuItem_Click;
|
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-10 13:47:29 +03:00
|
|
|
|
top_downPanelToolStripMenuItem.Click += top_downPanelToolStripMenuItem_Click;
|
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-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-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;
|
2024-10-10 13:47:29 +03:00
|
|
|
|
carsItems.BackColor = Color.White;
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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);
|
2024-10-10 13:47:29 +03:00
|
|
|
|
Controls.Add(downPanel);
|
|
|
|
|
Controls.Add(upPanel);
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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 13:47:29 +03:00
|
|
|
|
upPanel.ResumeLayout(false);
|
|
|
|
|
upPanel.PerformLayout();
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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 13:47:29 +03:00
|
|
|
|
private Panel upPanel;
|
|
|
|
|
private Panel downPanel;
|
2024-10-10 10:32:32 +03:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|