From 85e2c1f027e4bf13900a173b2e41fb8b8a1ff94f Mon Sep 17 00:00:00 2001 From: ekallin Date: Sun, 10 Mar 2024 23:03:51 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=20FormShop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/Shops/FormShop.Designer.cs | 150 +++++++++++++++++++++++++++ SushiBar/Shops/FormShop.cs | 20 ++++ SushiBar/Shops/FormShop.resx | 120 +++++++++++++++++++++ SushiBar/Shops/FormShops.Designer.cs | 39 +++++++ SushiBar/Shops/FormShops.cs | 20 ++++ SushiBar/Shops/FormShops.resx | 120 +++++++++++++++++++++ 6 files changed, 469 insertions(+) create mode 100644 SushiBar/Shops/FormShop.Designer.cs create mode 100644 SushiBar/Shops/FormShop.cs create mode 100644 SushiBar/Shops/FormShop.resx create mode 100644 SushiBar/Shops/FormShops.Designer.cs create mode 100644 SushiBar/Shops/FormShops.cs create mode 100644 SushiBar/Shops/FormShops.resx diff --git a/SushiBar/Shops/FormShop.Designer.cs b/SushiBar/Shops/FormShop.Designer.cs new file mode 100644 index 0000000..f597a2e --- /dev/null +++ b/SushiBar/Shops/FormShop.Designer.cs @@ -0,0 +1,150 @@ +namespace SushiBarView.Shops +{ + partial class FormShop + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + buttonCancel = new Button(); + buttonSave = new Button(); + textBoxAddress = new TextBox(); + textBoxName = new TextBox(); + labelAddress = new Label(); + labelName = new Label(); + dateTimePickerDateOpening = new DateTimePicker(); + labelDateOpening = new Label(); + SuspendLayout(); + // + // buttonCancel + // + buttonCancel.Anchor = AnchorStyles.None; + buttonCancel.Location = new Point(421, 203); + buttonCancel.Name = "buttonCancel"; + buttonCancel.Size = new Size(116, 39); + buttonCancel.TabIndex = 11; + buttonCancel.Text = "Отмена"; + buttonCancel.UseVisualStyleBackColor = true; + // + // buttonSave + // + buttonSave.Anchor = AnchorStyles.None; + buttonSave.Location = new Point(182, 203); + buttonSave.Name = "buttonSave"; + buttonSave.Size = new Size(116, 39); + buttonSave.TabIndex = 10; + buttonSave.Text = "Сохранить"; + buttonSave.UseVisualStyleBackColor = true; + // + // textBoxAddress + // + textBoxAddress.Anchor = AnchorStyles.None; + textBoxAddress.Location = new Point(182, 86); + textBoxAddress.Name = "textBoxAddress"; + textBoxAddress.Size = new Size(355, 27); + textBoxAddress.TabIndex = 9; + // + // textBoxName + // + textBoxName.Anchor = AnchorStyles.None; + textBoxName.Location = new Point(182, 20); + textBoxName.Name = "textBoxName"; + textBoxName.Size = new Size(355, 27); + textBoxName.TabIndex = 8; + // + // labelAddress + // + labelAddress.Anchor = AnchorStyles.None; + labelAddress.AutoSize = true; + labelAddress.Font = new Font("Candara", 12F); + labelAddress.Location = new Point(34, 86); + labelAddress.Margin = new Padding(4, 0, 4, 0); + labelAddress.Name = "labelAddress"; + labelAddress.Size = new Size(63, 24); + labelAddress.TabIndex = 7; + labelAddress.Text = "Адрес"; + // + // labelName + // + labelName.Anchor = AnchorStyles.None; + labelName.AutoSize = true; + labelName.Font = new Font("Candara", 12F); + labelName.Location = new Point(18, 23); + labelName.Margin = new Padding(4, 0, 4, 0); + labelName.Name = "labelName"; + labelName.Size = new Size(93, 24); + labelName.TabIndex = 6; + labelName.Text = "Название"; + // + // dateTimePickerDateOpening + // + dateTimePickerDateOpening.Location = new Point(182, 152); + dateTimePickerDateOpening.Name = "dateTimePickerDateOpening"; + dateTimePickerDateOpening.Size = new Size(355, 27); + dateTimePickerDateOpening.TabIndex = 12; + // + // labelDateOpening + // + labelDateOpening.Anchor = AnchorStyles.None; + labelDateOpening.AutoSize = true; + labelDateOpening.Font = new Font("Candara", 12F); + labelDateOpening.Location = new Point(18, 155); + labelDateOpening.Margin = new Padding(4, 0, 4, 0); + labelDateOpening.Name = "labelDateOpening"; + labelDateOpening.Size = new Size(140, 24); + labelDateOpening.TabIndex = 13; + labelDateOpening.Text = "Дата открытия"; + // + // FormShop + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(571, 273); + Controls.Add(labelDateOpening); + Controls.Add(dateTimePickerDateOpening); + Controls.Add(buttonCancel); + Controls.Add(buttonSave); + Controls.Add(textBoxAddress); + Controls.Add(textBoxName); + Controls.Add(labelAddress); + Controls.Add(labelName); + Name = "FormShop"; + Text = "Магазин"; + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private Button buttonCancel; + private Button buttonSave; + private TextBox textBoxAddress; + private TextBox textBoxName; + private Label labelAddress; + private Label labelName; + private DateTimePicker dateTimePickerDateOpening; + private Label labelDateOpening; + } +} \ No newline at end of file diff --git a/SushiBar/Shops/FormShop.cs b/SushiBar/Shops/FormShop.cs new file mode 100644 index 0000000..4a7a9be --- /dev/null +++ b/SushiBar/Shops/FormShop.cs @@ -0,0 +1,20 @@ +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 SushiBarView.Shops +{ + public partial class FormShop : Form + { + public FormShop() + { + InitializeComponent(); + } + } +} diff --git a/SushiBar/Shops/FormShop.resx b/SushiBar/Shops/FormShop.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/SushiBar/Shops/FormShop.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file diff --git a/SushiBar/Shops/FormShops.Designer.cs b/SushiBar/Shops/FormShops.Designer.cs new file mode 100644 index 0000000..7afb1c7 --- /dev/null +++ b/SushiBar/Shops/FormShops.Designer.cs @@ -0,0 +1,39 @@ +namespace SushiBarView.Shops +{ + partial class FormShops + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "FormShops"; + } + + #endregion + } +} \ No newline at end of file diff --git a/SushiBar/Shops/FormShops.cs b/SushiBar/Shops/FormShops.cs new file mode 100644 index 0000000..63dd50c --- /dev/null +++ b/SushiBar/Shops/FormShops.cs @@ -0,0 +1,20 @@ +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 SushiBarView.Shops +{ + public partial class FormShops : Form + { + public FormShops() + { + InitializeComponent(); + } + } +} diff --git a/SushiBar/Shops/FormShops.resx b/SushiBar/Shops/FormShops.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/SushiBar/Shops/FormShops.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + \ No newline at end of file