Добавление параметров
This commit is contained in:
248
Controls/CarItem.Designer.cs
generated
248
Controls/CarItem.Designer.cs
generated
@@ -29,79 +29,84 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.MainPanel = new System.Windows.Forms.Panel();
|
||||
this.PhotoPanel = new System.Windows.Forms.Panel();
|
||||
this.PhotoBox = new System.Windows.Forms.PictureBox();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.MoneyPanel = new System.Windows.Forms.Panel();
|
||||
this.MoneyTextBox = new System.Windows.Forms.TextBox();
|
||||
this.MoneyLabel = new System.Windows.Forms.Label();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.ClassPanel = new System.Windows.Forms.Panel();
|
||||
this.ClassLabel = new System.Windows.Forms.Label();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.NamePanel = new System.Windows.Forms.Panel();
|
||||
this.ManufacturerLabel = new System.Windows.Forms.Label();
|
||||
this.NameLabel = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.ModelPanel = new System.Windows.Forms.Panel();
|
||||
this.ModelLabel = new System.Windows.Forms.Label();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel6.SuspendLayout();
|
||||
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();
|
||||
this.panel5.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.MoneyPanel.SuspendLayout();
|
||||
this.ClassPanel.SuspendLayout();
|
||||
this.NamePanel.SuspendLayout();
|
||||
this.ModelPanel.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
// MainPanel
|
||||
//
|
||||
this.panel1.Controls.Add(this.panel6);
|
||||
this.panel1.Controls.Add(this.panel5);
|
||||
this.panel1.Controls.Add(this.panel4);
|
||||
this.panel1.Controls.Add(this.panel3);
|
||||
this.panel1.Controls.Add(this.panel2);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(212, 206);
|
||||
this.panel1.TabIndex = 0;
|
||||
this.MainPanel.Controls.Add(this.PhotoPanel);
|
||||
this.MainPanel.Controls.Add(this.MoneyPanel);
|
||||
this.MainPanel.Controls.Add(this.ClassPanel);
|
||||
this.MainPanel.Controls.Add(this.NamePanel);
|
||||
this.MainPanel.Controls.Add(this.ModelPanel);
|
||||
this.MainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.MainPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.MainPanel.Name = "MainPanel";
|
||||
this.MainPanel.Size = new System.Drawing.Size(210, 204);
|
||||
this.MainPanel.TabIndex = 0;
|
||||
//
|
||||
// panel6
|
||||
// PhotoPanel
|
||||
//
|
||||
this.panel6.Controls.Add(this.PhotoBox);
|
||||
this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel6.Location = new System.Drawing.Point(0, 13);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(212, 134);
|
||||
this.panel6.TabIndex = 4;
|
||||
this.PhotoPanel.Controls.Add(this.PhotoBox);
|
||||
this.PhotoPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.PhotoPanel.Location = new System.Drawing.Point(0, 18);
|
||||
this.PhotoPanel.Name = "PhotoPanel";
|
||||
this.PhotoPanel.Size = new System.Drawing.Size(210, 135);
|
||||
this.PhotoPanel.TabIndex = 4;
|
||||
//
|
||||
// PhotoBox
|
||||
//
|
||||
this.PhotoBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.PhotoBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.PhotoBox.Name = "PhotoBox";
|
||||
this.PhotoBox.Size = new System.Drawing.Size(212, 134);
|
||||
this.PhotoBox.Size = new System.Drawing.Size(210, 135);
|
||||
this.PhotoBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.PhotoBox.TabIndex = 0;
|
||||
this.PhotoBox.TabStop = false;
|
||||
//
|
||||
// panel5
|
||||
// MoneyPanel
|
||||
//
|
||||
this.panel5.AutoSize = true;
|
||||
this.panel5.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.panel5.Controls.Add(this.MoneyTextBox);
|
||||
this.panel5.Controls.Add(this.MoneyLabel);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 147);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(212, 33);
|
||||
this.panel5.TabIndex = 3;
|
||||
this.MoneyPanel.AutoSize = true;
|
||||
this.MoneyPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.MoneyPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.MoneyPanel.Controls.Add(this.MoneyTextBox);
|
||||
this.MoneyPanel.Controls.Add(this.MoneyLabel);
|
||||
this.MoneyPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.MoneyPanel.Location = new System.Drawing.Point(0, 153);
|
||||
this.MoneyPanel.Name = "MoneyPanel";
|
||||
this.MoneyPanel.Size = new System.Drawing.Size(210, 17);
|
||||
this.MoneyPanel.TabIndex = 3;
|
||||
//
|
||||
// MoneyTextBox
|
||||
//
|
||||
this.MoneyTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.MoneyTextBox.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.MoneyTextBox.Location = new System.Drawing.Point(0, 13);
|
||||
this.MoneyTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.MoneyTextBox.Location = new System.Drawing.Point(56, 0);
|
||||
this.MoneyTextBox.Name = "MoneyTextBox";
|
||||
this.MoneyTextBox.Size = new System.Drawing.Size(212, 20);
|
||||
this.MoneyTextBox.Size = new System.Drawing.Size(152, 15);
|
||||
this.MoneyTextBox.TabIndex = 1;
|
||||
this.MoneyTextBox.Enter += new System.EventHandler(this.carPrice_Enter);
|
||||
this.MoneyTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.carPrice_KeyPress);
|
||||
@@ -110,131 +115,168 @@
|
||||
// MoneyLabel
|
||||
//
|
||||
this.MoneyLabel.AutoSize = true;
|
||||
this.MoneyLabel.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.MoneyLabel.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.MoneyLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.MoneyLabel.Location = new System.Drawing.Point(0, 0);
|
||||
this.MoneyLabel.Name = "MoneyLabel";
|
||||
this.MoneyLabel.Size = new System.Drawing.Size(48, 13);
|
||||
this.MoneyLabel.Size = new System.Drawing.Size(56, 16);
|
||||
this.MoneyLabel.TabIndex = 0;
|
||||
this.MoneyLabel.Text = "Деньги:";
|
||||
//
|
||||
// panel4
|
||||
// ClassPanel
|
||||
//
|
||||
this.panel4.AutoSize = true;
|
||||
this.panel4.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.panel4.Controls.Add(this.ClassLabel);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 180);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(212, 13);
|
||||
this.panel4.TabIndex = 2;
|
||||
this.ClassPanel.AutoSize = true;
|
||||
this.ClassPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ClassPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.ClassPanel.Controls.Add(this.ClassTextBox);
|
||||
this.ClassPanel.Controls.Add(this.ClassLabel);
|
||||
this.ClassPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.ClassPanel.Location = new System.Drawing.Point(0, 170);
|
||||
this.ClassPanel.Name = "ClassPanel";
|
||||
this.ClassPanel.Size = new System.Drawing.Size(210, 17);
|
||||
this.ClassPanel.TabIndex = 2;
|
||||
//
|
||||
// ClassLabel
|
||||
//
|
||||
this.ClassLabel.AutoSize = true;
|
||||
this.ClassLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ClassLabel.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.ClassLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.ClassLabel.Location = new System.Drawing.Point(0, 0);
|
||||
this.ClassLabel.Name = "ClassLabel";
|
||||
this.ClassLabel.Size = new System.Drawing.Size(35, 13);
|
||||
this.ClassLabel.Size = new System.Drawing.Size(48, 16);
|
||||
this.ClassLabel.TabIndex = 0;
|
||||
this.ClassLabel.Text = "label2";
|
||||
this.ClassLabel.Text = "Класс:";
|
||||
//
|
||||
// panel3
|
||||
// NamePanel
|
||||
//
|
||||
this.panel3.AutoSize = true;
|
||||
this.panel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.panel3.Controls.Add(this.ManufacturerLabel);
|
||||
this.panel3.Controls.Add(this.NameLabel);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(212, 13);
|
||||
this.panel3.TabIndex = 1;
|
||||
this.NamePanel.AutoSize = true;
|
||||
this.NamePanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.NamePanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.NamePanel.Controls.Add(this.ManufacturerLabel);
|
||||
this.NamePanel.Controls.Add(this.NameLabel);
|
||||
this.NamePanel.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.NamePanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.NamePanel.Name = "NamePanel";
|
||||
this.NamePanel.Size = new System.Drawing.Size(210, 18);
|
||||
this.NamePanel.TabIndex = 1;
|
||||
//
|
||||
// ManufacturerLabel
|
||||
//
|
||||
this.ManufacturerLabel.AutoSize = true;
|
||||
this.ManufacturerLabel.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ManufacturerLabel.Location = new System.Drawing.Point(177, 0);
|
||||
this.ManufacturerLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.ManufacturerLabel.Location = new System.Drawing.Point(159, 0);
|
||||
this.ManufacturerLabel.Name = "ManufacturerLabel";
|
||||
this.ManufacturerLabel.Size = new System.Drawing.Size(35, 13);
|
||||
this.ManufacturerLabel.Size = new System.Drawing.Size(49, 16);
|
||||
this.ManufacturerLabel.TabIndex = 1;
|
||||
this.ManufacturerLabel.Text = "label1";
|
||||
this.ManufacturerLabel.Text = "Марка";
|
||||
//
|
||||
// NameLabel
|
||||
//
|
||||
this.NameLabel.AutoSize = true;
|
||||
this.NameLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.NameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.NameLabel.Location = new System.Drawing.Point(0, 0);
|
||||
this.NameLabel.Name = "NameLabel";
|
||||
this.NameLabel.Size = new System.Drawing.Size(35, 13);
|
||||
this.NameLabel.Size = new System.Drawing.Size(73, 16);
|
||||
this.NameLabel.TabIndex = 0;
|
||||
this.NameLabel.Text = "label1";
|
||||
this.NameLabel.Text = "Название";
|
||||
//
|
||||
// panel2
|
||||
// ModelPanel
|
||||
//
|
||||
this.panel2.AutoSize = true;
|
||||
this.panel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.panel2.Controls.Add(this.ModelLabel);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 193);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(212, 13);
|
||||
this.panel2.TabIndex = 0;
|
||||
this.ModelPanel.AutoSize = true;
|
||||
this.ModelPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.ModelPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.ModelPanel.Controls.Add(this.ModelTextBox);
|
||||
this.ModelPanel.Controls.Add(this.ModelLabel);
|
||||
this.ModelPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.ModelPanel.Location = new System.Drawing.Point(0, 187);
|
||||
this.ModelPanel.Name = "ModelPanel";
|
||||
this.ModelPanel.Size = new System.Drawing.Size(210, 17);
|
||||
this.ModelPanel.TabIndex = 0;
|
||||
//
|
||||
// ModelLabel
|
||||
//
|
||||
this.ModelLabel.AutoSize = true;
|
||||
this.ModelLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ModelLabel.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.ModelLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||
this.ModelLabel.Location = new System.Drawing.Point(0, 0);
|
||||
this.ModelLabel.Name = "ModelLabel";
|
||||
this.ModelLabel.Size = new System.Drawing.Size(35, 13);
|
||||
this.ModelLabel.Size = new System.Drawing.Size(60, 16);
|
||||
this.ModelLabel.TabIndex = 0;
|
||||
this.ModelLabel.Text = "label2";
|
||||
this.ModelLabel.Text = "Модель:";
|
||||
//
|
||||
// contextMenuStrip1
|
||||
//
|
||||
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);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.Controls.Add(this.panel1);
|
||||
this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.Controls.Add(this.MainPanel);
|
||||
this.Name = "CarItem";
|
||||
this.Size = new System.Drawing.Size(212, 206);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel6.ResumeLayout(false);
|
||||
this.Size = new System.Drawing.Size(210, 204);
|
||||
this.MainPanel.ResumeLayout(false);
|
||||
this.MainPanel.PerformLayout();
|
||||
this.PhotoPanel.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.PhotoBox)).EndInit();
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel5.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel4.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.MoneyPanel.ResumeLayout(false);
|
||||
this.MoneyPanel.PerformLayout();
|
||||
this.ClassPanel.ResumeLayout(false);
|
||||
this.ClassPanel.PerformLayout();
|
||||
this.NamePanel.ResumeLayout(false);
|
||||
this.NamePanel.PerformLayout();
|
||||
this.ModelPanel.ResumeLayout(false);
|
||||
this.ModelPanel.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.Panel MainPanel;
|
||||
private System.Windows.Forms.Panel MoneyPanel;
|
||||
private System.Windows.Forms.Label MoneyLabel;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Panel ClassPanel;
|
||||
private System.Windows.Forms.Label ClassLabel;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel NamePanel;
|
||||
private System.Windows.Forms.Label NameLabel;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel ModelPanel;
|
||||
private System.Windows.Forms.Label ModelLabel;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.Panel PhotoPanel;
|
||||
private System.Windows.Forms.PictureBox PhotoBox;
|
||||
private System.Windows.Forms.Label ManufacturerLabel;
|
||||
private System.Windows.Forms.TextBox MoneyTextBox;
|
||||
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||
private System.Windows.Forms.TextBox ModelTextBox;
|
||||
private System.Windows.Forms.TextBox ClassTextBox;
|
||||
}
|
||||
}
|
||||
|
@@ -17,9 +17,9 @@ namespace GtaVUsersInfo.Controls
|
||||
InitializeComponent();
|
||||
|
||||
NameLabel.Text = carItem.Name;
|
||||
ClassLabel.Text = carItem.Class;
|
||||
ModelLabel.Text = "Модель:" + carItem.Model;
|
||||
ManufacturerLabel.Text = carItem.Manufacturer;
|
||||
ClassTextBox.Text = carItem.Class;
|
||||
ModelTextBox.Text = carItem.Model;
|
||||
MoneyTextBox.Text = '$' + carItem.Price.ToString();
|
||||
|
||||
LoadImageAsync(carItem.Photo);
|
||||
|
@@ -12,6 +12,18 @@ namespace GtaVUsersInfo.Controls
|
||||
{
|
||||
public partial class ParameterControl : UserControl
|
||||
{
|
||||
public string ParamName
|
||||
{
|
||||
get { return Label.Text.TrimEnd(':'); }
|
||||
set { Label.Text = value + ':'; }
|
||||
}
|
||||
|
||||
public int ParamText
|
||||
{
|
||||
get { return int.Parse(Textbox.Text); }
|
||||
set { Textbox.Text = value.ToString(); }
|
||||
}
|
||||
|
||||
public ParameterControl(string name, string text = "")
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -19,5 +31,13 @@ namespace GtaVUsersInfo.Controls
|
||||
Label.Text = name + ':';
|
||||
Textbox.Text = text;
|
||||
}
|
||||
|
||||
public ParameterControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Label.Text = "";
|
||||
Textbox.Text = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user