дизайн это моё всё
This commit is contained in:
parent
8ed478c392
commit
47f012cfda
10
WinFormsApp/FormMain.Designer.cs
generated
10
WinFormsApp/FormMain.Designer.cs
generated
@ -57,7 +57,7 @@
|
||||
//
|
||||
// dataGridView
|
||||
//
|
||||
dataGridView.BackgroundColor = Color.SteelBlue;
|
||||
dataGridView.BackgroundColor = Color.FromArgb(160, 160, 220);
|
||||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView.Dock = DockStyle.Top;
|
||||
dataGridView.Location = new Point(0, 24);
|
||||
@ -67,7 +67,7 @@
|
||||
//
|
||||
// buttonCreateSupply
|
||||
//
|
||||
buttonCreateSupply.BackColor = Color.MediumSpringGreen;
|
||||
buttonCreateSupply.BackColor = Color.FromArgb(192, 255, 192);
|
||||
buttonCreateSupply.Location = new Point(6, 24);
|
||||
buttonCreateSupply.Name = "buttonCreateSupply";
|
||||
buttonCreateSupply.Size = new Size(154, 23);
|
||||
@ -153,7 +153,7 @@
|
||||
// pictureBox1
|
||||
//
|
||||
pictureBox1.BackColor = Color.Transparent;
|
||||
pictureBox1.BackgroundImage = (Image)resources.GetObject("pictureBox1.BackgroundImage");
|
||||
pictureBox1.BackgroundImage = Properties.Resources.favicon;
|
||||
pictureBox1.BackgroundImageLayout = ImageLayout.Zoom;
|
||||
pictureBox1.BorderStyle = BorderStyle.FixedSingle;
|
||||
pictureBox1.InitialImage = (Image)resources.GetObject("pictureBox1.InitialImage");
|
||||
@ -179,7 +179,7 @@
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
pictureBox2.BackgroundImage = (Image)resources.GetObject("pictureBox2.BackgroundImage");
|
||||
pictureBox2.BackgroundImage = Properties.Resources.pdf_icon_on_transparent_background_free_png_2869912988;
|
||||
pictureBox2.BackgroundImageLayout = ImageLayout.Zoom;
|
||||
pictureBox2.Location = new Point(323, 0);
|
||||
pictureBox2.Name = "pictureBox2";
|
||||
@ -237,7 +237,7 @@
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = (Image)resources.GetObject("$this.BackgroundImage");
|
||||
BackgroundImage = Properties.Resources._9AZKH1_1911594361;
|
||||
ClientSize = new Size(901, 384);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(groupBox2);
|
||||
|
File diff suppressed because it is too large
Load Diff
107
WinFormsApp/FormSupply.Designer.cs
generated
107
WinFormsApp/FormSupply.Designer.cs
generated
@ -37,30 +37,36 @@
|
||||
buttonDeleteProduct = new Button();
|
||||
buttonUpdateProduct = new Button();
|
||||
buttonAddProduct = new Button();
|
||||
label1 = new Label();
|
||||
buttonSave = new Button();
|
||||
buttonCancel = new Button();
|
||||
textBoxPrice = new TextBox();
|
||||
comboBoxSupplier = new ComboBox();
|
||||
groupBox1 = new GroupBox();
|
||||
label1 = new Label();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||
groupBoxProducts.SuspendLayout();
|
||||
groupBox1.SuspendLayout();
|
||||
SuspendLayout();
|
||||
//
|
||||
// textBoxName
|
||||
//
|
||||
textBoxName.Location = new Point(18, 41);
|
||||
textBoxName.Dock = DockStyle.Fill;
|
||||
textBoxName.Font = new Font("Segoe UI", 10F);
|
||||
textBoxName.Location = new Point(3, 21);
|
||||
textBoxName.Multiline = true;
|
||||
textBoxName.Name = "textBoxName";
|
||||
textBoxName.Size = new Size(434, 103);
|
||||
textBoxName.Size = new Size(244, 426);
|
||||
textBoxName.TabIndex = 0;
|
||||
//
|
||||
// dataGridView
|
||||
//
|
||||
dataGridView.BackgroundColor = Color.AliceBlue;
|
||||
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ProductId, ProductName, ProductAmount });
|
||||
dataGridView.Location = new Point(6, 22);
|
||||
dataGridView.Dock = DockStyle.Top;
|
||||
dataGridView.Location = new Point(3, 21);
|
||||
dataGridView.Name = "dataGridView";
|
||||
dataGridView.Size = new Size(423, 241);
|
||||
dataGridView.Size = new Size(405, 241);
|
||||
dataGridView.TabIndex = 1;
|
||||
//
|
||||
// ProductId
|
||||
@ -72,6 +78,7 @@
|
||||
//
|
||||
// ProductName
|
||||
//
|
||||
ProductName.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||
ProductName.HeaderText = "Название";
|
||||
ProductName.Name = "ProductName";
|
||||
ProductName.ReadOnly = true;
|
||||
@ -84,30 +91,37 @@
|
||||
//
|
||||
// groupBoxProducts
|
||||
//
|
||||
groupBoxProducts.BackColor = Color.Transparent;
|
||||
groupBoxProducts.Controls.Add(buttonDeleteProduct);
|
||||
groupBoxProducts.Controls.Add(buttonUpdateProduct);
|
||||
groupBoxProducts.Controls.Add(buttonAddProduct);
|
||||
groupBoxProducts.Controls.Add(dataGridView);
|
||||
groupBoxProducts.Location = new Point(12, 150);
|
||||
groupBoxProducts.Dock = DockStyle.Left;
|
||||
groupBoxProducts.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
||||
groupBoxProducts.ForeColor = SystemColors.Control;
|
||||
groupBoxProducts.Location = new Point(0, 0);
|
||||
groupBoxProducts.Name = "groupBoxProducts";
|
||||
groupBoxProducts.Size = new Size(776, 288);
|
||||
groupBoxProducts.Size = new Size(411, 450);
|
||||
groupBoxProducts.TabIndex = 2;
|
||||
groupBoxProducts.TabStop = false;
|
||||
groupBoxProducts.Text = "Товары";
|
||||
//
|
||||
// buttonDeleteProduct
|
||||
//
|
||||
buttonDeleteProduct.Location = new Point(435, 132);
|
||||
buttonDeleteProduct.BackColor = Color.FromArgb(255, 192, 192);
|
||||
buttonDeleteProduct.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonDeleteProduct.Location = new Point(213, 268);
|
||||
buttonDeleteProduct.Name = "buttonDeleteProduct";
|
||||
buttonDeleteProduct.Size = new Size(126, 49);
|
||||
buttonDeleteProduct.TabIndex = 4;
|
||||
buttonDeleteProduct.Text = "Удалить";
|
||||
buttonDeleteProduct.UseVisualStyleBackColor = true;
|
||||
buttonDeleteProduct.UseVisualStyleBackColor = false;
|
||||
buttonDeleteProduct.Click += buttonDeleteProduct_Click;
|
||||
//
|
||||
// buttonUpdateProduct
|
||||
//
|
||||
buttonUpdateProduct.Location = new Point(435, 77);
|
||||
buttonUpdateProduct.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonUpdateProduct.Location = new Point(12, 323);
|
||||
buttonUpdateProduct.Name = "buttonUpdateProduct";
|
||||
buttonUpdateProduct.Size = new Size(126, 49);
|
||||
buttonUpdateProduct.TabIndex = 3;
|
||||
@ -117,28 +131,22 @@
|
||||
//
|
||||
// buttonAddProduct
|
||||
//
|
||||
buttonAddProduct.Location = new Point(435, 22);
|
||||
buttonAddProduct.BackColor = Color.FromArgb(192, 255, 192);
|
||||
buttonAddProduct.ForeColor = SystemColors.ActiveCaptionText;
|
||||
buttonAddProduct.Location = new Point(12, 268);
|
||||
buttonAddProduct.Name = "buttonAddProduct";
|
||||
buttonAddProduct.Size = new Size(126, 49);
|
||||
buttonAddProduct.TabIndex = 2;
|
||||
buttonAddProduct.Text = "Добавить";
|
||||
buttonAddProduct.UseVisualStyleBackColor = true;
|
||||
buttonAddProduct.UseVisualStyleBackColor = false;
|
||||
buttonAddProduct.Click += buttonAddProduct_Click;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(18, 23);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(100, 15);
|
||||
label1.TabIndex = 3;
|
||||
label1.Text = "Общие сведения";
|
||||
//
|
||||
// buttonSave
|
||||
//
|
||||
buttonSave.Location = new Point(654, 40);
|
||||
buttonSave.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
||||
buttonSave.Location = new Point(679, 353);
|
||||
buttonSave.Name = "buttonSave";
|
||||
buttonSave.Size = new Size(75, 23);
|
||||
buttonSave.Size = new Size(109, 41);
|
||||
buttonSave.TabIndex = 4;
|
||||
buttonSave.Text = "Сохранить";
|
||||
buttonSave.UseVisualStyleBackColor = true;
|
||||
@ -146,9 +154,10 @@
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
buttonCancel.Location = new Point(654, 88);
|
||||
buttonCancel.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
||||
buttonCancel.Location = new Point(679, 400);
|
||||
buttonCancel.Name = "buttonCancel";
|
||||
buttonCancel.Size = new Size(75, 23);
|
||||
buttonCancel.Size = new Size(109, 38);
|
||||
buttonCancel.TabIndex = 5;
|
||||
buttonCancel.Text = "Отмена";
|
||||
buttonCancel.UseVisualStyleBackColor = true;
|
||||
@ -164,28 +173,57 @@
|
||||
// comboBoxSupplier
|
||||
//
|
||||
comboBoxSupplier.FormattingEnabled = true;
|
||||
comboBoxSupplier.Location = new Point(473, 41);
|
||||
comboBoxSupplier.Location = new Point(679, 283);
|
||||
comboBoxSupplier.Name = "comboBoxSupplier";
|
||||
comboBoxSupplier.Size = new Size(121, 23);
|
||||
comboBoxSupplier.Size = new Size(109, 23);
|
||||
comboBoxSupplier.TabIndex = 7;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
groupBox1.BackColor = Color.Transparent;
|
||||
groupBox1.Controls.Add(textBoxName);
|
||||
groupBox1.Dock = DockStyle.Left;
|
||||
groupBox1.Font = new Font("Segoe UI", 10F, FontStyle.Bold);
|
||||
groupBox1.ForeColor = SystemColors.Control;
|
||||
groupBox1.Location = new Point(411, 0);
|
||||
groupBox1.Name = "groupBox1";
|
||||
groupBox1.Size = new Size(250, 450);
|
||||
groupBox1.TabIndex = 8;
|
||||
groupBox1.TabStop = false;
|
||||
groupBox1.Text = "Общие сведения";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.BackColor = Color.Transparent;
|
||||
label1.Font = new Font("Segoe UI", 12F, FontStyle.Bold);
|
||||
label1.ForeColor = SystemColors.Control;
|
||||
label1.Location = new Point(679, 259);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(98, 21);
|
||||
label1.TabIndex = 9;
|
||||
label1.Text = "Поставщик";
|
||||
//
|
||||
// FormSupply
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackgroundImage = Properties.Resources._9AZKH1_1911594361;
|
||||
ClientSize = new Size(800, 450);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(groupBox1);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(comboBoxSupplier);
|
||||
Controls.Add(textBoxPrice);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonSave);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(groupBoxProducts);
|
||||
Controls.Add(textBoxName);
|
||||
Name = "FormSupply";
|
||||
Text = "FormSupply";
|
||||
Load += FormSupply_Load;
|
||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||
groupBoxProducts.ResumeLayout(false);
|
||||
groupBox1.ResumeLayout(false);
|
||||
groupBox1.PerformLayout();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
@ -194,17 +232,18 @@
|
||||
|
||||
private TextBox textBoxName;
|
||||
private DataGridView dataGridView;
|
||||
private DataGridViewTextBoxColumn ProductId;
|
||||
private DataGridViewTextBoxColumn ProductName;
|
||||
private DataGridViewTextBoxColumn ProductAmount;
|
||||
private GroupBox groupBoxProducts;
|
||||
private Button buttonAddProduct;
|
||||
private Label label1;
|
||||
private Button buttonUpdateProduct;
|
||||
private Button buttonDeleteProduct;
|
||||
private Button buttonSave;
|
||||
private Button buttonCancel;
|
||||
private TextBox textBoxPrice;
|
||||
private ComboBox comboBoxSupplier;
|
||||
private GroupBox groupBox1;
|
||||
private DataGridViewTextBoxColumn ProductId;
|
||||
private DataGridViewTextBoxColumn ProductName;
|
||||
private DataGridViewTextBoxColumn ProductAmount;
|
||||
private Label label1;
|
||||
}
|
||||
}
|
30
WinFormsApp/Properties/Resources.Designer.cs
generated
30
WinFormsApp/Properties/Resources.Designer.cs
generated
@ -59,5 +59,35 @@ namespace WinFormsApp.Properties {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap _9AZKH1_1911594361 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("9AZKH1-1911594361", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap favicon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("favicon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap pdf_icon_on_transparent_background_free_png_2869912988 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("pdf-icon-on-transparent-background-free-png-2869912988", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,4 +117,14 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="9AZKH1-1911594361" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\9AZKH1-1911594361.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pdf-icon-on-transparent-background-free-png-2869912988" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pdf-icon-on-transparent-background-free-png-2869912988.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="favicon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\favicon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
WinFormsApp/Resources/9AZKH1-1911594361.jpg
Normal file
BIN
WinFormsApp/Resources/9AZKH1-1911594361.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
BIN
WinFormsApp/Resources/favicon.png
Normal file
BIN
WinFormsApp/Resources/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
Loading…
Reference in New Issue
Block a user