2024-10-08 09:53:24 +03:00
|
|
|
|
namespace GtaVUsersInfo.Controls
|
|
|
|
|
{
|
2024-10-08 15:14:10 +03:00
|
|
|
|
partial class CarControl
|
2024-10-08 09:53:24 +03:00
|
|
|
|
{
|
|
|
|
|
/// <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 Код, автоматически созданный конструктором компонентов
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-10-10 13:47:29 +03:00
|
|
|
|
components = new System.ComponentModel.Container();
|
|
|
|
|
MainPanel = new Panel();
|
|
|
|
|
PhotoPanel = new Panel();
|
|
|
|
|
PhotoBox = new PictureBox();
|
|
|
|
|
MoneyPanel = new Panel();
|
|
|
|
|
MoneyTextBox = new TextBox();
|
|
|
|
|
MoneyLabel = new Label();
|
|
|
|
|
ClassPanel = new Panel();
|
|
|
|
|
ClassTextBox = new TextBox();
|
|
|
|
|
ClassLabel = new Label();
|
|
|
|
|
NamePanel = new Panel();
|
|
|
|
|
ManufacturerLabel = new Label();
|
|
|
|
|
NameLabel = new Label();
|
|
|
|
|
ModelPanel = new Panel();
|
|
|
|
|
ModelTextBox = new TextBox();
|
|
|
|
|
ModelLabel = new Label();
|
|
|
|
|
contextMenuStrip1 = new ContextMenuStrip(components);
|
|
|
|
|
MainPanel.SuspendLayout();
|
|
|
|
|
PhotoPanel.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)PhotoBox).BeginInit();
|
|
|
|
|
MoneyPanel.SuspendLayout();
|
|
|
|
|
ClassPanel.SuspendLayout();
|
|
|
|
|
NamePanel.SuspendLayout();
|
|
|
|
|
ModelPanel.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// MainPanel
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
MainPanel.Controls.Add(PhotoPanel);
|
|
|
|
|
MainPanel.Controls.Add(MoneyPanel);
|
|
|
|
|
MainPanel.Controls.Add(ClassPanel);
|
|
|
|
|
MainPanel.Controls.Add(NamePanel);
|
|
|
|
|
MainPanel.Controls.Add(ModelPanel);
|
|
|
|
|
MainPanel.Dock = DockStyle.Fill;
|
|
|
|
|
MainPanel.Location = new Point(0, 0);
|
|
|
|
|
MainPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
MainPanel.Name = "MainPanel";
|
|
|
|
|
MainPanel.Size = new Size(245, 235);
|
|
|
|
|
MainPanel.TabIndex = 0;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// PhotoPanel
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
PhotoPanel.Controls.Add(PhotoBox);
|
|
|
|
|
PhotoPanel.Dock = DockStyle.Fill;
|
|
|
|
|
PhotoPanel.Location = new Point(0, 18);
|
|
|
|
|
PhotoPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
PhotoPanel.Name = "PhotoPanel";
|
|
|
|
|
PhotoPanel.Size = new Size(245, 166);
|
|
|
|
|
PhotoPanel.TabIndex = 4;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// PhotoBox
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
PhotoBox.Dock = DockStyle.Fill;
|
|
|
|
|
PhotoBox.Location = new Point(0, 0);
|
|
|
|
|
PhotoBox.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
PhotoBox.Name = "PhotoBox";
|
|
|
|
|
PhotoBox.Size = new Size(245, 166);
|
|
|
|
|
PhotoBox.SizeMode = PictureBoxSizeMode.Zoom;
|
|
|
|
|
PhotoBox.TabIndex = 0;
|
|
|
|
|
PhotoBox.TabStop = false;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// MoneyPanel
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
MoneyPanel.AutoSize = true;
|
|
|
|
|
MoneyPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
MoneyPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
MoneyPanel.Controls.Add(MoneyTextBox);
|
|
|
|
|
MoneyPanel.Controls.Add(MoneyLabel);
|
|
|
|
|
MoneyPanel.Dock = DockStyle.Bottom;
|
|
|
|
|
MoneyPanel.Location = new Point(0, 184);
|
|
|
|
|
MoneyPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
MoneyPanel.Name = "MoneyPanel";
|
|
|
|
|
MoneyPanel.Size = new Size(245, 17);
|
|
|
|
|
MoneyPanel.TabIndex = 3;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// MoneyTextBox
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
MoneyTextBox.BorderStyle = BorderStyle.None;
|
|
|
|
|
MoneyTextBox.Dock = DockStyle.Top;
|
|
|
|
|
MoneyTextBox.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
MoneyTextBox.Location = new Point(56, 0);
|
|
|
|
|
MoneyTextBox.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
MoneyTextBox.Name = "MoneyTextBox";
|
|
|
|
|
MoneyTextBox.Size = new Size(187, 15);
|
|
|
|
|
MoneyTextBox.TabIndex = 1;
|
|
|
|
|
MoneyTextBox.Enter += carPrice_Enter;
|
|
|
|
|
MoneyTextBox.KeyPress += carPrice_KeyPress;
|
|
|
|
|
MoneyTextBox.Leave += carPrice_Leave;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// MoneyLabel
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
MoneyLabel.AutoSize = true;
|
|
|
|
|
MoneyLabel.Dock = DockStyle.Left;
|
|
|
|
|
MoneyLabel.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
MoneyLabel.Location = new Point(0, 0);
|
|
|
|
|
MoneyLabel.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
MoneyLabel.Name = "MoneyLabel";
|
|
|
|
|
MoneyLabel.Size = new Size(56, 16);
|
|
|
|
|
MoneyLabel.TabIndex = 0;
|
|
|
|
|
MoneyLabel.Text = "Деньги:";
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// ClassPanel
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ClassPanel.AutoSize = true;
|
|
|
|
|
ClassPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
ClassPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
ClassPanel.Controls.Add(ClassTextBox);
|
|
|
|
|
ClassPanel.Controls.Add(ClassLabel);
|
|
|
|
|
ClassPanel.Dock = DockStyle.Bottom;
|
|
|
|
|
ClassPanel.Location = new Point(0, 201);
|
|
|
|
|
ClassPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
ClassPanel.Name = "ClassPanel";
|
|
|
|
|
ClassPanel.Size = new Size(245, 17);
|
|
|
|
|
ClassPanel.TabIndex = 2;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 14:41:32 +03:00
|
|
|
|
// ClassTextBox
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ClassTextBox.BackColor = SystemColors.Window;
|
|
|
|
|
ClassTextBox.BorderStyle = BorderStyle.None;
|
|
|
|
|
ClassTextBox.Dock = DockStyle.Top;
|
|
|
|
|
ClassTextBox.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
ClassTextBox.Location = new Point(48, 0);
|
|
|
|
|
ClassTextBox.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
ClassTextBox.Name = "ClassTextBox";
|
|
|
|
|
ClassTextBox.ReadOnly = true;
|
|
|
|
|
ClassTextBox.Size = new Size(195, 15);
|
|
|
|
|
ClassTextBox.TabIndex = 3;
|
2024-10-08 14:41:32 +03:00
|
|
|
|
//
|
2024-10-08 09:53:24 +03:00
|
|
|
|
// ClassLabel
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ClassLabel.AutoSize = true;
|
|
|
|
|
ClassLabel.Dock = DockStyle.Left;
|
|
|
|
|
ClassLabel.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
ClassLabel.Location = new Point(0, 0);
|
|
|
|
|
ClassLabel.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
ClassLabel.Name = "ClassLabel";
|
|
|
|
|
ClassLabel.Size = new Size(48, 16);
|
|
|
|
|
ClassLabel.TabIndex = 0;
|
|
|
|
|
ClassLabel.Text = "Класс:";
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// NamePanel
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
NamePanel.AutoSize = true;
|
|
|
|
|
NamePanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
NamePanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
NamePanel.Controls.Add(ManufacturerLabel);
|
|
|
|
|
NamePanel.Controls.Add(NameLabel);
|
|
|
|
|
NamePanel.Dock = DockStyle.Top;
|
|
|
|
|
NamePanel.Location = new Point(0, 0);
|
|
|
|
|
NamePanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
NamePanel.Name = "NamePanel";
|
|
|
|
|
NamePanel.Size = new Size(245, 18);
|
|
|
|
|
NamePanel.TabIndex = 1;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// ManufacturerLabel
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ManufacturerLabel.AutoSize = true;
|
|
|
|
|
ManufacturerLabel.Dock = DockStyle.Right;
|
|
|
|
|
ManufacturerLabel.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
ManufacturerLabel.Location = new Point(194, 0);
|
|
|
|
|
ManufacturerLabel.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
ManufacturerLabel.Name = "ManufacturerLabel";
|
|
|
|
|
ManufacturerLabel.Size = new Size(49, 16);
|
|
|
|
|
ManufacturerLabel.TabIndex = 1;
|
|
|
|
|
ManufacturerLabel.Text = "Марка";
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// NameLabel
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
NameLabel.AutoSize = true;
|
|
|
|
|
NameLabel.Dock = DockStyle.Fill;
|
|
|
|
|
NameLabel.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
NameLabel.Location = new Point(0, 0);
|
|
|
|
|
NameLabel.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
NameLabel.Name = "NameLabel";
|
|
|
|
|
NameLabel.Size = new Size(73, 16);
|
|
|
|
|
NameLabel.TabIndex = 0;
|
|
|
|
|
NameLabel.Text = "Название";
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 11:44:50 +03:00
|
|
|
|
// ModelPanel
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ModelPanel.AutoSize = true;
|
|
|
|
|
ModelPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
|
|
|
|
ModelPanel.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
ModelPanel.Controls.Add(ModelTextBox);
|
|
|
|
|
ModelPanel.Controls.Add(ModelLabel);
|
|
|
|
|
ModelPanel.Dock = DockStyle.Bottom;
|
|
|
|
|
ModelPanel.Location = new Point(0, 218);
|
|
|
|
|
ModelPanel.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
ModelPanel.Name = "ModelPanel";
|
|
|
|
|
ModelPanel.Size = new Size(245, 17);
|
|
|
|
|
ModelPanel.TabIndex = 0;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 14:41:32 +03:00
|
|
|
|
// ModelTextBox
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ModelTextBox.BackColor = SystemColors.Window;
|
|
|
|
|
ModelTextBox.BorderStyle = BorderStyle.None;
|
|
|
|
|
ModelTextBox.Dock = DockStyle.Top;
|
|
|
|
|
ModelTextBox.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
ModelTextBox.Location = new Point(60, 0);
|
|
|
|
|
ModelTextBox.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
ModelTextBox.Name = "ModelTextBox";
|
|
|
|
|
ModelTextBox.ReadOnly = true;
|
|
|
|
|
ModelTextBox.Size = new Size(183, 15);
|
|
|
|
|
ModelTextBox.TabIndex = 2;
|
2024-10-08 14:41:32 +03:00
|
|
|
|
//
|
2024-10-08 09:53:24 +03:00
|
|
|
|
// ModelLabel
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
ModelLabel.AutoSize = true;
|
|
|
|
|
ModelLabel.Dock = DockStyle.Left;
|
|
|
|
|
ModelLabel.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
ModelLabel.Location = new Point(0, 0);
|
|
|
|
|
ModelLabel.Margin = new Padding(4, 0, 4, 0);
|
|
|
|
|
ModelLabel.Name = "ModelLabel";
|
|
|
|
|
ModelLabel.Size = new Size(60, 16);
|
|
|
|
|
ModelLabel.TabIndex = 0;
|
|
|
|
|
ModelLabel.Text = "Модель:";
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
|
|
|
|
// contextMenuStrip1
|
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
contextMenuStrip1.Name = "contextMenuStrip1";
|
|
|
|
|
contextMenuStrip1.Size = new Size(61, 4);
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-08 18:33:19 +03:00
|
|
|
|
// CarControl
|
2024-10-08 09:53:24 +03:00
|
|
|
|
//
|
2024-10-10 13:47:29 +03:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.White;
|
|
|
|
|
BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
Controls.Add(MainPanel);
|
|
|
|
|
Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
Name = "CarControl";
|
|
|
|
|
Size = new Size(245, 235);
|
|
|
|
|
MainPanel.ResumeLayout(false);
|
|
|
|
|
MainPanel.PerformLayout();
|
|
|
|
|
PhotoPanel.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)PhotoBox).EndInit();
|
|
|
|
|
MoneyPanel.ResumeLayout(false);
|
|
|
|
|
MoneyPanel.PerformLayout();
|
|
|
|
|
ClassPanel.ResumeLayout(false);
|
|
|
|
|
ClassPanel.PerformLayout();
|
|
|
|
|
NamePanel.ResumeLayout(false);
|
|
|
|
|
NamePanel.PerformLayout();
|
|
|
|
|
ModelPanel.ResumeLayout(false);
|
|
|
|
|
ModelPanel.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
2024-10-08 09:53:24 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2024-10-10 13:47:29 +03:00
|
|
|
|
private Panel MainPanel;
|
|
|
|
|
private Panel MoneyPanel;
|
|
|
|
|
private Label MoneyLabel;
|
|
|
|
|
private Panel ClassPanel;
|
|
|
|
|
private Label ClassLabel;
|
|
|
|
|
private Panel NamePanel;
|
|
|
|
|
private Label NameLabel;
|
|
|
|
|
private Panel ModelPanel;
|
|
|
|
|
private Label ModelLabel;
|
|
|
|
|
private Panel PhotoPanel;
|
|
|
|
|
private PictureBox PhotoBox;
|
|
|
|
|
private Label ManufacturerLabel;
|
|
|
|
|
private TextBox MoneyTextBox;
|
|
|
|
|
private ContextMenuStrip contextMenuStrip1;
|
|
|
|
|
private TextBox ModelTextBox;
|
|
|
|
|
private TextBox ClassTextBox;
|
2024-10-08 09:53:24 +03:00
|
|
|
|
}
|
|
|
|
|
}
|