Сырой
This commit is contained in:
parent
79a3241756
commit
b398267621
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ProjectSession.Entities.Enums;
|
||||
|
||||
[Flags]
|
||||
public enum DisciplineType
|
||||
{
|
||||
None = 0,
|
||||
Mathematics = 1,
|
||||
Physics = 2,
|
||||
Chemistry = 4,
|
||||
Biology = 8,
|
||||
History = 16,
|
||||
Literature = 32,
|
||||
Programming = 64,
|
||||
}
|
@ -42,9 +42,9 @@
|
||||
labelName.AutoSize = true;
|
||||
labelName.Location = new Point(14, 27);
|
||||
labelName.Name = "labelName";
|
||||
labelName.Size = new Size(42, 20);
|
||||
labelName.Size = new Size(45, 20);
|
||||
labelName.TabIndex = 0;
|
||||
labelName.Text = "Имя:";
|
||||
labelName.Text = "ФИО:";
|
||||
//
|
||||
// textBoxName
|
||||
//
|
||||
|
@ -97,7 +97,7 @@
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(256, 207);
|
||||
ClientSize = new Size(255, 202);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonSave);
|
||||
Controls.Add(dateTimePickerDate);
|
||||
|
@ -37,24 +37,26 @@
|
||||
// labelName
|
||||
//
|
||||
labelName.AutoSize = true;
|
||||
labelName.Location = new Point(12, 20);
|
||||
labelName.Location = new Point(14, 27);
|
||||
labelName.Name = "labelName";
|
||||
labelName.Size = new Size(37, 15);
|
||||
labelName.Size = new Size(45, 20);
|
||||
labelName.TabIndex = 0;
|
||||
labelName.Text = "Имя:";
|
||||
labelName.Text = "ФИО:";
|
||||
//
|
||||
// textBoxName
|
||||
//
|
||||
textBoxName.Location = new Point(12, 38);
|
||||
textBoxName.Location = new Point(14, 51);
|
||||
textBoxName.Margin = new Padding(3, 4, 3, 4);
|
||||
textBoxName.Name = "textBoxName";
|
||||
textBoxName.Size = new Size(200, 23);
|
||||
textBoxName.Size = new Size(228, 27);
|
||||
textBoxName.TabIndex = 1;
|
||||
//
|
||||
// buttonSave
|
||||
//
|
||||
buttonSave.Location = new Point(12, 70);
|
||||
buttonSave.Location = new Point(14, 93);
|
||||
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
||||
buttonSave.Name = "buttonSave";
|
||||
buttonSave.Size = new Size(75, 23);
|
||||
buttonSave.Size = new Size(86, 31);
|
||||
buttonSave.TabIndex = 2;
|
||||
buttonSave.Text = "Сохранить";
|
||||
buttonSave.UseVisualStyleBackColor = true;
|
||||
@ -62,9 +64,10 @@
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
buttonCancel.Location = new Point(93, 70);
|
||||
buttonCancel.Location = new Point(106, 93);
|
||||
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
||||
buttonCancel.Name = "buttonCancel";
|
||||
buttonCancel.Size = new Size(75, 23);
|
||||
buttonCancel.Size = new Size(86, 31);
|
||||
buttonCancel.TabIndex = 3;
|
||||
buttonCancel.Text = "Отмена";
|
||||
buttonCancel.UseVisualStyleBackColor = true;
|
||||
@ -72,13 +75,14 @@
|
||||
//
|
||||
// FormTeacherEdit
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(224, 105);
|
||||
ClientSize = new Size(256, 140);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonSave);
|
||||
Controls.Add(textBoxName);
|
||||
Controls.Add(labelName);
|
||||
Margin = new Padding(3, 4, 3, 4);
|
||||
Name = "FormTeacherEdit";
|
||||
Text = "Редактирование преподавателя";
|
||||
ResumeLayout(false);
|
||||
|
@ -11,7 +11,7 @@ public class DisciplineRepository : IDisciplineRepository
|
||||
{
|
||||
public void CreateDiscipline(Discipline discipline) { }
|
||||
public void DeleteDiscipline(int id) { }
|
||||
public Discipline ReadDisciplineById(int id) { return Discipline.CreateEntity(0, string.Empty); }
|
||||
public Discipline ReadDisciplineById(int id) => Discipline.CreateEntity(0, string.Empty);
|
||||
public IEnumerable<Discipline> ReadDisciplines() { return new List<Discipline>(); }
|
||||
public void UpdateDiscipline(Discipline discipline) { }
|
||||
}
|
Loading…
Reference in New Issue
Block a user