This commit is contained in:
MisterMLiL 2024-10-10 19:00:53 +03:00
parent 042c137a5a
commit c5cc5db745
19 changed files with 13 additions and 12 deletions

Binary file not shown.

Binary file not shown.

18
MainForm.Designer.cs generated
View File

@ -231,45 +231,45 @@
// openFileToolStripMenuItem // openFileToolStripMenuItem
// //
openFileToolStripMenuItem.Name = "openFileToolStripMenuItem"; openFileToolStripMenuItem.Name = "openFileToolStripMenuItem";
openFileToolStripMenuItem.Size = new Size(170, 22); openFileToolStripMenuItem.Size = new Size(180, 22);
openFileToolStripMenuItem.Text = "Открыть"; openFileToolStripMenuItem.Text = "Открыть";
openFileToolStripMenuItem.Click += openFileToolStripMenuItem_Click; openFileToolStripMenuItem.Click += openFileToolStripMenuItem_Click;
// //
// saveToolStripMenuItem // saveToolStripMenuItem
// //
saveToolStripMenuItem.Name = "saveToolStripMenuItem"; saveToolStripMenuItem.Name = "saveToolStripMenuItem";
saveToolStripMenuItem.Size = new Size(170, 22); saveToolStripMenuItem.Size = new Size(180, 22);
saveToolStripMenuItem.Text = "Сохранить"; saveToolStripMenuItem.Text = "Сохранить";
saveToolStripMenuItem.Click += saveToolStripMenuItem_Click; saveToolStripMenuItem.Click += saveToolStripMenuItem_Click;
// //
// saveAsКакToolStripMenuItem // saveAsКакToolStripMenuItem
// //
saveAsКакToolStripMenuItem.Name = "saveAsКакToolStripMenuItem"; saveAsКакToolStripMenuItem.Name = "saveAsКакToolStripMenuItem";
saveAsКакToolStripMenuItem.Size = new Size(170, 22); saveAsКакToolStripMenuItem.Size = new Size(180, 22);
saveAsКакToolStripMenuItem.Text = "Сохранить как"; saveAsКакToolStripMenuItem.Text = "Сохранить как";
saveAsКакToolStripMenuItem.Click += saveAsКакToolStripMenuItem_Click; saveAsКакToolStripMenuItem.Click += saveAsКакToolStripMenuItem_Click;
// //
// toolStripSeparator2 // toolStripSeparator2
// //
toolStripSeparator2.Name = "toolStripSeparator2"; toolStripSeparator2.Name = "toolStripSeparator2";
toolStripSeparator2.Size = new Size(167, 6); toolStripSeparator2.Size = new Size(177, 6);
// //
// newToolStripMenuItem // newToolStripMenuItem
// //
newToolStripMenuItem.Name = "newToolStripMenuItem"; newToolStripMenuItem.Name = "newToolStripMenuItem";
newToolStripMenuItem.Size = new Size(170, 22); newToolStripMenuItem.Size = new Size(180, 22);
newToolStripMenuItem.Text = "Новый персонаж"; newToolStripMenuItem.Text = "Новый персонаж";
newToolStripMenuItem.Click += newToolStripMenuItem_Click; newToolStripMenuItem.Click += newToolStripMenuItem_Click;
// //
// toolStripSeparator1 // toolStripSeparator1
// //
toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Name = "toolStripSeparator1";
toolStripSeparator1.Size = new Size(167, 6); toolStripSeparator1.Size = new Size(177, 6);
// //
// exitToolStripMenuItem // exitToolStripMenuItem
// //
exitToolStripMenuItem.Name = "exitToolStripMenuItem"; exitToolStripMenuItem.Name = "exitToolStripMenuItem";
exitToolStripMenuItem.Size = new Size(170, 22); exitToolStripMenuItem.Size = new Size(180, 22);
exitToolStripMenuItem.Text = "Выйти"; exitToolStripMenuItem.Text = "Выйти";
exitToolStripMenuItem.Click += exitToolStripMenuItem_Click; exitToolStripMenuItem.Click += exitToolStripMenuItem_Click;
// //
@ -284,7 +284,7 @@
// //
textToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { colorTextToolStripMenuItem, styleTextToolStripMenuItem, toolStripSeparator3, defaultToolStripMenuItem }); textToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { colorTextToolStripMenuItem, styleTextToolStripMenuItem, toolStripSeparator3, defaultToolStripMenuItem });
textToolStripMenuItem.Name = "textToolStripMenuItem"; textToolStripMenuItem.Name = "textToolStripMenuItem";
textToolStripMenuItem.Size = new Size(180, 22); textToolStripMenuItem.Size = new Size(106, 22);
textToolStripMenuItem.Text = "Текст"; textToolStripMenuItem.Text = "Текст";
// //
// colorTextToolStripMenuItem // colorTextToolStripMenuItem
@ -317,7 +317,7 @@
// //
colorToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { buttonPanelToolStripMenuItem, parameterPanelToolStripMenuItem, carPanelToolStripMenuItem, top_downPanelToolStripMenuItem }); colorToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { buttonPanelToolStripMenuItem, parameterPanelToolStripMenuItem, carPanelToolStripMenuItem, top_downPanelToolStripMenuItem });
colorToolStripMenuItem.Name = "colorToolStripMenuItem"; colorToolStripMenuItem.Name = "colorToolStripMenuItem";
colorToolStripMenuItem.Size = new Size(180, 22); colorToolStripMenuItem.Size = new Size(106, 22);
colorToolStripMenuItem.Text = "Цвета"; colorToolStripMenuItem.Text = "Цвета";
// //
// buttonPanelToolStripMenuItem // buttonPanelToolStripMenuItem

View File

@ -129,6 +129,7 @@ namespace GtaVUsersInfo
CarPanelCreate(); CarPanelCreate();
FontSettings.ChangeFontInControls(this, fontSettings); FontSettings.ChangeFontInControls(this, fontSettings);
ChangePanelColor();
} }
private void WindowResize() private void WindowResize()
@ -144,10 +145,10 @@ namespace GtaVUsersInfo
{ {
parametersPanel.Controls.Clear(); parametersPanel.Controls.Clear();
foreach (Control param in parameters) foreach (ParameterControl param in parameters)
{ {
param.Dock = DockStyle.Top; param.Dock = DockStyle.Top;
(param as ParameterControl).MenuStrip = new ParameterItemMenuStrip(addNewParameter, deleteParameter, param as ParameterControl).Menu; param.MenuStrip = new ParameterItemMenuStrip(addNewParameter, deleteParameter, param).Menu;
parametersPanel.Controls.Add(param); parametersPanel.Controls.Add(param);
parametersPanel.Controls.SetChildIndex(param, 0); parametersPanel.Controls.SetChildIndex(param, 0);
} }

View File

@ -4,5 +4,5 @@
"leftPos": 150, "leftPos": 150,
"rightPos": 181, "rightPos": 181,
"isFullScreen": true, "isFullScreen": true,
"prevFile": "C:\\Users\\eugen\\YandexDisk\\БТШ\\Карл.json" "prevFile": "C:\\Users\\eugen\\YandexDisk\\Важное\\GTAV\\123.json"
} }