diff --git a/BeautySalon/BeautySalon/FormMain.Designer.cs b/BeautySalon/BeautySalon/FormMain.Designer.cs index 248a5c3..1a032ec 100644 --- a/BeautySalon/BeautySalon/FormMain.Designer.cs +++ b/BeautySalon/BeautySalon/FormMain.Designer.cs @@ -28,12 +28,43 @@ /// 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 = "FormMain"; + comboBoxService = new ComboBox(); + label1 = new Label(); + SuspendLayout(); + // + // comboBoxService + // + comboBoxService.FormattingEnabled = true; + comboBoxService.Location = new Point(310, 209); + comboBoxService.Name = "comboBoxService"; + comboBoxService.Size = new Size(227, 28); + comboBoxService.TabIndex = 0; + // + // label1 + // + label1.AutoSize = true; + label1.Location = new Point(350, 253); + label1.Name = "label1"; + label1.Size = new Size(124, 20); + label1.TabIndex = 1; + label1.Text = "Выберите услугу"; + // + // FormMain + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(817, 456); + Controls.Add(label1); + Controls.Add(comboBoxService); + Name = "FormMain"; + Text = "FormMain"; + ResumeLayout(false); + PerformLayout(); } #endregion + + private ComboBox comboBoxService; + private Label label1; } } \ No newline at end of file diff --git a/BeautySalon/BeautySalon/FormMain.resx b/BeautySalon/BeautySalon/FormMain.resx index 1af7de1..af32865 100644 --- a/BeautySalon/BeautySalon/FormMain.resx +++ b/BeautySalon/BeautySalon/FormMain.resx @@ -1,17 +1,17 @@  - diff --git a/BeautySalon/BeautySalonDBModels/ICheque.cs b/BeautySalon/BeautySalonDBModels/ICheque.cs new file mode 100644 index 0000000..5cf6063 --- /dev/null +++ b/BeautySalon/BeautySalonDBModels/ICheque.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeautySalonDBModels +{ + public interface ICheque + { + int ChequeId { get; } + int ClientId { get; } + string ReceptionId { get; } + } +} diff --git a/BeautySalon/BeautySalonDBModels/IClient.cs b/BeautySalon/BeautySalonDBModels/IClient.cs new file mode 100644 index 0000000..e351b71 --- /dev/null +++ b/BeautySalon/BeautySalonDBModels/IClient.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeautySalonDBModels +{ + public interface IClient + { + int ClientId { get; } + string FIO { get; } + int Age { get; } + } +} diff --git a/BeautySalon/BeautySalonDBModels/IMaster.cs b/BeautySalon/BeautySalonDBModels/IMaster.cs new file mode 100644 index 0000000..1accf98 --- /dev/null +++ b/BeautySalon/BeautySalonDBModels/IMaster.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeautySalonDBModels +{ + public interface IMaster + { + int MasterId { get; } + int SpecialisationId { get; } + string FIO { get; } + } +} diff --git a/BeautySalon/BeautySalonDBModels/IReception.cs b/BeautySalon/BeautySalonDBModels/IReception.cs new file mode 100644 index 0000000..e85cd2b --- /dev/null +++ b/BeautySalon/BeautySalonDBModels/IReception.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeautySalonDBModels +{ + public interface IReception + { + int ReceptionId { get; } + int MasterId { get; } + int ServiceId { get; } + DateTime DateReception { get; } + } +} diff --git a/BeautySalon/BeautySalonDBModels/IService.cs b/BeautySalon/BeautySalonDBModels/IService.cs new file mode 100644 index 0000000..cafd066 --- /dev/null +++ b/BeautySalon/BeautySalonDBModels/IService.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeautySalonDBModels +{ + public interface IService + { + int ServiceId { get; } + string ServiceName { get; } + double Price { get; } + int SpecialisationId { get; } + } +} diff --git a/BeautySalon/BeautySalonDBModels/ISpecialisation.cs b/BeautySalon/BeautySalonDBModels/ISpecialisation.cs new file mode 100644 index 0000000..ca3db02 --- /dev/null +++ b/BeautySalon/BeautySalonDBModels/ISpecialisation.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BeautySalonDBModels +{ + public interface ISpecialisation + { + int SpecialisationId { get; } + string Name { get; } + } +}