Browse Source

Загрузить файлы ''

sergey_stas 2 years ago
parent
commit
9155c53e02
49 changed files with 4162 additions and 0 deletions
  1. 12 0
      App.config
  2. 36 0
      AssemblyInfo.cs
  3. 76 0
      DataClasses1.dbml
  4. 96 0
      DataClasses1.dbml.layout
  5. 1154 0
      DataClasses1.designer.cs
  6. BIN
      DataClasses1.designer.cs.dll
  7. BIN
      DesignTimeResolveAssemblyReferences.cache
  8. BIN
      DesignTimeResolveAssemblyReferencesInput.cache
  9. BIN
      EJ.Group.resources
  10. BIN
      EJ.Properties.Resources.resources
  11. BIN
      EJ.backbb.resources
  12. 145 0
      EJ.csproj
  13. BIN
      EJ.csproj.AssemblyReference.cache
  14. 1 0
      EJ.csproj.CoreCompileInputs.cache
  15. 16 0
      EJ.csproj.FileListAbsolute.txt
  16. BIN
      EJ.csproj.GenerateResource.cache
  17. BIN
      EJ.csproj.SuggestedBindingRedirects.cache
  18. 25 0
      EJ.sln
  19. 115 0
      EJ.sql
  20. BIN
      EJ.Главное_меню.resources
  21. BIN
      EJ.ЗаполнениеПос.resources
  22. BIN
      EJ.Обучающиеся.resources
  23. BIN
      EJ.Посещения.resources
  24. BIN
      EJDataSet.Designer.cs.dll
  25. BIN
      EJDataSet2.Designer.cs.dll
  26. 185 0
      Form1.Designer.cs
  27. 74 0
      Form1.cs
  28. 166 0
      Form1.resx
  29. 22 0
      Program.cs
  30. 71 0
      Resources.Designer.cs
  31. 117 0
      Resources.resx
  32. 37 0
      Settings.Designer.cs
  33. 14 0
      Settings.settings
  34. 1 0
      file.txt
  35. 73 0
      Главное меню.Designer.cs
  36. 20 0
      Главное меню.cs
  37. 120 0
      Главное меню.resx
  38. 283 0
      Добавление_спортсмена.Designer.cs
  39. 66 0
      Добавление_спортсмена.cs
  40. 120 0
      Добавление_спортсмена.resx
  41. 221 0
      ЗаполнениеПос.Designer.cs
  42. 55 0
      ЗаполнениеПос.cs
  43. 132 0
      ЗаполнениеПос.resx
  44. 62 0
      Обучающиеся.Designer.cs
  45. 94 0
      Обучающиеся.cs
  46. 120 0
      Обучающиеся.resx
  47. 222 0
      Расписание.Designer.cs
  48. 73 0
      Расписание.cs
  49. 138 0
      Расписание.resx

+ 12 - 0
App.config

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <configSections>
+    </configSections>
+    <connectionStrings>
+        <add name="EJ.Properties.Settings.EJConnectionString" connectionString="Data Source=DESKTOP-JES5T51\SQLEXPRESS;Initial Catalog=EJ;Integrated Security=True"
+            providerName="System.Data.SqlClient" />
+    </connectionStrings>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

+ 36 - 0
AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Общие сведения об этой сборке предоставляются следующим набором
+// набора атрибутов. Измените значения этих атрибутов для изменения сведений,
+// связанных со сборкой.
+[assembly: AssemblyTitle("EJ")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("EJ")]
+[assembly: AssemblyCopyright("Copyright ©  2022")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
+// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
+// COM, следует установить атрибут ComVisible в TRUE для этого типа.
+[assembly: ComVisible(false)]
+
+// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
+[assembly: Guid("ab22275e-f30a-4149-af65-745dc694448a")]
+
+// Сведения о версии сборки состоят из указанных ниже четырех значений:
+//
+//      Основной номер версии
+//      Дополнительный номер версии
+//      Номер сборки
+//      Редакция
+//
+// Можно задать все значения или принять номера сборки и редакции по умолчанию 
+// используя "*", как показано ниже:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 76 - 0
DataClasses1.dbml

@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?><Database Name="EJ" Class="DataClasses1DataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
+  <Connection Mode="AppSettings" ConnectionString="Data Source=DESKTOP-JES5T51\SQLEXPRESS;Initial Catalog=EJ;Integrated Security=True" SettingsObjectName="EJ.Properties.Settings" SettingsPropertyName="EJConnectionString" Provider="System.Data.SqlClient" />
+  <Table Name="dbo.Группа" Member="Группа">
+    <Type Name="Группа">
+      <Column Name="Код" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
+      <Column Name="Название" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Association Name="Группа_Спортсмены" Member="Спортсмены" ThisKey="Код" OtherKey="Группа" Type="Спортсмены" />
+    </Type>
+  </Table>
+  <Table Name="dbo.Дисциплина" Member="Дисциплина">
+    <Type Name="Дисциплина">
+      <Column Name="Код" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
+      <Column Name="Название" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Association Name="Дисциплина_Спортсмен_дисциплина" Member="Спортсмен_дисциплина" ThisKey="Код" OtherKey="Код_дисциплины" Type="Спортсмен_дисциплина" />
+      <Association Name="Дисциплина_Тренер_дисциплина" Member="Тренер_дисциплина" ThisKey="Код" OtherKey="Код_дисциплины" Type="Тренер_дисциплина" />
+    </Type>
+  </Table>
+  <Table Name="dbo.Посещаемость" Member="Посещаемость">
+    <Type Name="Посещаемость">
+      <Column Name="Отметка" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Дата" Type="System.DateTime" DbType="Date NOT NULL" CanBeNull="false" />
+      <Column Name="Код_спортсмена" Type="System.Int32" DbType="Int" CanBeNull="true" />
+      <Column Name="Фамилия_студента" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Код_посещения" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
+      <Association Name="Спортсмены_Посещаемость" Member="Спортсмены" ThisKey="Код_спортсмена" OtherKey="Код" Type="Спортсмены" IsForeignKey="true" />
+    </Type>
+  </Table>
+  <Table Name="dbo.Расписание" Member="Расписание">
+    <Type Name="Расписание">
+      <Column Name="Дата_проведения" Type="System.DateTime" DbType="Date NOT NULL" CanBeNull="false" />
+      <Column Name="Название_мероприятия" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Место_проведения" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+    </Type>
+  </Table>
+  <Table Name="dbo.[Спортсмен-дисциплина]" Member="Спортсмен_дисциплина">
+    <Type Name="Спортсмен_дисциплина">
+      <Column Name="Код_дисциплины" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
+      <Column Name="Код_спортсмена" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
+      <Association Name="Дисциплина_Спортсмен_дисциплина" Member="Дисциплина" ThisKey="Код_дисциплины" OtherKey="Код" Type="Дисциплина" IsForeignKey="true" />
+      <Association Name="Спортсмены_Спортсмен_дисциплина" Member="Спортсмены" ThisKey="Код_спортсмена" OtherKey="Код" Type="Спортсмены" IsForeignKey="true" />
+    </Type>
+  </Table>
+  <Table Name="dbo.Спортсмены" Member="Спортсмены">
+    <Type Name="Спортсмены">
+      <Column Name="Код" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
+      <Column Name="Имя" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Фамилия" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Отчество" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Телефон" Type="System.String" DbType="NChar(11)" CanBeNull="true" />
+      <Column Name="Знак_ГТО" Type="System.String" DbType="NVarChar(50)" CanBeNull="true" />
+      <Column Name="Группа" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
+      <Association Name="Спортсмены_Посещаемость" Member="Посещаемость" ThisKey="Код" OtherKey="Код_спортсмена" Type="Посещаемость" />
+      <Association Name="Спортсмены_Спортсмен_дисциплина" Member="Спортсмен_дисциплина" ThisKey="Код" OtherKey="Код_спортсмена" Type="Спортсмен_дисциплина" />
+      <Association Name="Группа_Спортсмены" Member="Группа1" ThisKey="Группа" OtherKey="Код" Type="Группа" IsForeignKey="true" />
+    </Type>
+  </Table>
+  <Table Name="dbo.Тренер" Member="Тренер">
+    <Type Name="Тренер">
+      <Column Name="Код" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
+      <Column Name="Имя" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Фамилия" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Отчество" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Column Name="Телефон" Type="System.String" DbType="NChar(11)" CanBeNull="true" />
+      <Column Name="Дожность" Type="System.String" DbType="NVarChar(50) NOT NULL" CanBeNull="false" />
+      <Association Name="Тренер_Тренер_дисциплина" Member="Тренер_дисциплина" ThisKey="Код" OtherKey="Код_тренера" Type="Тренер_дисциплина" />
+    </Type>
+  </Table>
+  <Table Name="dbo.[Тренер-дисциплина]" Member="Тренер_дисциплина">
+    <Type Name="Тренер_дисциплина">
+      <Column Name="Код_тренера" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
+      <Column Name="Код_дисциплины" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
+      <Association Name="Дисциплина_Тренер_дисциплина" Member="Дисциплина" ThisKey="Код_дисциплины" OtherKey="Код" Type="Дисциплина" IsForeignKey="true" />
+      <Association Name="Тренер_Тренер_дисциплина" Member="Тренер" ThisKey="Код_тренера" OtherKey="Код" Type="Тренер" IsForeignKey="true" />
+    </Type>
+  </Table>
+</Database>

+ 96 - 0
DataClasses1.dbml.layout

@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ordesignerObjectsDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 10.125" name="DataClasses1">
+  <DataContextMoniker Name="/DataClasses1DataContext" />
+  <nestedChildShapes>
+    <classShape Id="9f39a0ae-f354-452d-a086-559784ee9e53" absoluteBounds="0.75, 2.25, 2, 1.1939925130208335">
+      <DataClassMoniker Name="/DataClasses1DataContext/Группа" />
+      <nestedChildShapes>
+        <elementListCompartment Id="ff4f81fd-cf39-4c5b-b1a2-fc5bcdc5852a" absoluteBounds="0.765, 2.71, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="21203cc6-152b-41df-b85b-0583a9ca8ac1" absoluteBounds="3.5, 5.25, 2, 1.1939925130208326">
+      <DataClassMoniker Name="/DataClasses1DataContext/Дисциплина" />
+      <nestedChildShapes>
+        <elementListCompartment Id="10135c73-e3fa-44ae-a613-19a44f14b034" absoluteBounds="3.515, 5.71, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="8b40aa26-ddcf-4bd1-a1dd-488817f59041" absoluteBounds="6.25, 3.875, 2, 1.7708968098958326">
+      <DataClassMoniker Name="/DataClasses1DataContext/Посещаемость" />
+      <nestedChildShapes>
+        <elementListCompartment Id="3a9dd21d-6d15-425b-bebf-c707529f2b1e" absoluteBounds="6.265, 4.335, 1.9700000000000002, 1.2108968098958333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="ae24d14f-f6f9-4dfa-bd13-34a4413e11f5" absoluteBounds="8.75, 0.75, 2, 1.3862939453125003">
+      <DataClassMoniker Name="/DataClasses1DataContext/Расписание" />
+      <nestedChildShapes>
+        <elementListCompartment Id="49dd8d7a-77c7-4e25-9635-7360086d85c2" absoluteBounds="8.765, 1.21, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="3810f6af-fd03-46e5-b060-e039999a47bc" absoluteBounds="6.25, 1.25, 2, 1.1939925130208335">
+      <DataClassMoniker Name="/DataClasses1DataContext/Спортсмен_дисциплина" />
+      <nestedChildShapes>
+        <elementListCompartment Id="7caca113-67a8-4a8e-9342-b627cd750b57" absoluteBounds="6.265, 1.71, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="2f72223a-5366-42bd-8144-f81422746b5d" absoluteBounds="3.5, 1.75, 2, 2.1554996744791666">
+      <DataClassMoniker Name="/DataClasses1DataContext/Спортсмены" />
+      <nestedChildShapes>
+        <elementListCompartment Id="604e12e7-2d46-4ca3-bbf2-267ec90052ac" absoluteBounds="3.515, 2.21, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="1defabd3-4de6-4048-b4ea-7353cd318fad" absoluteBounds="3.5, 7.875, 2, 1.9631982421874996">
+      <DataClassMoniker Name="/DataClasses1DataContext/Тренер" />
+      <nestedChildShapes>
+        <elementListCompartment Id="e2edd44e-a513-4af0-8569-f2fb0388852a" absoluteBounds="3.515, 8.335, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <classShape Id="8e45e484-e4c5-47c2-889d-6c9399d8ec3e" absoluteBounds="6.25, 7.25, 2, 1.1939925130208326">
+      <DataClassMoniker Name="/DataClasses1DataContext/Тренер_дисциплина" />
+      <nestedChildShapes>
+        <elementListCompartment Id="e6f40375-3aec-418a-a5bc-f48ad57929d5" absoluteBounds="6.265, 7.71, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+      </nestedChildShapes>
+    </classShape>
+    <associationConnector edgePoints="[(5.5 : 5.25); (5.875 : 4.875); (5.875 : 2.81899251302083); (6.25 : 2.44399251302083)]" fixedFrom="NotFixed" fixedTo="NotFixed">
+      <AssociationMoniker Name="/DataClasses1DataContext/Дисциплина/Дисциплина_Спортсмен_дисциплина" />
+      <nodes>
+        <classShapeMoniker Id="21203cc6-152b-41df-b85b-0583a9ca8ac1" />
+        <classShapeMoniker Id="3810f6af-fd03-46e5-b060-e039999a47bc" />
+      </nodes>
+    </associationConnector>
+    <associationConnector edgePoints="[(5.5 : 3.84242175140224); (5.81607443490112 : 4.15849618630336 : JumpStart); (5.93392556509888 : 4.27634731650112 : JumpEnd); (6.0625 : 4.40492175140224); (6.0625 : 3.6875); (6.25 : 3.875)]" fixedFrom="NotFixed" fixedTo="NotFixed">
+      <AssociationMoniker Name="/DataClasses1DataContext/Спортсмены/Спортсмены_Посещаемость" />
+      <nodes>
+        <classShapeMoniker Id="2f72223a-5366-42bd-8144-f81422746b5d" />
+        <classShapeMoniker Id="8b40aa26-ddcf-4bd1-a1dd-488817f59041" />
+      </nodes>
+    </associationConnector>
+    <associationConnector edgePoints="[(5.5 : 2.06574375651042); (6.25 : 2.06574375651042)]" fixedFrom="Algorithm" fixedTo="Algorithm">
+      <AssociationMoniker Name="/DataClasses1DataContext/Спортсмены/Спортсмены_Спортсмен_дисциплина" />
+      <nodes>
+        <classShapeMoniker Id="2f72223a-5366-42bd-8144-f81422746b5d" />
+        <classShapeMoniker Id="3810f6af-fd03-46e5-b060-e039999a47bc" />
+      </nodes>
+    </associationConnector>
+    <associationConnector edgePoints="[(2.75 : 2.84699625651042); (3.5 : 2.84699625651042)]" fixedFrom="Algorithm" fixedTo="Algorithm">
+      <AssociationMoniker Name="/DataClasses1DataContext/Группа/Группа_Спортсмены" />
+      <nodes>
+        <classShapeMoniker Id="9f39a0ae-f354-452d-a086-559784ee9e53" />
+        <classShapeMoniker Id="2f72223a-5366-42bd-8144-f81422746b5d" />
+      </nodes>
+    </associationConnector>
+    <associationConnector edgePoints="[(5.5 : 6.44399251302083); (5.875 : 6.81899251302083); (5.875 : 6.875); (6.25 : 7.25)]" fixedFrom="NotFixed" fixedTo="NotFixed">
+      <AssociationMoniker Name="/DataClasses1DataContext/Дисциплина/Дисциплина_Тренер_дисциплина" />
+      <nodes>
+        <classShapeMoniker Id="21203cc6-152b-41df-b85b-0583a9ca8ac1" />
+        <classShapeMoniker Id="8e45e484-e4c5-47c2-889d-6c9399d8ec3e" />
+      </nodes>
+    </associationConnector>
+    <associationConnector edgePoints="[(5.5 : 8.15949625651042); (6.25 : 8.15949625651042)]" fixedFrom="Algorithm" fixedTo="Algorithm">
+      <AssociationMoniker Name="/DataClasses1DataContext/Тренер/Тренер_Тренер_дисциплина" />
+      <nodes>
+        <classShapeMoniker Id="1defabd3-4de6-4048-b4ea-7353cd318fad" />
+        <classShapeMoniker Id="8e45e484-e4c5-47c2-889d-6c9399d8ec3e" />
+      </nodes>
+    </associationConnector>
+  </nestedChildShapes>
+</ordesignerObjectsDiagram>

+ 1154 - 0
DataClasses1.designer.cs

@@ -0,0 +1,1154 @@
+#pragma warning disable 1591
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace EJ
+{
+	using System.Data.Linq;
+	using System.Data.Linq.Mapping;
+	using System.Data;
+	using System.Collections.Generic;
+	using System.Reflection;
+	using System.Linq;
+	using System.Linq.Expressions;
+	using System.ComponentModel;
+	using System;
+	
+	
+	[global::System.Data.Linq.Mapping.DatabaseAttribute(Name="EJ")]
+	public partial class DataClasses1DataContext : System.Data.Linq.DataContext
+	{
+		
+		private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
+		
+    #region Определения метода расширяемости
+    partial void OnCreated();
+    partial void InsertГруппа(Группа instance);
+    partial void UpdateГруппа(Группа instance);
+    partial void DeleteГруппа(Группа instance);
+    partial void InsertДисциплина(Дисциплина instance);
+    partial void UpdateДисциплина(Дисциплина instance);
+    partial void DeleteДисциплина(Дисциплина instance);
+    partial void InsertПосещаемость(Посещаемость instance);
+    partial void UpdateПосещаемость(Посещаемость instance);
+    partial void DeleteПосещаемость(Посещаемость instance);
+    partial void InsertСпортсмены(Спортсмены instance);
+    partial void UpdateСпортсмены(Спортсмены instance);
+    partial void DeleteСпортсмены(Спортсмены instance);
+    partial void InsertТренер(Тренер instance);
+    partial void UpdateТренер(Тренер instance);
+    partial void DeleteТренер(Тренер instance);
+    #endregion
+		
+		public DataClasses1DataContext() : 
+				base(global::EJ.Properties.Settings.Default.EJConnectionString, mappingSource)
+		{
+			OnCreated();
+		}
+		
+		public DataClasses1DataContext(string connection) : 
+				base(connection, mappingSource)
+		{
+			OnCreated();
+		}
+		
+		public DataClasses1DataContext(System.Data.IDbConnection connection) : 
+				base(connection, mappingSource)
+		{
+			OnCreated();
+		}
+		
+		public DataClasses1DataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
+				base(connection, mappingSource)
+		{
+			OnCreated();
+		}
+		
+		public DataClasses1DataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : 
+				base(connection, mappingSource)
+		{
+			OnCreated();
+		}
+		
+		public System.Data.Linq.Table<Группа> Группа
+		{
+			get
+			{
+				return this.GetTable<Группа>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Дисциплина> Дисциплина
+		{
+			get
+			{
+				return this.GetTable<Дисциплина>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Посещаемость> Посещаемость
+		{
+			get
+			{
+				return this.GetTable<Посещаемость>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Расписание> Расписание
+		{
+			get
+			{
+				return this.GetTable<Расписание>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Спортсмен_дисциплина> Спортсмен_дисциплина
+		{
+			get
+			{
+				return this.GetTable<Спортсмен_дисциплина>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Спортсмены> Спортсмены
+		{
+			get
+			{
+				return this.GetTable<Спортсмены>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Тренер> Тренер
+		{
+			get
+			{
+				return this.GetTable<Тренер>();
+			}
+		}
+		
+		public System.Data.Linq.Table<Тренер_дисциплина> Тренер_дисциплина
+		{
+			get
+			{
+				return this.GetTable<Тренер_дисциплина>();
+			}
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Группа")]
+	public partial class Группа : INotifyPropertyChanging, INotifyPropertyChanged
+	{
+		
+		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+		
+		private int _Код;
+		
+		private string _Название;
+		
+		private EntitySet<Спортсмены> _Спортсмены;
+		
+    #region Определения метода расширяемости
+    partial void OnLoaded();
+    partial void OnValidate(System.Data.Linq.ChangeAction action);
+    partial void OnCreated();
+    partial void OnКодChanging(int value);
+    partial void OnКодChanged();
+    partial void OnНазваниеChanging(string value);
+    partial void OnНазваниеChanged();
+    #endregion
+		
+		public Группа()
+		{
+			this._Спортсмены = new EntitySet<Спортсмены>(new Action<Спортсмены>(this.attach_Спортсмены), new Action<Спортсмены>(this.detach_Спортсмены));
+			OnCreated();
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
+		public int Код
+		{
+			get
+			{
+				return this._Код;
+			}
+			set
+			{
+				if ((this._Код != value))
+				{
+					this.OnКодChanging(value);
+					this.SendPropertyChanging();
+					this._Код = value;
+					this.SendPropertyChanged("Код");
+					this.OnКодChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Название", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Название
+		{
+			get
+			{
+				return this._Название;
+			}
+			set
+			{
+				if ((this._Название != value))
+				{
+					this.OnНазваниеChanging(value);
+					this.SendPropertyChanging();
+					this._Название = value;
+					this.SendPropertyChanged("Название");
+					this.OnНазваниеChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Группа_Спортсмены", Storage="_Спортсмены", ThisKey="Код", OtherKey="Группа")]
+		public EntitySet<Спортсмены> Спортсмены
+		{
+			get
+			{
+				return this._Спортсмены;
+			}
+			set
+			{
+				this._Спортсмены.Assign(value);
+			}
+		}
+		
+		public event PropertyChangingEventHandler PropertyChanging;
+		
+		public event PropertyChangedEventHandler PropertyChanged;
+		
+		protected virtual void SendPropertyChanging()
+		{
+			if ((this.PropertyChanging != null))
+			{
+				this.PropertyChanging(this, emptyChangingEventArgs);
+			}
+		}
+		
+		protected virtual void SendPropertyChanged(String propertyName)
+		{
+			if ((this.PropertyChanged != null))
+			{
+				this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+			}
+		}
+		
+		private void attach_Спортсмены(Спортсмены entity)
+		{
+			this.SendPropertyChanging();
+			entity.Группа1 = this;
+		}
+		
+		private void detach_Спортсмены(Спортсмены entity)
+		{
+			this.SendPropertyChanging();
+			entity.Группа1 = null;
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Дисциплина")]
+	public partial class Дисциплина : INotifyPropertyChanging, INotifyPropertyChanged
+	{
+		
+		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+		
+		private int _Код;
+		
+		private string _Название;
+		
+    #region Определения метода расширяемости
+    partial void OnLoaded();
+    partial void OnValidate(System.Data.Linq.ChangeAction action);
+    partial void OnCreated();
+    partial void OnКодChanging(int value);
+    partial void OnКодChanged();
+    partial void OnНазваниеChanging(string value);
+    partial void OnНазваниеChanged();
+    #endregion
+		
+		public Дисциплина()
+		{
+			OnCreated();
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
+		public int Код
+		{
+			get
+			{
+				return this._Код;
+			}
+			set
+			{
+				if ((this._Код != value))
+				{
+					this.OnКодChanging(value);
+					this.SendPropertyChanging();
+					this._Код = value;
+					this.SendPropertyChanged("Код");
+					this.OnКодChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Название", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Название
+		{
+			get
+			{
+				return this._Название;
+			}
+			set
+			{
+				if ((this._Название != value))
+				{
+					this.OnНазваниеChanging(value);
+					this.SendPropertyChanging();
+					this._Название = value;
+					this.SendPropertyChanged("Название");
+					this.OnНазваниеChanged();
+				}
+			}
+		}
+		
+		public event PropertyChangingEventHandler PropertyChanging;
+		
+		public event PropertyChangedEventHandler PropertyChanged;
+		
+		protected virtual void SendPropertyChanging()
+		{
+			if ((this.PropertyChanging != null))
+			{
+				this.PropertyChanging(this, emptyChangingEventArgs);
+			}
+		}
+		
+		protected virtual void SendPropertyChanged(String propertyName)
+		{
+			if ((this.PropertyChanged != null))
+			{
+				this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+			}
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Посещаемость")]
+	public partial class Посещаемость : INotifyPropertyChanging, INotifyPropertyChanged
+	{
+		
+		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+		
+		private string _Отметка;
+		
+		private System.DateTime _Дата;
+		
+		private System.Nullable<int> _Код_спортсмена;
+		
+		private string _Фамилия_студента;
+		
+		private int _Код_посещения;
+		
+		private EntityRef<Спортсмены> _Спортсмены;
+		
+    #region Определения метода расширяемости
+    partial void OnLoaded();
+    partial void OnValidate(System.Data.Linq.ChangeAction action);
+    partial void OnCreated();
+    partial void OnОтметкаChanging(string value);
+    partial void OnОтметкаChanged();
+    partial void OnДатаChanging(System.DateTime value);
+    partial void OnДатаChanged();
+    partial void OnКод_спортсменаChanging(System.Nullable<int> value);
+    partial void OnКод_спортсменаChanged();
+    partial void OnФамилия_студентаChanging(string value);
+    partial void OnФамилия_студентаChanged();
+    partial void OnКод_посещенияChanging(int value);
+    partial void OnКод_посещенияChanged();
+    #endregion
+		
+		public Посещаемость()
+		{
+			this._Спортсмены = default(EntityRef<Спортсмены>);
+			OnCreated();
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Отметка", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Отметка
+		{
+			get
+			{
+				return this._Отметка;
+			}
+			set
+			{
+				if ((this._Отметка != value))
+				{
+					this.OnОтметкаChanging(value);
+					this.SendPropertyChanging();
+					this._Отметка = value;
+					this.SendPropertyChanged("Отметка");
+					this.OnОтметкаChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Дата", DbType="Date NOT NULL")]
+		public System.DateTime Дата
+		{
+			get
+			{
+				return this._Дата;
+			}
+			set
+			{
+				if ((this._Дата != value))
+				{
+					this.OnДатаChanging(value);
+					this.SendPropertyChanging();
+					this._Дата = value;
+					this.SendPropertyChanged("Дата");
+					this.OnДатаChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код_спортсмена", DbType="Int")]
+		public System.Nullable<int> Код_спортсмена
+		{
+			get
+			{
+				return this._Код_спортсмена;
+			}
+			set
+			{
+				if ((this._Код_спортсмена != value))
+				{
+					if (this._Спортсмены.HasLoadedOrAssignedValue)
+					{
+						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+					}
+					this.OnКод_спортсменаChanging(value);
+					this.SendPropertyChanging();
+					this._Код_спортсмена = value;
+					this.SendPropertyChanged("Код_спортсмена");
+					this.OnКод_спортсменаChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Фамилия_студента", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Фамилия_студента
+		{
+			get
+			{
+				return this._Фамилия_студента;
+			}
+			set
+			{
+				if ((this._Фамилия_студента != value))
+				{
+					this.OnФамилия_студентаChanging(value);
+					this.SendPropertyChanging();
+					this._Фамилия_студента = value;
+					this.SendPropertyChanged("Фамилия_студента");
+					this.OnФамилия_студентаChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код_посещения", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
+		public int Код_посещения
+		{
+			get
+			{
+				return this._Код_посещения;
+			}
+			set
+			{
+				if ((this._Код_посещения != value))
+				{
+					this.OnКод_посещенияChanging(value);
+					this.SendPropertyChanging();
+					this._Код_посещения = value;
+					this.SendPropertyChanged("Код_посещения");
+					this.OnКод_посещенияChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Спортсмены_Посещаемость", Storage="_Спортсмены", ThisKey="Код_спортсмена", OtherKey="Код", IsForeignKey=true)]
+		public Спортсмены Спортсмены
+		{
+			get
+			{
+				return this._Спортсмены.Entity;
+			}
+			set
+			{
+				Спортсмены previousValue = this._Спортсмены.Entity;
+				if (((previousValue != value) 
+							|| (this._Спортсмены.HasLoadedOrAssignedValue == false)))
+				{
+					this.SendPropertyChanging();
+					if ((previousValue != null))
+					{
+						this._Спортсмены.Entity = null;
+						previousValue.Посещаемость.Remove(this);
+					}
+					this._Спортсмены.Entity = value;
+					if ((value != null))
+					{
+						value.Посещаемость.Add(this);
+						this._Код_спортсмена = value.Код;
+					}
+					else
+					{
+						this._Код_спортсмена = default(Nullable<int>);
+					}
+					this.SendPropertyChanged("Спортсмены");
+				}
+			}
+		}
+		
+		public event PropertyChangingEventHandler PropertyChanging;
+		
+		public event PropertyChangedEventHandler PropertyChanged;
+		
+		protected virtual void SendPropertyChanging()
+		{
+			if ((this.PropertyChanging != null))
+			{
+				this.PropertyChanging(this, emptyChangingEventArgs);
+			}
+		}
+		
+		protected virtual void SendPropertyChanged(String propertyName)
+		{
+			if ((this.PropertyChanged != null))
+			{
+				this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+			}
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Расписание")]
+	public partial class Расписание
+	{
+		
+		private System.DateTime _Дата_проведения;
+		
+		private string _Название_мероприятия;
+		
+		private string _Место_проведения;
+		
+		public Расписание()
+		{
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Дата_проведения", DbType="Date NOT NULL")]
+		public System.DateTime Дата_проведения
+		{
+			get
+			{
+				return this._Дата_проведения;
+			}
+			set
+			{
+				if ((this._Дата_проведения != value))
+				{
+					this._Дата_проведения = value;
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Название_мероприятия", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Название_мероприятия
+		{
+			get
+			{
+				return this._Название_мероприятия;
+			}
+			set
+			{
+				if ((this._Название_мероприятия != value))
+				{
+					this._Название_мероприятия = value;
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Место_проведения", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Место_проведения
+		{
+			get
+			{
+				return this._Место_проведения;
+			}
+			set
+			{
+				if ((this._Место_проведения != value))
+				{
+					this._Место_проведения = value;
+				}
+			}
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.[Спортсмен-дисциплина]")]
+	public partial class Спортсмен_дисциплина
+	{
+		
+		private int _Код_дисциплины;
+		
+		private int _Код_спортсмена;
+		
+		public Спортсмен_дисциплина()
+		{
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код_дисциплины", DbType="Int NOT NULL")]
+		public int Код_дисциплины
+		{
+			get
+			{
+				return this._Код_дисциплины;
+			}
+			set
+			{
+				if ((this._Код_дисциплины != value))
+				{
+					this._Код_дисциплины = value;
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код_спортсмена", DbType="Int NOT NULL")]
+		public int Код_спортсмена
+		{
+			get
+			{
+				return this._Код_спортсмена;
+			}
+			set
+			{
+				if ((this._Код_спортсмена != value))
+				{
+					this._Код_спортсмена = value;
+				}
+			}
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Спортсмены")]
+	public partial class Спортсмены : INotifyPropertyChanging, INotifyPropertyChanged
+	{
+		
+		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+		
+		private int _Код;
+		
+		private string _Имя;
+		
+		private string _Фамилия;
+		
+		private string _Отчество;
+		
+		private string _Телефон;
+		
+		private string _Знак_ГТО;
+		
+		private int _Группа;
+		
+		private EntitySet<Посещаемость> _Посещаемость;
+		
+		private EntityRef<Группа> _Группа1;
+		
+    #region Определения метода расширяемости
+    partial void OnLoaded();
+    partial void OnValidate(System.Data.Linq.ChangeAction action);
+    partial void OnCreated();
+    partial void OnКодChanging(int value);
+    partial void OnКодChanged();
+    partial void OnИмяChanging(string value);
+    partial void OnИмяChanged();
+    partial void OnФамилияChanging(string value);
+    partial void OnФамилияChanged();
+    partial void OnОтчествоChanging(string value);
+    partial void OnОтчествоChanged();
+    partial void OnТелефонChanging(string value);
+    partial void OnТелефонChanged();
+    partial void OnЗнак_ГТОChanging(string value);
+    partial void OnЗнак_ГТОChanged();
+    partial void OnГруппаChanging(int value);
+    partial void OnГруппаChanged();
+    #endregion
+		
+		public Спортсмены()
+		{
+			this._Посещаемость = new EntitySet<Посещаемость>(new Action<Посещаемость>(this.attach_Посещаемость), new Action<Посещаемость>(this.detach_Посещаемость));
+			this._Группа1 = default(EntityRef<Группа>);
+			OnCreated();
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
+		public int Код
+		{
+			get
+			{
+				return this._Код;
+			}
+			set
+			{
+				if ((this._Код != value))
+				{
+					this.OnКодChanging(value);
+					this.SendPropertyChanging();
+					this._Код = value;
+					this.SendPropertyChanged("Код");
+					this.OnКодChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Имя", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Имя
+		{
+			get
+			{
+				return this._Имя;
+			}
+			set
+			{
+				if ((this._Имя != value))
+				{
+					this.OnИмяChanging(value);
+					this.SendPropertyChanging();
+					this._Имя = value;
+					this.SendPropertyChanged("Имя");
+					this.OnИмяChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Фамилия", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Фамилия
+		{
+			get
+			{
+				return this._Фамилия;
+			}
+			set
+			{
+				if ((this._Фамилия != value))
+				{
+					this.OnФамилияChanging(value);
+					this.SendPropertyChanging();
+					this._Фамилия = value;
+					this.SendPropertyChanged("Фамилия");
+					this.OnФамилияChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Отчество", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Отчество
+		{
+			get
+			{
+				return this._Отчество;
+			}
+			set
+			{
+				if ((this._Отчество != value))
+				{
+					this.OnОтчествоChanging(value);
+					this.SendPropertyChanging();
+					this._Отчество = value;
+					this.SendPropertyChanged("Отчество");
+					this.OnОтчествоChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Телефон", DbType="NChar(11)")]
+		public string Телефон
+		{
+			get
+			{
+				return this._Телефон;
+			}
+			set
+			{
+				if ((this._Телефон != value))
+				{
+					this.OnТелефонChanging(value);
+					this.SendPropertyChanging();
+					this._Телефон = value;
+					this.SendPropertyChanged("Телефон");
+					this.OnТелефонChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Знак_ГТО", DbType="NVarChar(50)")]
+		public string Знак_ГТО
+		{
+			get
+			{
+				return this._Знак_ГТО;
+			}
+			set
+			{
+				if ((this._Знак_ГТО != value))
+				{
+					this.OnЗнак_ГТОChanging(value);
+					this.SendPropertyChanging();
+					this._Знак_ГТО = value;
+					this.SendPropertyChanged("Знак_ГТО");
+					this.OnЗнак_ГТОChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Группа", DbType="Int NOT NULL")]
+		public int Группа
+		{
+			get
+			{
+				return this._Группа;
+			}
+			set
+			{
+				if ((this._Группа != value))
+				{
+					if (this._Группа1.HasLoadedOrAssignedValue)
+					{
+						throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+					}
+					this.OnГруппаChanging(value);
+					this.SendPropertyChanging();
+					this._Группа = value;
+					this.SendPropertyChanged("Группа");
+					this.OnГруппаChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Спортсмены_Посещаемость", Storage="_Посещаемость", ThisKey="Код", OtherKey="Код_спортсмена")]
+		public EntitySet<Посещаемость> Посещаемость
+		{
+			get
+			{
+				return this._Посещаемость;
+			}
+			set
+			{
+				this._Посещаемость.Assign(value);
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Группа_Спортсмены", Storage="_Группа1", ThisKey="Группа", OtherKey="Код", IsForeignKey=true)]
+		public Группа Группа1
+		{
+			get
+			{
+				return this._Группа1.Entity;
+			}
+			set
+			{
+				Группа previousValue = this._Группа1.Entity;
+				if (((previousValue != value) 
+							|| (this._Группа1.HasLoadedOrAssignedValue == false)))
+				{
+					this.SendPropertyChanging();
+					if ((previousValue != null))
+					{
+						this._Группа1.Entity = null;
+						previousValue.Спортсмены.Remove(this);
+					}
+					this._Группа1.Entity = value;
+					if ((value != null))
+					{
+						value.Спортсмены.Add(this);
+						this._Группа = value.Код;
+					}
+					else
+					{
+						this._Группа = default(int);
+					}
+					this.SendPropertyChanged("Группа1");
+				}
+			}
+		}
+		
+		public event PropertyChangingEventHandler PropertyChanging;
+		
+		public event PropertyChangedEventHandler PropertyChanged;
+		
+		protected virtual void SendPropertyChanging()
+		{
+			if ((this.PropertyChanging != null))
+			{
+				this.PropertyChanging(this, emptyChangingEventArgs);
+			}
+		}
+		
+		protected virtual void SendPropertyChanged(String propertyName)
+		{
+			if ((this.PropertyChanged != null))
+			{
+				this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+			}
+		}
+		
+		private void attach_Посещаемость(Посещаемость entity)
+		{
+			this.SendPropertyChanging();
+			entity.Спортсмены = this;
+		}
+		
+		private void detach_Посещаемость(Посещаемость entity)
+		{
+			this.SendPropertyChanging();
+			entity.Спортсмены = null;
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Тренер")]
+	public partial class Тренер : INotifyPropertyChanging, INotifyPropertyChanged
+	{
+		
+		private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+		
+		private int _Код;
+		
+		private string _Имя;
+		
+		private string _Фамилия;
+		
+		private string _Отчество;
+		
+		private string _Телефон;
+		
+		private string _Дожность;
+		
+    #region Определения метода расширяемости
+    partial void OnLoaded();
+    partial void OnValidate(System.Data.Linq.ChangeAction action);
+    partial void OnCreated();
+    partial void OnКодChanging(int value);
+    partial void OnКодChanged();
+    partial void OnИмяChanging(string value);
+    partial void OnИмяChanged();
+    partial void OnФамилияChanging(string value);
+    partial void OnФамилияChanged();
+    partial void OnОтчествоChanging(string value);
+    partial void OnОтчествоChanged();
+    partial void OnТелефонChanging(string value);
+    partial void OnТелефонChanged();
+    partial void OnДожностьChanging(string value);
+    partial void OnДожностьChanged();
+    #endregion
+		
+		public Тренер()
+		{
+			OnCreated();
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)]
+		public int Код
+		{
+			get
+			{
+				return this._Код;
+			}
+			set
+			{
+				if ((this._Код != value))
+				{
+					this.OnКодChanging(value);
+					this.SendPropertyChanging();
+					this._Код = value;
+					this.SendPropertyChanged("Код");
+					this.OnКодChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Имя", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Имя
+		{
+			get
+			{
+				return this._Имя;
+			}
+			set
+			{
+				if ((this._Имя != value))
+				{
+					this.OnИмяChanging(value);
+					this.SendPropertyChanging();
+					this._Имя = value;
+					this.SendPropertyChanged("Имя");
+					this.OnИмяChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Фамилия", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Фамилия
+		{
+			get
+			{
+				return this._Фамилия;
+			}
+			set
+			{
+				if ((this._Фамилия != value))
+				{
+					this.OnФамилияChanging(value);
+					this.SendPropertyChanging();
+					this._Фамилия = value;
+					this.SendPropertyChanged("Фамилия");
+					this.OnФамилияChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Отчество", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Отчество
+		{
+			get
+			{
+				return this._Отчество;
+			}
+			set
+			{
+				if ((this._Отчество != value))
+				{
+					this.OnОтчествоChanging(value);
+					this.SendPropertyChanging();
+					this._Отчество = value;
+					this.SendPropertyChanged("Отчество");
+					this.OnОтчествоChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Телефон", DbType="NChar(11)")]
+		public string Телефон
+		{
+			get
+			{
+				return this._Телефон;
+			}
+			set
+			{
+				if ((this._Телефон != value))
+				{
+					this.OnТелефонChanging(value);
+					this.SendPropertyChanging();
+					this._Телефон = value;
+					this.SendPropertyChanged("Телефон");
+					this.OnТелефонChanged();
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Дожность", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
+		public string Дожность
+		{
+			get
+			{
+				return this._Дожность;
+			}
+			set
+			{
+				if ((this._Дожность != value))
+				{
+					this.OnДожностьChanging(value);
+					this.SendPropertyChanging();
+					this._Дожность = value;
+					this.SendPropertyChanged("Дожность");
+					this.OnДожностьChanged();
+				}
+			}
+		}
+		
+		public event PropertyChangingEventHandler PropertyChanging;
+		
+		public event PropertyChangedEventHandler PropertyChanged;
+		
+		protected virtual void SendPropertyChanging()
+		{
+			if ((this.PropertyChanging != null))
+			{
+				this.PropertyChanging(this, emptyChangingEventArgs);
+			}
+		}
+		
+		protected virtual void SendPropertyChanged(String propertyName)
+		{
+			if ((this.PropertyChanged != null))
+			{
+				this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+			}
+		}
+	}
+	
+	[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.[Тренер-дисциплина]")]
+	public partial class Тренер_дисциплина
+	{
+		
+		private int _Код_тренера;
+		
+		private int _Код_дисциплины;
+		
+		public Тренер_дисциплина()
+		{
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код_тренера", DbType="Int NOT NULL")]
+		public int Код_тренера
+		{
+			get
+			{
+				return this._Код_тренера;
+			}
+			set
+			{
+				if ((this._Код_тренера != value))
+				{
+					this._Код_тренера = value;
+				}
+			}
+		}
+		
+		[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Код_дисциплины", DbType="Int NOT NULL")]
+		public int Код_дисциплины
+		{
+			get
+			{
+				return this._Код_дисциплины;
+			}
+			set
+			{
+				if ((this._Код_дисциплины != value))
+				{
+					this._Код_дисциплины = value;
+				}
+			}
+		}
+	}
+}
+#pragma warning restore 1591

BIN
DataClasses1.designer.cs.dll


BIN
DesignTimeResolveAssemblyReferences.cache


BIN
DesignTimeResolveAssemblyReferencesInput.cache


BIN
EJ.Group.resources


BIN
EJ.Properties.Resources.resources


BIN
EJ.backbb.resources


+ 145 - 0
EJ.csproj

@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{AB22275E-F30A-4149-AF65-745DC694448A}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>EJ</RootNamespace>
+    <AssemblyName>EJ</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Data.Linq" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Deployment" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="DataClasses1.designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>DataClasses1.dbml</DependentUpon>
+    </Compile>
+    <Compile Include="Form1.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Form1.Designer.cs">
+      <DependentUpon>Form1.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Главное меню.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Главное меню.Designer.cs">
+      <DependentUpon>Главное меню.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Добавление_спортсмена.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Добавление_спортсмена.Designer.cs">
+      <DependentUpon>Добавление_спортсмена.cs</DependentUpon>
+    </Compile>
+    <Compile Include="ЗаполнениеПос.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="ЗаполнениеПос.Designer.cs">
+      <DependentUpon>ЗаполнениеПос.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Обучающиеся.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Обучающиеся.Designer.cs">
+      <DependentUpon>Обучающиеся.cs</DependentUpon>
+    </Compile>
+    <Compile Include="Расписание.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Расписание.Designer.cs">
+      <DependentUpon>Расписание.cs</DependentUpon>
+    </Compile>
+    <EmbeddedResource Include="Form1.resx">
+      <DependentUpon>Form1.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <EmbeddedResource Include="Главное меню.resx">
+      <DependentUpon>Главное меню.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Добавление_спортсмена.resx">
+      <DependentUpon>Добавление_спортсмена.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="ЗаполнениеПос.resx">
+      <DependentUpon>ЗаполнениеПос.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Обучающиеся.resx">
+      <DependentUpon>Обучающиеся.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Расписание.resx">
+      <DependentUpon>Расписание.cs</DependentUpon>
+    </EmbeddedResource>
+    <None Include="DataClasses1.dbml">
+      <Generator>MSLinqToSQLGenerator</Generator>
+      <LastGenOutput>DataClasses1.designer.cs</LastGenOutput>
+      <SubType>Designer</SubType>
+    </None>
+    <None Include="DataClasses1.dbml.layout">
+      <DependentUpon>DataClasses1.dbml</DependentUpon>
+    </None>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

BIN
EJ.csproj.AssemblyReference.cache


+ 1 - 0
EJ.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+f70d24d70759e007a0d7a19ae280e5431844323d

+ 16 - 0
EJ.csproj.FileListAbsolute.txt

@@ -0,0 +1,16 @@
+C:\Users\ADMIN\source\repos\EJ\EJ\bin\Debug\EJ.exe.config
+C:\Users\ADMIN\source\repos\EJ\EJ\bin\Debug\EJ.exe
+C:\Users\ADMIN\source\repos\EJ\EJ\bin\Debug\EJ.pdb
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.csproj.AssemblyReference.cache
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.csproj.SuggestedBindingRedirects.cache
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.Посещения.resources
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.Properties.Resources.resources
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.csproj.GenerateResource.cache
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.csproj.CoreCompileInputs.cache
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.exe
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.pdb
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.Обучающиеся.resources
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.Group.resources
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.backbb.resources
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.Главное_меню.resources
+C:\Users\ADMIN\source\repos\EJ\EJ\obj\Debug\EJ.ЗаполнениеПос.resources

BIN
EJ.csproj.GenerateResource.cache


BIN
EJ.csproj.SuggestedBindingRedirects.cache


+ 25 - 0
EJ.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.1.32210.238
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EJ", "EJ\EJ.csproj", "{AB22275E-F30A-4149-AF65-745DC694448A}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{AB22275E-F30A-4149-AF65-745DC694448A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{AB22275E-F30A-4149-AF65-745DC694448A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{AB22275E-F30A-4149-AF65-745DC694448A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{AB22275E-F30A-4149-AF65-745DC694448A}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {4FD4645C-C13D-4939-A068-C1FFA1CD190F}
+	EndGlobalSection
+EndGlobal

+ 115 - 0
EJ.sql

@@ -0,0 +1,115 @@
+USE [master]
+GO
+
+/****** Object:  Database [EJ]    Script Date: 08.06.2022 18:52:39 ******/
+CREATE DATABASE [EJ]
+ CONTAINMENT = NONE
+ ON  PRIMARY 
+( NAME = N'EJ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\DATA\EJ.mdf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
+ LOG ON 
+( NAME = N'EJ_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\DATA\EJ_log.ldf' , SIZE = 8192KB , MAXSIZE = 2048GB , FILEGROWTH = 65536KB )
+ WITH CATALOG_COLLATION = DATABASE_DEFAULT
+GO
+
+IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
+begin
+EXEC [EJ].[dbo].[sp_fulltext_database] @action = 'enable'
+end
+GO
+
+ALTER DATABASE [EJ] SET ANSI_NULL_DEFAULT OFF 
+GO
+
+ALTER DATABASE [EJ] SET ANSI_NULLS OFF 
+GO
+
+ALTER DATABASE [EJ] SET ANSI_PADDING OFF 
+GO
+
+ALTER DATABASE [EJ] SET ANSI_WARNINGS OFF 
+GO
+
+ALTER DATABASE [EJ] SET ARITHABORT OFF 
+GO
+
+ALTER DATABASE [EJ] SET AUTO_CLOSE OFF 
+GO
+
+ALTER DATABASE [EJ] SET AUTO_SHRINK OFF 
+GO
+
+ALTER DATABASE [EJ] SET AUTO_UPDATE_STATISTICS ON 
+GO
+
+ALTER DATABASE [EJ] SET CURSOR_CLOSE_ON_COMMIT OFF 
+GO
+
+ALTER DATABASE [EJ] SET CURSOR_DEFAULT  GLOBAL 
+GO
+
+ALTER DATABASE [EJ] SET CONCAT_NULL_YIELDS_NULL OFF 
+GO
+
+ALTER DATABASE [EJ] SET NUMERIC_ROUNDABORT OFF 
+GO
+
+ALTER DATABASE [EJ] SET QUOTED_IDENTIFIER OFF 
+GO
+
+ALTER DATABASE [EJ] SET RECURSIVE_TRIGGERS OFF 
+GO
+
+ALTER DATABASE [EJ] SET  DISABLE_BROKER 
+GO
+
+ALTER DATABASE [EJ] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
+GO
+
+ALTER DATABASE [EJ] SET DATE_CORRELATION_OPTIMIZATION OFF 
+GO
+
+ALTER DATABASE [EJ] SET TRUSTWORTHY OFF 
+GO
+
+ALTER DATABASE [EJ] SET ALLOW_SNAPSHOT_ISOLATION OFF 
+GO
+
+ALTER DATABASE [EJ] SET PARAMETERIZATION SIMPLE 
+GO
+
+ALTER DATABASE [EJ] SET READ_COMMITTED_SNAPSHOT OFF 
+GO
+
+ALTER DATABASE [EJ] SET HONOR_BROKER_PRIORITY OFF 
+GO
+
+ALTER DATABASE [EJ] SET RECOVERY SIMPLE 
+GO
+
+ALTER DATABASE [EJ] SET  MULTI_USER 
+GO
+
+ALTER DATABASE [EJ] SET PAGE_VERIFY CHECKSUM  
+GO
+
+ALTER DATABASE [EJ] SET DB_CHAINING OFF 
+GO
+
+ALTER DATABASE [EJ] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF ) 
+GO
+
+ALTER DATABASE [EJ] SET TARGET_RECOVERY_TIME = 60 SECONDS 
+GO
+
+ALTER DATABASE [EJ] SET DELAYED_DURABILITY = DISABLED 
+GO
+
+ALTER DATABASE [EJ] SET ACCELERATED_DATABASE_RECOVERY = OFF  
+GO
+
+ALTER DATABASE [EJ] SET QUERY_STORE = OFF
+GO
+
+ALTER DATABASE [EJ] SET  READ_WRITE 
+GO
+

BIN
EJ.Главное_меню.resources


BIN
EJ.ЗаполнениеПос.resources


BIN
EJ.Обучающиеся.resources


BIN
EJ.Посещения.resources


BIN
EJDataSet.Designer.cs.dll


BIN
EJDataSet2.Designer.cs.dll


+ 185 - 0
Form1.Designer.cs

@@ -0,0 +1,185 @@
+namespace EJ
+{
+    partial class Посещения
+    {
+        /// <summary>
+        /// Обязательная переменная конструктора.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Освободить все используемые ресурсы.
+        /// </summary>
+        /// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Код, автоматически созданный конструктором форм Windows
+
+        /// <summary>
+        /// Требуемый метод для поддержки конструктора — не изменяйте 
+        /// содержимое этого метода с помощью редактора кода.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Посещения));
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+            this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
+            this.dataGridView1 = new System.Windows.Forms.DataGridView();
+            this.отметкаDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.датаDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.фамилиястудентаDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.посещаемостьBindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.Save = new System.Windows.Forms.Button();
+
+            this.panel1.SuspendLayout();
+            this.toolStrip1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.посещаемостьBindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.eJDataSet)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.PowderBlue;
+            this.panel1.Controls.Add(this.toolStrip1);
+            this.panel1.Controls.Add(this.dataGridView1);
+            this.panel1.Controls.Add(this.Save);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(684, 359);
+            this.panel1.TabIndex = 0;
+            // 
+            // toolStrip1
+            // 
+            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+            this.toolStripButton1,
+            this.toolStripButton2});
+            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+            this.toolStrip1.Name = "toolStrip1";
+            this.toolStrip1.Size = new System.Drawing.Size(684, 25);
+            this.toolStrip1.TabIndex = 3;
+            this.toolStrip1.Text = "toolStrip1";
+            // 
+            // toolStripButton1
+            // 
+            this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
+            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.toolStripButton1.Name = "toolStripButton1";
+            this.toolStripButton1.Size = new System.Drawing.Size(82, 22);
+            this.toolStripButton1.Text = "Спортсмены";
+            this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+            // 
+            // toolStripButton2
+            // 
+            this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
+            this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
+            this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.toolStripButton2.Name = "toolStripButton2";
+            this.toolStripButton2.Size = new System.Drawing.Size(76, 22);
+            this.toolStripButton2.Text = "Расписание";
+            this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
+            // 
+            // dataGridView1
+            // 
+            this.dataGridView1.AutoGenerateColumns = false;
+            this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.отметкаDataGridViewTextBoxColumn,
+            this.датаDataGridViewTextBoxColumn,
+            this.фамилиястудентаDataGridViewTextBoxColumn});
+            this.dataGridView1.DataSource = this.посещаемостьBindingSource;
+            this.dataGridView1.Location = new System.Drawing.Point(120, 38);
+            this.dataGridView1.Name = "dataGridView1";
+            this.dataGridView1.Size = new System.Drawing.Size(532, 169);
+            this.dataGridView1.TabIndex = 2;
+            // 
+            // отметкаDataGridViewTextBoxColumn
+            // 
+            this.отметкаDataGridViewTextBoxColumn.DataPropertyName = "Отметка";
+            this.отметкаDataGridViewTextBoxColumn.HeaderText = "Отметка";
+            this.отметкаDataGridViewTextBoxColumn.Name = "отметкаDataGridViewTextBoxColumn";
+            // 
+            // датаDataGridViewTextBoxColumn
+            // 
+            this.датаDataGridViewTextBoxColumn.DataPropertyName = "Дата";
+            this.датаDataGridViewTextBoxColumn.HeaderText = "Дата";
+            this.датаDataGridViewTextBoxColumn.Name = "датаDataGridViewTextBoxColumn";
+            // 
+            // фамилиястудентаDataGridViewTextBoxColumn
+            // 
+            this.фамилиястудентаDataGridViewTextBoxColumn.DataPropertyName = "Фамилия_студента";
+            this.фамилиястудентаDataGridViewTextBoxColumn.HeaderText = "Фамилия студента";
+            this.фамилиястудентаDataGridViewTextBoxColumn.Name = "фамилиястудентаDataGridViewTextBoxColumn";
+            // 
+            // посещаемостьBindingSource
+            // 
+            this.посещаемостьBindingSource.DataMember = "Посещаемость";
+            this.посещаемостьBindingSource.DataSource = this.eJDataSet;
+            // 
+            // eJDataSet
+            // 
+            this.eJDataSet.DataSetName = "EJDataSet";
+            this.eJDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+            // 
+            // Save
+            // 
+            this.Save.Location = new System.Drawing.Point(12, 319);
+            this.Save.Name = "Save";
+            this.Save.Size = new System.Drawing.Size(91, 30);
+            this.Save.TabIndex = 1;
+            this.Save.Text = "Сохранить";
+            this.Save.UseVisualStyleBackColor = true;
+            this.Save.Click += new System.EventHandler(this.Save_Click);
+            // 
+            // посещаемостьTableAdapter
+            // 
+            this.посещаемостьTableAdapter.ClearBeforeFill = true;
+            // 
+            // Посещения
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(684, 361);
+            this.Controls.Add(this.panel1);
+            this.Name = "Посещения";
+            this.Text = "Журнал посещений";
+            this.Load += new System.EventHandler(this.Посещения_Load);
+            this.panel1.ResumeLayout(false);
+            this.panel1.PerformLayout();
+            this.toolStrip1.ResumeLayout(false);
+            this.toolStrip1.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.посещаемостьBindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.eJDataSet)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Button Save;
+        private System.Windows.Forms.DataGridView dataGridView1;
+        private System.Windows.Forms.BindingSource посещаемостьBindingSource;
+        private System.Windows.Forms.ToolStrip toolStrip1;
+        private System.Windows.Forms.ToolStripButton toolStripButton1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn отметкаDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn датаDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn фамилиястудентаDataGridViewTextBoxColumn;
+        private System.Windows.Forms.ToolStripButton toolStripButton2;
+    }
+}
+

+ 74 - 0
Form1.cs

@@ -0,0 +1,74 @@
+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;
+using System.Data.SqlClient;
+
+namespace EJ
+{
+    public partial class Посещения : Form
+    {
+        SqlConnection connection;
+        SqlCommand command;
+        SqlDataAdapter adapter;
+        DataTable table;
+        public Посещения()
+        {
+            InitializeComponent();
+            dataGridView1.AutoGenerateColumns = true;
+            connection = new SqlConnection("SERVER=DESKTOP-JES5T51\\SQLEXPRESS;Database=EJ;Trusted_Connection=True;");
+            command = new SqlCommand();
+            command.Connection = connection;
+            command.CommandType = CommandType.Text;
+            adapter = new SqlDataAdapter(command);
+            table = new DataTable();
+            dataGridView1.DataSource = table;
+            ShowTable("SELECT * FROM Посещаемость");
+        }
+        public void ShowTable(string text)
+        {
+            dataGridView1.Columns.Clear();
+            dataGridView1.DataSource = null;
+            command.CommandText = text;
+            table.Clear();
+            adapter.Fill(table);
+            dataGridView1.DataSource = table;
+        }
+
+
+        public void Посещения_Load(object sender, EventArgs e)
+        {
+            // TODO: данная строка кода позволяет загрузить данные в таблицу "eJDataSet.Посещаемость". При необходимости она может быть перемещена или удалена.
+            this.посещаемостьTableAdapter.Fill(this.eJDataSet.Посещаемость);
+
+        }
+
+        private void Save_Click(object sender, EventArgs e)
+        {
+            ЗаполнениеПос M = new ЗаполнениеПос();
+            M.Show();
+            this.Hide();
+
+        }
+
+        private void toolStripButton1_Click(object sender, EventArgs e)
+        {
+            this.Hide();
+            Обучающиеся N = new Обучающиеся();
+            N.Show();
+            
+        }
+
+        private void toolStripButton2_Click(object sender, EventArgs e)
+        {
+            backbb V = new backbb();
+            V.Show();
+            this.Hide();
+        }
+    }
+}

+ 166 - 0
Form1.resx

@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>542, 17</value>
+  </metadata>
+  <metadata name="посещаемостьBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>122, 17</value>
+  </metadata>
+  <metadata name="eJDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+  <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+        YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+        0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+        bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+        VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+        c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+        Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+        mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+        kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+        TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
+        YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
+        0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
+        bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
+        VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
+        c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
+        Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
+        mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
+        kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
+        TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+</value>
+  </data>
+  <metadata name="eJDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="посещаемостьTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>335, 17</value>
+  </metadata>
+</root>

+ 22 - 0
Program.cs

@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace EJ
+{
+    internal static class Program
+    {
+        /// <summary>
+        /// Главная точка входа для приложения.
+        /// </summary>
+        [STAThread]
+        static void Main()
+        {
+            Application.EnableVisualStyles();
+            Application.SetCompatibleTextRenderingDefault(false);
+            Application.Run(new Посещения());
+        }
+    }
+}

+ 71 - 0
Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программным средством.
+//     Версия среды выполнения: 4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
+//     код создан повторно.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace EJ.Properties
+{
+
+
+    /// <summary>
+    ///   Класс ресурсов со строгим типом для поиска локализованных строк и пр.
+    /// </summary>
+    // Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
+    // класс с помощью таких средств, как ResGen или Visual Studio.
+    // Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
+    // с параметром /str или заново постройте свой VS-проект.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EJ.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Переопределяет свойство CurrentUICulture текущего потока для всех
+        ///   подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 37 - 0
Settings.Designer.cs

@@ -0,0 +1,37 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace EJ.Properties {
+    
+    
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+        
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+        
+        public static Settings Default {
+            get {
+                return defaultInstance;
+            }
+        }
+        
+        [global::System.Configuration.ApplicationScopedSettingAttribute()]
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
+        [global::System.Configuration.DefaultSettingValueAttribute("Data Source=DESKTOP-JES5T51\\SQLEXPRESS;Initial Catalog=EJ;Integrated Security=Tru" +
+            "e")]
+        public string EJConnectionString {
+            get {
+                return ((string)(this["EJConnectionString"]));
+            }
+        }
+    }
+}

+ 14 - 0
Settings.settings

@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="EJ.Properties" GeneratedClassName="Settings">
+  <Profiles />
+  <Settings>
+    <Setting Name="EJConnectionString" Type="(Connection string)" Scope="Application">
+      <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
+&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
+  &lt;ConnectionString&gt;Data Source=DESKTOP-JES5T51\SQLEXPRESS;Initial Catalog=EJ;Integrated Security=True&lt;/ConnectionString&gt;
+  &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
+&lt;/SerializableConnectionString&gt;</DesignTimeValue>
+      <Value Profile="(Default)">Data Source=DESKTOP-JES5T51\SQLEXPRESS;Initial Catalog=EJ;Integrated Security=True</Value>
+    </Setting>
+  </Settings>
+</SettingsFile>

+ 1 - 0
file.txt

@@ -0,0 +1 @@
+Кирьянов

+ 73 - 0
Главное меню.Designer.cs

@@ -0,0 +1,73 @@
+namespace EJ
+{
+    partial class Главное_меню
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.groupBox1 = new System.Windows.Forms.GroupBox();
+            this.panel1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.PowderBlue;
+            this.panel1.Controls.Add(this.groupBox1);
+            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(684, 361);
+            this.panel1.TabIndex = 0;
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Location = new System.Drawing.Point(12, 12);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(200, 337);
+            this.groupBox1.TabIndex = 0;
+            this.groupBox1.TabStop = false;
+            this.groupBox1.Text = "Меню";
+            // 
+            // Главное_меню
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(684, 361);
+            this.Controls.Add(this.panel1);
+            this.Name = "Главное_меню";
+            this.Text = "Главное меню";
+            this.panel1.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.GroupBox groupBox1;
+    }
+}

+ 20 - 0
Главное меню.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 EJ
+{
+    public partial class Главное_меню : Form
+    {
+        public Главное_меню()
+        {
+            InitializeComponent();
+        }
+    }
+}

+ 120 - 0
Главное меню.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 283 - 0
Добавление_спортсмена.Designer.cs

@@ -0,0 +1,283 @@
+namespace EJ
+{
+    partial class Group
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.button2 = new System.Windows.Forms.Button();
+            this.button1 = new System.Windows.Forms.Button();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.label7 = new System.Windows.Forms.Label();
+            this.label6 = new System.Windows.Forms.Label();
+            this.label5 = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label2 = new System.Windows.Forms.Label();
+            this.label1 = new System.Windows.Forms.Label();
+            this.Grup = new System.Windows.Forms.TextBox();
+            this.Saveadd = new System.Windows.Forms.Button();
+            this.Star_GTO = new System.Windows.Forms.TextBox();
+            this.Phone = new System.Windows.Forms.TextBox();
+            this.MiddleName = new System.Windows.Forms.TextBox();
+            this.SecondName = new System.Windows.Forms.TextBox();
+            this.Name = new System.Windows.Forms.TextBox();
+            this.panel1.SuspendLayout();
+            this.panel2.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.PowderBlue;
+            this.panel1.Controls.Add(this.button2);
+            this.panel1.Controls.Add(this.button1);
+            this.panel1.Controls.Add(this.panel2);
+            this.panel1.Controls.Add(this.label6);
+            this.panel1.Controls.Add(this.label5);
+            this.panel1.Controls.Add(this.label4);
+            this.panel1.Controls.Add(this.label3);
+            this.panel1.Controls.Add(this.label2);
+            this.panel1.Controls.Add(this.label1);
+            this.panel1.Controls.Add(this.Grup);
+            this.panel1.Controls.Add(this.Saveadd);
+            this.panel1.Controls.Add(this.Star_GTO);
+            this.panel1.Controls.Add(this.Phone);
+            this.panel1.Controls.Add(this.MiddleName);
+            this.panel1.Controls.Add(this.SecondName);
+            this.panel1.Controls.Add(this.Name);
+            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(484, 361);
+            this.panel1.TabIndex = 0;
+            this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
+            // 
+            // button2
+            // 
+            this.button2.Location = new System.Drawing.Point(152, 249);
+            this.button2.Name = "button2";
+            this.button2.Size = new System.Drawing.Size(88, 28);
+            this.button2.TabIndex = 16;
+            this.button2.Text = "Назад";
+            this.button2.UseVisualStyleBackColor = true;
+            this.button2.Click += new System.EventHandler(this.button2_Click);
+            // 
+            // button1
+            // 
+            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+            this.button1.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.button1.Location = new System.Drawing.Point(400, 46);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(84, 31);
+            this.button1.TabIndex = 15;
+            this.button1.Text = "Памятка";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // panel2
+            // 
+            this.panel2.BackColor = System.Drawing.Color.Azure;
+            this.panel2.Controls.Add(this.label7);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(484, 45);
+            this.panel2.TabIndex = 14;
+            // 
+            // label7
+            // 
+            this.label7.AutoSize = true;
+            this.label7.Font = new System.Drawing.Font("Tw Cen MT", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label7.Location = new System.Drawing.Point(101, 9);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(267, 22);
+            this.label7.TabIndex = 0;
+            this.label7.Text = "Введите данные нового спортсмена";
+            // 
+            // label6
+            // 
+            this.label6.AutoSize = true;
+            this.label6.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label6.Location = new System.Drawing.Point(75, 203);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(49, 19);
+            this.label6.TabIndex = 13;
+            this.label6.Text = "Группа";
+            // 
+            // label5
+            // 
+            this.label5.AutoSize = true;
+            this.label5.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label5.Location = new System.Drawing.Point(59, 172);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(64, 19);
+            this.label5.TabIndex = 12;
+            this.label5.Text = "Знак ГТО";
+            // 
+            // label4
+            // 
+            this.label4.AutoSize = true;
+            this.label4.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label4.Location = new System.Drawing.Point(12, 141);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(112, 19);
+            this.label4.TabIndex = 11;
+            this.label4.Text = "Номер телефона";
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label3.Location = new System.Drawing.Point(59, 109);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(65, 19);
+            this.label3.TabIndex = 10;
+            this.label3.Text = "Отчество";
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label2.Location = new System.Drawing.Point(60, 80);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(64, 19);
+            this.label2.TabIndex = 9;
+            this.label2.Text = "Фамилия";
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label1.Location = new System.Drawing.Point(90, 48);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(34, 19);
+            this.label1.TabIndex = 8;
+            this.label1.Text = "Имя";
+            // 
+            // Grup
+            // 
+            this.Grup.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Grup.Location = new System.Drawing.Point(130, 203);
+            this.Grup.Multiline = true;
+            this.Grup.Name = "Grup";
+            this.Grup.Size = new System.Drawing.Size(110, 25);
+            this.Grup.TabIndex = 7;
+            // 
+            // Saveadd
+            // 
+            this.Saveadd.Location = new System.Drawing.Point(16, 249);
+            this.Saveadd.Name = "Saveadd";
+            this.Saveadd.Size = new System.Drawing.Size(88, 28);
+            this.Saveadd.TabIndex = 6;
+            this.Saveadd.Text = "Добавить";
+            this.Saveadd.UseVisualStyleBackColor = true;
+            this.Saveadd.Click += new System.EventHandler(this.Saveadd_Click);
+            // 
+            // Star_GTO
+            // 
+            this.Star_GTO.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Star_GTO.Location = new System.Drawing.Point(130, 172);
+            this.Star_GTO.Multiline = true;
+            this.Star_GTO.Name = "Star_GTO";
+            this.Star_GTO.Size = new System.Drawing.Size(110, 25);
+            this.Star_GTO.TabIndex = 5;
+            // 
+            // Phone
+            // 
+            this.Phone.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Phone.Location = new System.Drawing.Point(130, 142);
+            this.Phone.Multiline = true;
+            this.Phone.Name = "Phone";
+            this.Phone.Size = new System.Drawing.Size(110, 25);
+            this.Phone.TabIndex = 4;
+            // 
+            // MiddleName
+            // 
+            this.MiddleName.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.MiddleName.Location = new System.Drawing.Point(130, 110);
+            this.MiddleName.Multiline = true;
+            this.MiddleName.Name = "MiddleName";
+            this.MiddleName.Size = new System.Drawing.Size(110, 25);
+            this.MiddleName.TabIndex = 2;
+            // 
+            // SecondName
+            // 
+            this.SecondName.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.SecondName.Location = new System.Drawing.Point(130, 80);
+            this.SecondName.Multiline = true;
+            this.SecondName.Name = "SecondName";
+            this.SecondName.Size = new System.Drawing.Size(110, 25);
+            this.SecondName.TabIndex = 1;
+            // 
+            // Name
+            // 
+            this.Name.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Name.Location = new System.Drawing.Point(130, 49);
+            this.Name.Multiline = true;
+            this.Name.Name = "Name";
+            this.Name.Size = new System.Drawing.Size(110, 25);
+            this.Name.TabIndex = 0;
+            // 
+            // Group
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(484, 361);
+            this.Controls.Add(this.panel1);
+            this.Name = "Group";
+            this.Text = "Добавление_спортсмена";
+            this.Load += new System.EventHandler(this.Group_Load);
+            this.panel1.ResumeLayout(false);
+            this.panel1.PerformLayout();
+            this.panel2.ResumeLayout(false);
+            this.panel2.PerformLayout();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.TextBox MiddleName;
+        private System.Windows.Forms.TextBox SecondName;
+        private System.Windows.Forms.TextBox Name;
+        private System.Windows.Forms.Button Saveadd;
+        private System.Windows.Forms.TextBox Star_GTO;
+        private System.Windows.Forms.TextBox Phone;
+        private System.Windows.Forms.TextBox Grup;
+        private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.Label label6;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Button button2;
+    }
+}

+ 66 - 0
Добавление_спортсмена.cs

@@ -0,0 +1,66 @@
+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;
+using System.Data.SqlClient;
+
+namespace EJ
+{
+    public partial class Group : Form
+    {
+        public Group()
+        {
+            InitializeComponent();
+        }
+
+        private void Saveadd_Click(object sender, EventArgs e)
+        {
+            var db = new
+      DataClasses1DataContext();
+            var data = new Спортсмены
+            {
+                Имя = (Name.Text),
+                Фамилия = (SecondName.Text),
+                Отчество = (MiddleName.Text),
+                Телефон = (Phone.Text),
+                Знак_ГТО = (Star_GTO.Text),
+                Группа =int.Parse(Grup.Text)
+            };
+            db.Спортсмены.InsertOnSubmit(data);
+            db.SubmitChanges();
+            MessageBox.Show("Новый спортсмен добавлен!");
+            this.Close();
+            Обучающиеся l = new Обучающиеся();
+            l.Show();
+
+
+        }
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+            MessageBox.Show("В поле группа пишется код группы, т.е 1=Юношеская, 2=Детская, 3=Взрослая");
+        }
+
+        private void button2_Click(object sender, EventArgs e)
+        {
+            this.Close();
+            Обучающиеся B = new Обучающиеся();
+            B.Show();
+        }
+
+        private void Group_Load(object sender, EventArgs e)
+        {
+
+        }
+
+        private void panel1_Paint(object sender, PaintEventArgs e)
+        {
+
+        }
+    }
+}

+ 120 - 0
Добавление_спортсмена.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 221 - 0
ЗаполнениеПос.Designer.cs

@@ -0,0 +1,221 @@
+namespace EJ
+{
+    partial class ЗаполнениеПос
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.Otmetka = new System.Windows.Forms.TextBox();
+            this.button1 = new System.Windows.Forms.Button();
+            this.Name = new System.Windows.Forms.ComboBox();
+            this.спортсменыBindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.label1 = new System.Windows.Forms.Label();
+            this.спортсменыBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
+            this.groupBox1 = new System.Windows.Forms.GroupBox();
+            this.label2 = new System.Windows.Forms.Label();
+            this.label3 = new System.Windows.Forms.Label();
+            this.label4 = new System.Windows.Forms.Label();
+            this.Datett = new System.Windows.Forms.TextBox();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.спортсменыBindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.eJDataSet2)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.спортсменыBindingSource1)).BeginInit();
+            this.groupBox1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.PowderBlue;
+            this.panel1.Controls.Add(this.groupBox1);
+            this.panel1.Controls.Add(this.button1);
+            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(484, 361);
+            this.panel1.TabIndex = 0;
+            // 
+            // Otmetka
+            // 
+            this.Otmetka.Location = new System.Drawing.Point(150, 71);
+            this.Otmetka.Name = "Otmetka";
+            this.Otmetka.Size = new System.Drawing.Size(174, 25);
+            this.Otmetka.TabIndex = 5;
+            // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(22, 321);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(75, 28);
+            this.button1.TabIndex = 4;
+            this.button1.Text = "Сохраниь";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // Name
+            // 
+            this.Name.DataSource = this.спортсменыBindingSource;
+            this.Name.DisplayMember = "Фамилия";
+            this.Name.FormattingEnabled = true;
+            this.Name.Location = new System.Drawing.Point(150, 24);
+            this.Name.Name = "Name";
+            this.Name.Size = new System.Drawing.Size(174, 27);
+            this.Name.TabIndex = 1;
+            // 
+            // спортсменыBindingSource
+            // 
+            this.спортсменыBindingSource.DataMember = "Спортсмены";
+            this.спортсменыBindingSource.DataSource = this.eJDataSet2;
+            // 
+            // eJDataSet2
+            // 
+            this.eJDataSet2.DataSetName = "EJDataSet2";
+            this.eJDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+            // 
+            // panel2
+            // 
+            this.panel2.BackColor = System.Drawing.Color.Azure;
+            this.panel2.Controls.Add(this.label1);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(484, 90);
+            this.panel2.TabIndex = 0;
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Font = new System.Drawing.Font("Tw Cen MT", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label1.Location = new System.Drawing.Point(134, 34);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(202, 22);
+            this.label1.TabIndex = 0;
+            this.label1.Text = "Заполнение посещяемости";
+            // 
+            // спортсменыTableAdapter
+            // 
+            this.спортсменыTableAdapter.ClearBeforeFill = true;
+            // 
+            // спортсменыBindingSource1
+            // 
+            this.спортсменыBindingSource1.DataMember = "Спортсмены";
+            this.спортсменыBindingSource1.DataSource = this.eJDataSet2;
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Controls.Add(this.Datett);
+            this.groupBox1.Controls.Add(this.label4);
+            this.groupBox1.Controls.Add(this.label3);
+            this.groupBox1.Controls.Add(this.label2);
+            this.groupBox1.Controls.Add(this.Name);
+            this.groupBox1.Controls.Add(this.Otmetka);
+            this.groupBox1.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.groupBox1.Location = new System.Drawing.Point(12, 96);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(330, 146);
+            this.groupBox1.TabIndex = 6;
+            this.groupBox1.TabStop = false;
+            this.groupBox1.Text = "Заполните данные";
+            this.groupBox1.Enter += new System.EventHandler(this.groupBox1_Enter);
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Location = new System.Drawing.Point(6, 24);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(138, 19);
+            this.label2.TabIndex = 6;
+            this.label2.Text = "Фамилия спортсмена";
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Location = new System.Drawing.Point(11, 71);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(133, 19);
+            this.label3.TabIndex = 7;
+            this.label3.Text = "Отмека о посещении";
+            // 
+            // label4
+            // 
+            this.label4.AutoSize = true;
+            this.label4.Location = new System.Drawing.Point(53, 114);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(91, 19);
+            this.label4.TabIndex = 8;
+            this.label4.Text = "Дата занятия";
+            // 
+            // Datett
+            // 
+            this.Datett.Location = new System.Drawing.Point(150, 111);
+            this.Datett.Multiline = true;
+            this.Datett.Name = "Datett";
+            this.Datett.Size = new System.Drawing.Size(174, 25);
+            this.Datett.TabIndex = 9;
+            // 
+            // ЗаполнениеПос
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(484, 361);
+            this.Controls.Add(this.panel1);
+            this.Text = "ЗаполнениеПос";
+            this.Load += new System.EventHandler(this.ЗаполнениеПос_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.спортсменыBindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.eJDataSet2)).EndInit();
+            this.panel2.ResumeLayout(false);
+            this.panel2.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.спортсменыBindingSource1)).EndInit();
+            this.groupBox1.ResumeLayout(false);
+            this.groupBox1.PerformLayout();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.ComboBox Name;
+        private EJDataSet2 eJDataSet2;
+        private System.Windows.Forms.BindingSource спортсменыBindingSource;
+        private EJDataSet2TableAdapters.СпортсменыTableAdapter спортсменыTableAdapter;
+        private System.Windows.Forms.BindingSource спортсменыBindingSource1;
+        private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.TextBox Otmetka;
+        private System.Windows.Forms.GroupBox groupBox1;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.Label label2;
+        private System.Windows.Forms.TextBox Datett;
+    }
+}

+ 55 - 0
ЗаполнениеПос.cs

@@ -0,0 +1,55 @@
+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;
+using System.Data.SqlClient;
+
+namespace EJ
+{
+    public partial class ЗаполнениеПос : Form
+    {
+        SqlConnection connection;
+        SqlCommand command;
+        SqlDataAdapter adapter;
+        DataTable table;
+        public ЗаполнениеПос()
+        {
+            InitializeComponent();
+        }
+
+        private void ЗаполнениеПос_Load(object sender, EventArgs e)
+        {
+            // TODO: данная строка кода позволяет загрузить данные в таблицу "eJDataSet2.Спортсмены". При необходимости она может быть перемещена или удалена.
+            this.спортсменыTableAdapter.Fill(this.eJDataSet2.Спортсмены);
+
+        }
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+            var db = new
+                DataClasses1DataContext();
+            var data = new Посещаемость
+            {
+                Фамилия_студента = (Name.Text),
+                Отметка = (Otmetka.Text),
+                Дата = DateTime.Now
+            };
+            db.Посещаемость.InsertOnSubmit(data);
+            db.SubmitChanges();
+            MessageBox.Show("Новая отметка добавлена");
+            this.Close();
+            Обучающиеся l = new Обучающиеся();
+            l.Show();
+        }
+
+        private void groupBox1_Enter(object sender, EventArgs e)
+        {
+
+        }
+    }
+}

+ 132 - 0
ЗаполнениеПос.resx

@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="спортсменыBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>129, 17</value>
+  </metadata>
+  <metadata name="eJDataSet2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="спортсменыTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>329, 17</value>
+  </metadata>
+  <metadata name="спортсменыBindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>523, 17</value>
+  </metadata>
+</root>

+ 62 - 0
Обучающиеся.Designer.cs

@@ -0,0 +1,62 @@
+namespace EJ
+{
+    partial class Обучающиеся
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.SuspendLayout();
+            // 
+            // Обучающиеся
+            // 
+            this.ClientSize = new System.Drawing.Size(284, 261);
+            this.Name = "Обучающиеся";
+            this.Load += new System.EventHandler(this.Обучающиеся_Load_1);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.DataGridView dataGridView1;
+        private EJDataSet eJDataSet;
+        private System.Windows.Forms.BindingSource спортсменыBindingSource;
+        private EJDataSetTableAdapters.СпортсменыTableAdapter спортсменыTableAdapter;
+        private System.Windows.Forms.RadioButton radioButton1;
+        private System.Windows.Forms.RadioButton radioButton2;
+        private System.Windows.Forms.RadioButton radioButton3;
+        private System.Windows.Forms.RadioButton radioButton4;
+        private System.Windows.Forms.Button Add;
+        private System.Windows.Forms.GroupBox groupBox1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn имяDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn фамилияDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn отчествоDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn телефонDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn знакГТОDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn группаDataGridViewTextBoxColumn;
+        private System.Windows.Forms.Button Back;
+    }
+}

+ 94 - 0
Обучающиеся.cs

@@ -0,0 +1,94 @@
+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;
+using System.Data.SqlClient;
+
+namespace EJ
+{
+    public partial class Обучающиеся : Form
+    {
+        SqlConnection connection;
+        SqlCommand command;
+        SqlDataAdapter adapter;
+        DataTable table;
+
+        public Обучающиеся()
+        {
+            InitializeComponent();
+            dataGridView1.AutoGenerateColumns = true;
+            connection = new SqlConnection("SERVER=DESKTOP-JES5T51\\SQLEXPRESS;Database=EJ;Trusted_Connection=True;");
+            command = new SqlCommand();
+            command.Connection = connection;
+            command.CommandType = CommandType.Text;
+            adapter = new SqlDataAdapter(command);
+            table = new DataTable();
+            dataGridView1.DataSource = table;
+            ShowTable("SELECT * FROM Спортсмены");
+        }
+        public void ShowTable(string text)
+        {
+            dataGridView1.Columns.Clear();
+            dataGridView1.DataSource = null;
+            command.CommandText = text;
+            table.Clear();
+            adapter.Fill(table);
+            dataGridView1.DataSource = table;
+        }
+        private void Обучающиеся_Load(object sender, EventArgs e)
+        {
+            // TODO: данная строка кода позволяет загрузить данные в таблицу "eJDataSet.Спортсмены". При необходимости она может быть перемещена или удалена.
+            this.спортсменыTableAdapter.Fill(this.eJDataSet.Спортсмены);
+
+        }
+
+        private void Add_Click(object sender, EventArgs e)
+        {
+            Group P = new Group();
+            P.Show();
+            this.Hide();
+        }
+
+        private void radioButton1_CheckedChanged(object sender, EventArgs e)
+        {
+            ShowTable("SELECT * FROM Спортсмены Where Знак_ГТО = 'Золотой значок'");
+        }
+
+        private void radioButton2_CheckedChanged(object sender, EventArgs e)
+        {
+            ShowTable("SELECT * FROM Спортсмены Where Знак_ГТО = 'Серебрянный значок'");
+        }
+
+        private void radioButton3_CheckedChanged(object sender, EventArgs e)
+        {
+            ShowTable("SELECT * FROM Спортсмены Where Знак_ГТО = 'Бронзовый значок'");
+        }
+
+        private void radioButton4_CheckedChanged(object sender, EventArgs e)
+        {
+            ShowTable("SELECT * FROM Спортсмены");
+        }
+
+        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
+        {
+
+        }
+
+        private void Back_Click(object sender, EventArgs e)
+        {
+            Посещения I = new Посещения();
+            I.Show();
+            this.Hide();
+        }
+
+        private void Обучающиеся_Load_1(object sender, EventArgs e)
+        {
+
+        }
+    }
+}

+ 120 - 0
Обучающиеся.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 222 - 0
Расписание.Designer.cs

@@ -0,0 +1,222 @@
+namespace EJ
+{
+    partial class backbb
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.groupBox1 = new System.Windows.Forms.GroupBox();
+            this.Search = new System.Windows.Forms.Button();
+            this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
+            this.dataGridView1 = new System.Windows.Forms.DataGridView();
+            this.датапроведенияDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.названиемероприятияDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.местопроведенияDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.расписаниеBindingSource = new System.Windows.Forms.BindingSource(this.components);
+            this.eJDataSet2 = new EJ.EJDataSet2();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.label1 = new System.Windows.Forms.Label();
+            this.расписаниеTableAdapter = new EJ.EJDataSet2TableAdapters.РасписаниеTableAdapter();
+            this.расписаниеBindingSource1 = new System.Windows.Forms.BindingSource(this.components);
+            this.button1 = new System.Windows.Forms.Button();
+            this.panel1.SuspendLayout();
+            this.groupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.расписаниеBindingSource)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.eJDataSet2)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.расписаниеBindingSource1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.PowderBlue;
+            this.panel1.Controls.Add(this.button1);
+            this.panel1.Controls.Add(this.groupBox1);
+            this.panel1.Controls.Add(this.dataGridView1);
+            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(684, 361);
+            this.panel1.TabIndex = 0;
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.Controls.Add(this.Search);
+            this.groupBox1.Controls.Add(this.dateTimePicker1);
+            this.groupBox1.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.groupBox1.Location = new System.Drawing.Point(12, 77);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(189, 162);
+            this.groupBox1.TabIndex = 4;
+            this.groupBox1.TabStop = false;
+            this.groupBox1.Text = "Инструменты поиска";
+            // 
+            // Search
+            // 
+            this.Search.Font = new System.Drawing.Font("Tw Cen MT", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.Search.Location = new System.Drawing.Point(0, 55);
+            this.Search.Name = "Search";
+            this.Search.Size = new System.Drawing.Size(100, 28);
+            this.Search.TabIndex = 3;
+            this.Search.Text = "Поиск";
+            this.Search.UseVisualStyleBackColor = true;
+            this.Search.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // dateTimePicker1
+            // 
+            this.dateTimePicker1.Location = new System.Drawing.Point(0, 24);
+            this.dateTimePicker1.Name = "dateTimePicker1";
+            this.dateTimePicker1.Size = new System.Drawing.Size(183, 25);
+            this.dateTimePicker1.TabIndex = 4;
+            // 
+            // dataGridView1
+            // 
+            this.dataGridView1.AutoGenerateColumns = false;
+            this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.датапроведенияDataGridViewTextBoxColumn,
+            this.названиемероприятияDataGridViewTextBoxColumn,
+            this.местопроведенияDataGridViewTextBoxColumn});
+            this.dataGridView1.DataSource = this.расписаниеBindingSource;
+            this.dataGridView1.Location = new System.Drawing.Point(207, 77);
+            this.dataGridView1.Name = "dataGridView1";
+            this.dataGridView1.Size = new System.Drawing.Size(465, 162);
+            this.dataGridView1.TabIndex = 1;
+            this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
+            this.dataGridView1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dataGridView1_Scroll);
+            // 
+            // датапроведенияDataGridViewTextBoxColumn
+            // 
+            this.датапроведенияDataGridViewTextBoxColumn.DataPropertyName = "Дата_проведения";
+            this.датапроведенияDataGridViewTextBoxColumn.HeaderText = "Дата_проведения";
+            this.датапроведенияDataGridViewTextBoxColumn.Name = "датапроведенияDataGridViewTextBoxColumn";
+            // 
+            // названиемероприятияDataGridViewTextBoxColumn
+            // 
+            this.названиемероприятияDataGridViewTextBoxColumn.DataPropertyName = "Название_мероприятия";
+            this.названиемероприятияDataGridViewTextBoxColumn.HeaderText = "Название_мероприятия";
+            this.названиемероприятияDataGridViewTextBoxColumn.Name = "названиемероприятияDataGridViewTextBoxColumn";
+            // 
+            // местопроведенияDataGridViewTextBoxColumn
+            // 
+            this.местопроведенияDataGridViewTextBoxColumn.DataPropertyName = "Место_проведения";
+            this.местопроведенияDataGridViewTextBoxColumn.HeaderText = "Место_проведения";
+            this.местопроведенияDataGridViewTextBoxColumn.Name = "местопроведенияDataGridViewTextBoxColumn";
+            // 
+            // расписаниеBindingSource
+            // 
+            this.расписаниеBindingSource.DataMember = "Расписание";
+            this.расписаниеBindingSource.DataSource = this.eJDataSet2;
+            // 
+            // eJDataSet2
+            // 
+            this.eJDataSet2.DataSetName = "EJDataSet2";
+            this.eJDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
+            // 
+            // panel2
+            // 
+            this.panel2.BackColor = System.Drawing.Color.Azure;
+            this.panel2.Controls.Add(this.label1);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(684, 71);
+            this.panel2.TabIndex = 0;
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Font = new System.Drawing.Font("Tw Cen MT", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label1.Location = new System.Drawing.Point(176, 26);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(341, 22);
+            this.label1.TabIndex = 0;
+            this.label1.Text = "Расписание занятий и спортивных мероприяий";
+            // 
+            // расписаниеTableAdapter
+            // 
+            this.расписаниеTableAdapter.ClearBeforeFill = true;
+            // 
+            // расписаниеBindingSource1
+            // 
+            this.расписаниеBindingSource1.DataMember = "Расписание";
+            this.расписаниеBindingSource1.DataSource = this.eJDataSet2;
+            // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(597, 323);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(75, 26);
+            this.button1.TabIndex = 5;
+            this.button1.Text = "Назад";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click_1);
+            // 
+            // backbb
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(684, 361);
+            this.Controls.Add(this.panel1);
+            this.Name = "backbb";
+            this.Text = "Расписание";
+            this.Load += new System.EventHandler(this.Расписание_Load);
+            this.panel1.ResumeLayout(false);
+            this.groupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.расписаниеBindingSource)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.eJDataSet2)).EndInit();
+            this.panel2.ResumeLayout(false);
+            this.panel2.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.расписаниеBindingSource1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.DataGridView dataGridView1;
+        private EJDataSet2 eJDataSet2;
+        private System.Windows.Forms.BindingSource расписаниеBindingSource;
+        private EJDataSet2TableAdapters.РасписаниеTableAdapter расписаниеTableAdapter;
+        private System.Windows.Forms.DataGridViewTextBoxColumn датапроведенияDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn названиемероприятияDataGridViewTextBoxColumn;
+        private System.Windows.Forms.DataGridViewTextBoxColumn местопроведенияDataGridViewTextBoxColumn;
+        private System.Windows.Forms.Button Search;
+        private System.Windows.Forms.GroupBox groupBox1;
+        private System.Windows.Forms.BindingSource расписаниеBindingSource1;
+        private System.Windows.Forms.DateTimePicker dateTimePicker1;
+        private System.Windows.Forms.Button button1;
+    }
+}

+ 73 - 0
Расписание.cs

@@ -0,0 +1,73 @@
+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;
+using System.Data.SqlClient;
+
+namespace EJ
+{
+    public partial class backbb : Form
+    {
+ 
+        SqlConnection connection;
+        SqlCommand command;
+        SqlDataAdapter adapter;
+        DataTable table;
+        public backbb()
+        {
+            InitializeComponent();
+            dataGridView1.AutoGenerateColumns = true;
+            connection = new SqlConnection("SERVER=DESKTOP-JES5T51\\SQLEXPRESS;Database=EJ;Trusted_Connection=True;");
+            command = new SqlCommand();
+            command.Connection = connection;
+            command.CommandType = CommandType.Text;
+            adapter = new SqlDataAdapter(command);
+            table = new DataTable();
+            dataGridView1.DataSource = table;
+            ShowTable("SELECT * FROM Расписание");
+        }
+      
+        public void ShowTable(string text)
+        {
+            dataGridView1.Columns.Clear();
+            dataGridView1.DataSource = null;
+            command.CommandText = text;
+            table.Clear();
+            adapter.Fill(table);
+            dataGridView1.DataSource = table;
+        }
+            private void Расписание_Load(object sender, EventArgs e)
+        {
+            // TODO: данная строка кода позволяет загрузить данные в таблицу "eJDataSet2.Расписание". При необходимости она может быть перемещена или удалена.
+            this.расписаниеTableAdapter.Fill(this.eJDataSet2.Расписание);
+
+        }
+
+        private void button1_Click(object sender, EventArgs e)
+        {
+            
+        }
+
+        private void dataGridView1_Scroll(object sender, ScrollEventArgs e)
+        {
+       
+        }
+
+        private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
+        {
+           
+            }
+
+        private void button1_Click_1(object sender, EventArgs e)
+        {
+            Посещения Z = new Посещения();
+            Z.Show();
+            this.Hide();
+        }
+    }
+    }

+ 138 - 0
Расписание.resx

@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="расписаниеBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>129, 17</value>
+  </metadata>
+  <metadata name="расписаниеBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>129, 17</value>
+  </metadata>
+  <metadata name="eJDataSet2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="eJDataSet2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="расписаниеTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>326, 17</value>
+  </metadata>
+  <metadata name="расписаниеBindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>517, 17</value>
+  </metadata>
+</root>