diff --git a/Controls/CarItem.Designer.cs b/Controls/CarItem.Designer.cs
index 1e2ffa9..3ee2289 100644
--- a/Controls/CarItem.Designer.cs
+++ b/Controls/CarItem.Designer.cs
@@ -36,15 +36,15 @@
this.MoneyTextBox = new System.Windows.Forms.TextBox();
this.MoneyLabel = new System.Windows.Forms.Label();
this.ClassPanel = new System.Windows.Forms.Panel();
+ this.ClassTextBox = new System.Windows.Forms.TextBox();
this.ClassLabel = new System.Windows.Forms.Label();
this.NamePanel = new System.Windows.Forms.Panel();
this.ManufacturerLabel = new System.Windows.Forms.Label();
this.NameLabel = new System.Windows.Forms.Label();
this.ModelPanel = new System.Windows.Forms.Panel();
+ this.ModelTextBox = new System.Windows.Forms.TextBox();
this.ModelLabel = new System.Windows.Forms.Label();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.ModelTextBox = new System.Windows.Forms.TextBox();
- this.ClassTextBox = new System.Windows.Forms.TextBox();
this.MainPanel.SuspendLayout();
this.PhotoPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PhotoBox)).BeginInit();
@@ -136,6 +136,18 @@
this.ClassPanel.Size = new System.Drawing.Size(210, 17);
this.ClassPanel.TabIndex = 2;
//
+ // ClassTextBox
+ //
+ this.ClassTextBox.BackColor = System.Drawing.Color.White;
+ this.ClassTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.ClassTextBox.Dock = System.Windows.Forms.DockStyle.Top;
+ this.ClassTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.ClassTextBox.Location = new System.Drawing.Point(48, 0);
+ this.ClassTextBox.Name = "ClassTextBox";
+ this.ClassTextBox.ReadOnly = true;
+ this.ClassTextBox.Size = new System.Drawing.Size(160, 15);
+ this.ClassTextBox.TabIndex = 3;
+ //
// ClassLabel
//
this.ClassLabel.AutoSize = true;
@@ -195,6 +207,18 @@
this.ModelPanel.Size = new System.Drawing.Size(210, 17);
this.ModelPanel.TabIndex = 0;
//
+ // ModelTextBox
+ //
+ this.ModelTextBox.BackColor = System.Drawing.Color.White;
+ this.ModelTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.ModelTextBox.Dock = System.Windows.Forms.DockStyle.Top;
+ this.ModelTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
+ this.ModelTextBox.Location = new System.Drawing.Point(60, 0);
+ this.ModelTextBox.Name = "ModelTextBox";
+ this.ModelTextBox.ReadOnly = true;
+ this.ModelTextBox.Size = new System.Drawing.Size(148, 15);
+ this.ModelTextBox.TabIndex = 2;
+ //
// ModelLabel
//
this.ModelLabel.AutoSize = true;
@@ -211,30 +235,6 @@
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
//
- // ModelTextBox
- //
- this.ModelTextBox.BackColor = System.Drawing.Color.White;
- this.ModelTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.ModelTextBox.Dock = System.Windows.Forms.DockStyle.Top;
- this.ModelTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.ModelTextBox.Location = new System.Drawing.Point(60, 0);
- this.ModelTextBox.Name = "ModelTextBox";
- this.ModelTextBox.ReadOnly = true;
- this.ModelTextBox.Size = new System.Drawing.Size(148, 15);
- this.ModelTextBox.TabIndex = 2;
- //
- // ClassTextBox
- //
- this.ClassTextBox.BackColor = System.Drawing.Color.White;
- this.ClassTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.ClassTextBox.Dock = System.Windows.Forms.DockStyle.Top;
- this.ClassTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
- this.ClassTextBox.Location = new System.Drawing.Point(48, 0);
- this.ClassTextBox.Name = "ClassTextBox";
- this.ClassTextBox.ReadOnly = true;
- this.ClassTextBox.Size = new System.Drawing.Size(160, 15);
- this.ClassTextBox.TabIndex = 3;
- //
// CarItem
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
diff --git a/Controls/CarItem.cs b/Controls/CarItem.cs
index 996d08f..07add4f 100644
--- a/Controls/CarItem.cs
+++ b/Controls/CarItem.cs
@@ -11,18 +11,46 @@ namespace GtaVUsersInfo.Controls
public partial class CarItem : UserControl
{
private static readonly HttpClient httpClient = new HttpClient();
+ private Car car;
+ public Car Car
+ {
+ get { return car; }
+ set { car = value; }
+ }
+
+ public ContextMenuStrip MenuStrip
+ {
+ get { return ContextMenuStrip; }
+ set { ContextMenuStrip = value; }
+ }
+
public CarItem(Car carItem)
{
InitializeComponent();
- NameLabel.Text = carItem.Name;
- ManufacturerLabel.Text = carItem.Manufacturer;
- ClassTextBox.Text = carItem.Class;
- ModelTextBox.Text = carItem.Model;
- MoneyTextBox.Text = '$' + carItem.Price.ToString();
+ Car = carItem;
- LoadImageAsync(carItem.Photo);
+ NameLabel.Text = Car.Name;
+ ManufacturerLabel.Text = Car.Manufacturer;
+ ClassTextBox.Text = Car.Class;
+ ModelTextBox.Text = Car.Model;
+ MoneyTextBox.Text = '$' + Car.Price.ToString();
+
+ LoadImageAsync(Car.Photo);
+ }
+
+ public void EditCar(Car car)
+ {
+ Car = car;
+
+ NameLabel.Text = Car.Name;
+ ManufacturerLabel.Text = Car.Manufacturer;
+ ClassTextBox.Text = Car.Class;
+ ModelTextBox.Text = Car.Model;
+ MoneyTextBox.Text = '$' + Car.Price.ToString();
+
+ LoadImageAsync(Car.Photo);
}
private async void LoadImageAsync(string imageUrl)
@@ -66,6 +94,7 @@ namespace GtaVUsersInfo.Controls
private void carPrice_Leave(object sender, EventArgs e)
{
+ Car.Price = int.Parse((sender as TextBox).Text);
(sender as TextBox).Text = '$' + (sender as TextBox).Text;
}
diff --git a/Controls/CarItemMenuStrip.Designer.cs b/Controls/CarItemMenuStrip.Designer.cs
new file mode 100644
index 0000000..0f54391
--- /dev/null
+++ b/Controls/CarItemMenuStrip.Designer.cs
@@ -0,0 +1,84 @@
+namespace GtaVUsersInfo.Controls
+{
+ partial class CarItemMenuStrip
+ {
+ ///
+ /// Обязательная переменная конструктора.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Освободить все используемые ресурсы.
+ ///
+ /// истинно, если управляемый ресурс должен быть удален; иначе ложно.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Код, автоматически созданный конструктором компонентов
+
+ ///
+ /// Требуемый метод для поддержки конструктора — не изменяйте
+ /// содержимое этого метода с помощью редактора кода.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.myMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addNewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.myMenuStrip.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // myMenuStrip
+ //
+ this.myMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.addNewToolStripMenuItem,
+ this.editToolStripMenuItem,
+ this.deleteToolStripMenuItem});
+ this.myMenuStrip.Name = "contextMenuStrip";
+ this.myMenuStrip.Size = new System.Drawing.Size(181, 92);
+ //
+ // addNewToolStripMenuItem
+ //
+ this.addNewToolStripMenuItem.Name = "addNewToolStripMenuItem";
+ this.addNewToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.addNewToolStripMenuItem.Text = "Создать";
+ //
+ // editToolStripMenuItem
+ //
+ this.editToolStripMenuItem.Name = "editToolStripMenuItem";
+ this.editToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.editToolStripMenuItem.Text = "Изменить";
+ //
+ // deleteToolStripMenuItem
+ //
+ this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
+ this.deleteToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
+ this.deleteToolStripMenuItem.Text = "Удалить";
+ //
+ // CarMenuStrip
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Name = "CarMenuStrip";
+ this.Size = new System.Drawing.Size(158, 245);
+ this.myMenuStrip.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ContextMenuStrip myMenuStrip;
+ private System.Windows.Forms.ToolStripMenuItem addNewToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
+ }
+}
diff --git a/Controls/CarItemMenuStrip.cs b/Controls/CarItemMenuStrip.cs
new file mode 100644
index 0000000..585423a
--- /dev/null
+++ b/Controls/CarItemMenuStrip.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace GtaVUsersInfo.Controls
+{
+ public partial class CarItemMenuStrip : UserControl
+ {
+ public ContextMenuStrip Menu
+ {
+ get { return myMenuStrip; }
+ }
+
+ public CarItem Car;
+
+ public CarItemMenuStrip(EventHandler add, EventHandler edit, EventHandler delete, CarItem car)
+ {
+ InitializeComponent();
+
+ addNewToolStripMenuItem.Click += add;
+ editToolStripMenuItem.Click += edit;
+ deleteToolStripMenuItem.Click += delete;
+
+ Car = car;
+
+ addNewToolStripMenuItem.Tag = this;
+ editToolStripMenuItem.Tag = this;
+ deleteToolStripMenuItem.Tag = this;
+ }
+ }
+}
diff --git a/Controls/CarItemMenuStrip.resx b/Controls/CarItemMenuStrip.resx
new file mode 100644
index 0000000..72c1c54
--- /dev/null
+++ b/Controls/CarItemMenuStrip.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/Controls/CarPanelMenuStrip.Designer.cs b/Controls/CarPanelMenuStrip.Designer.cs
new file mode 100644
index 0000000..f3bab62
--- /dev/null
+++ b/Controls/CarPanelMenuStrip.Designer.cs
@@ -0,0 +1,65 @@
+namespace GtaVUsersInfo.Controls
+{
+ partial class CarPanelMenuStrip
+ {
+ ///
+ /// Обязательная переменная конструктора.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Освободить все используемые ресурсы.
+ ///
+ /// истинно, если управляемый ресурс должен быть удален; иначе ложно.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Код, автоматически созданный конструктором компонентов
+
+ ///
+ /// Требуемый метод для поддержки конструктора — не изменяйте
+ /// содержимое этого метода с помощью редактора кода.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ this.myMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addNewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.myMenuStrip.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // myMenuStrip
+ //
+ this.myMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.addNewToolStripMenuItem});
+ this.myMenuStrip.Name = "contextMenuStrip";
+ this.myMenuStrip.Size = new System.Drawing.Size(118, 26);
+ //
+ // addNewToolStripMenuItem
+ //
+ this.addNewToolStripMenuItem.Name = "addNewToolStripMenuItem";
+ this.addNewToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
+ this.addNewToolStripMenuItem.Text = "Создать";
+ //
+ // CarPanelMenuStrip
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Name = "CarPanelMenuStrip";
+ this.myMenuStrip.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ContextMenuStrip myMenuStrip;
+ private System.Windows.Forms.ToolStripMenuItem addNewToolStripMenuItem;
+ }
+}
diff --git a/Controls/CarPanelMenuStrip.cs b/Controls/CarPanelMenuStrip.cs
new file mode 100644
index 0000000..5720a71
--- /dev/null
+++ b/Controls/CarPanelMenuStrip.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace GtaVUsersInfo.Controls
+{
+ public partial class CarPanelMenuStrip : UserControl
+ {
+ public ContextMenuStrip Menu
+ {
+ get { return myMenuStrip; }
+ }
+
+ public CarPanelMenuStrip(EventHandler add)
+ {
+ InitializeComponent();
+
+ addNewToolStripMenuItem.Click += add;
+ }
+ }
+}
diff --git a/Controls/CarPanelMenuStrip.resx b/Controls/CarPanelMenuStrip.resx
new file mode 100644
index 0000000..72c1c54
--- /dev/null
+++ b/Controls/CarPanelMenuStrip.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/Forms/AddParameter.Designer.cs b/Forms/AddParameter.Designer.cs
index ca6b01a..0747a82 100644
--- a/Forms/AddParameter.Designer.cs
+++ b/Forms/AddParameter.Designer.cs
@@ -32,8 +32,8 @@
this.saveItem = new System.Windows.Forms.Button();
this.separatopPanel1 = new System.Windows.Forms.Panel();
this.CarPanel = new System.Windows.Forms.Panel();
- this.nameLabel = new System.Windows.Forms.Label();
this.nameTextBox = new System.Windows.Forms.TextBox();
+ this.nameLabel = new System.Windows.Forms.Label();
this.MainPanel.SuspendLayout();
this.CarPanel.SuspendLayout();
this.SuspendLayout();
@@ -81,6 +81,14 @@
this.CarPanel.Size = new System.Drawing.Size(248, 33);
this.CarPanel.TabIndex = 3;
//
+ // nameTextBox
+ //
+ this.nameTextBox.Dock = System.Windows.Forms.DockStyle.Top;
+ this.nameTextBox.Location = new System.Drawing.Point(0, 13);
+ this.nameTextBox.Name = "nameTextBox";
+ this.nameTextBox.Size = new System.Drawing.Size(248, 20);
+ this.nameTextBox.TabIndex = 4;
+ //
// nameLabel
//
this.nameLabel.AutoSize = true;
@@ -91,14 +99,6 @@
this.nameLabel.TabIndex = 2;
this.nameLabel.Text = "Название:";
//
- // nameTextBox
- //
- this.nameTextBox.Dock = System.Windows.Forms.DockStyle.Top;
- this.nameTextBox.Location = new System.Drawing.Point(0, 13);
- this.nameTextBox.Name = "nameTextBox";
- this.nameTextBox.Size = new System.Drawing.Size(248, 20);
- this.nameTextBox.TabIndex = 4;
- //
// AddParameter
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
diff --git a/GtaVUsersInfo.csproj b/GtaVUsersInfo.csproj
index fa2699a..8c12c80 100644
--- a/GtaVUsersInfo.csproj
+++ b/GtaVUsersInfo.csproj
@@ -85,6 +85,18 @@
+
+ UserControl
+
+
+ CarItemMenuStrip.cs
+
+
+ UserControl
+
+
+ CarPanelMenuStrip.cs
+
Form
@@ -126,6 +138,12 @@
True
Resources.resx
+
+ CarItemMenuStrip.cs
+
+
+ CarPanelMenuStrip.cs
+
AddCars.cs
diff --git a/MainForm.cs b/MainForm.cs
index e1065fc..454c4b1 100644
--- a/MainForm.cs
+++ b/MainForm.cs
@@ -21,27 +21,58 @@ namespace GtaVUsersInfo
public partial class MainForm : Form
{
private List debugControlsList;
+
private List carList;
+
private List parameters;
+ private List cars;
public MainForm()
{
InitializeComponent();
debugControlsList = new List { parserButton, readJsonButton };
- parameters = new List { new ParameterControl("Деньги"), new ParameterControl("Имя") };
this.visible(debugControlsList, false);
carList = LoadCarsFromJson(Resources.carJsonPath);
+
+ parameters = new List { new ParameterControl("Имя"), new ParameterControl("Деньги") };
+ cars = new List();
+
+ carsItems.ContextMenuStrip = new CarPanelMenuStrip(addNewCar).Menu;
}
private void MainForm_Load(object sender, EventArgs e)
{
+ AllPanelCreate();
+ }
+
+ private void AllPanelCreate()
+ {
+ ParameterPanelCreate();
+ CarPanelCreate();
+ }
+
+ private void ParameterPanelCreate()
+ {
+ parametersPanel.Controls.Clear();
+
foreach (Control param in parameters)
{
param.Dock = DockStyle.Top;
parametersPanel.Controls.Add(param);
+ parametersPanel.Controls.SetChildIndex(param, 0);
+ }
+ }
+
+ private void CarPanelCreate()
+ {
+ carsItems.Controls.Clear();
+
+ foreach (CarItem car in cars)
+ {
+ carsItems.Controls.Add(car);
}
}
@@ -122,7 +153,74 @@ namespace GtaVUsersInfo
if (car.Name != null)
{
CarItem item = new CarItem(car);
- carsItems.Controls.Add(item);
+ item.MenuStrip = new CarItemMenuStrip(addNewCar, editCar, deleteCar, item).Menu;
+ cars.Add(item);
+ CarPanelCreate();
+ }
+ }
+
+ private void addNewCar(object sender, EventArgs e)
+ {
+ addCar_Click(sender, e);
+ }
+
+ private void editCar(object sender, EventArgs e)
+ {
+ if (carList.Count <= 0)
+ {
+ ErrorsShow.ShowErrorMessage($"Список автомобилей пуст, ошибка чтения файла: {Resources.carJsonPath}");
+ return;
+ }
+
+ ToolStripMenuItem clickedMenuItem = sender as ToolStripMenuItem;
+ if (clickedMenuItem == null)
+ return;
+
+ CarItemMenuStrip menu = clickedMenuItem.Tag as CarItemMenuStrip;
+ if (menu == null)
+ return;
+
+ CarItem carItem = menu.Car as CarItem;
+ if (carItem == null)
+ return;
+
+ Car car = new Car();
+
+ using (AddCars form = new AddCars(carList, car))
+ {
+ form.ShowDialog();
+ }
+
+ if (car.Name != null)
+ {
+ carItem.EditCar(car);
+ }
+ }
+
+ private void deleteCar(object sender, EventArgs e)
+ {
+ if (carList.Count <= 0)
+ {
+ ErrorsShow.ShowErrorMessage($"Список автомобилей пуст, ошибка чтения файла: {Resources.carJsonPath}");
+ return;
+ }
+
+ ToolStripMenuItem clickedMenuItem = sender as ToolStripMenuItem;
+ if (clickedMenuItem == null)
+ return;
+
+ CarItemMenuStrip menu = clickedMenuItem.Tag as CarItemMenuStrip;
+ if (menu == null)
+ return;
+
+ CarItem carItem = menu.Car;
+ if (carItem == null)
+ return;
+
+ if (cars.Contains(carItem))
+ {
+ cars.Remove(carItem);
+ CarPanelCreate();
}
}
@@ -139,7 +237,7 @@ namespace GtaVUsersInfo
{
parameter.Dock = DockStyle.Top;
parameters.Add(parameter);
- parametersPanel.Controls.Add(parameter);
+ ParameterPanelCreate();
}
}
}
diff --git a/Resources.Designer.cs b/Resources.Designer.cs
index 88cf2e6..f4056ad 100644
--- a/Resources.Designer.cs
+++ b/Resources.Designer.cs
@@ -69,16 +69,6 @@ namespace GtaVUsersInfo {
}
}
- ///
- /// Поиск локализованного ресурса типа System.Byte[].
- ///
- internal static byte[] cars {
- get {
- object obj = ResourceManager.GetObject("cars", resourceCulture);
- return ((byte[])(obj));
- }
- }
-
///
/// Ищет локализованную строку, похожую на https://gtacars.net/.
///
diff --git a/Resources.resx b/Resources.resx
index 294f7ed..5ce87d6 100644
--- a/Resources.resx
+++ b/Resources.resx
@@ -120,10 +120,6 @@
data/cars.json
-
-
- bin\Debug\data\cars.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
https://gtacars.net/