наброски форм:

главная, фильтрация и редактирование/добавление
This commit is contained in:
2025-06-07 13:18:59 +04:00
parent 88f37d6c46
commit c4889aaa73
16 changed files with 1441 additions and 28 deletions

View File

@@ -46,17 +46,53 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Forms\FormFilterStudents.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormFilterStudents.Designer.cs">
<DependentUpon>FormFilterStudents.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormMain.Designer.cs">
<DependentUpon>FormMain.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormSpecs.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormSpecs.Designer.cs">
<DependentUpon>FormSpecs.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormUpdSpec.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormUpdSpec.Designer.cs">
<DependentUpon>FormUpdSpec.cs</DependentUpon>
</Compile>
<Compile Include="Forms\FormUpdStudent.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\FormUpdStudent.Designer.cs">
<DependentUpon>FormUpdStudent.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Forms\FormFilterStudents.resx">
<DependentUpon>FormFilterStudents.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSpecs.resx">
<DependentUpon>FormSpecs.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormUpdSpec.resx">
<DependentUpon>FormUpdSpec.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormUpdStudent.resx">
<DependentUpon>FormUpdStudent.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>

View File

@@ -0,0 +1,176 @@
namespace App_contingent_university.Forms
{
partial class FormFilterStudents
{
/// <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.buttonOK = new System.Windows.Forms.Button();
this.labelF = new System.Windows.Forms.Label();
this.textBoxLastName = new System.Windows.Forms.TextBox();
this.textBoxName = new System.Windows.Forms.TextBox();
this.labelI = new System.Windows.Forms.Label();
this.textBoxPatronimic = new System.Windows.Forms.TextBox();
this.labelPatronimic = new System.Windows.Forms.Label();
this.comboBoxSpec = new System.Windows.Forms.ComboBox();
this.labelSpec = new System.Windows.Forms.Label();
this.labelGroup = new System.Windows.Forms.Label();
this.comboBoxGroup = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// buttonOK
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.BackColor = System.Drawing.Color.Orange;
this.buttonOK.ForeColor = System.Drawing.Color.Black;
this.buttonOK.Location = new System.Drawing.Point(154, 284);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(113, 37);
this.buttonOK.TabIndex = 0;
this.buttonOK.Text = "Применить";
this.buttonOK.UseVisualStyleBackColor = false;
//
// labelF
//
this.labelF.AutoSize = true;
this.labelF.Location = new System.Drawing.Point(12, 26);
this.labelF.Name = "labelF";
this.labelF.Size = new System.Drawing.Size(66, 16);
this.labelF.TabIndex = 1;
this.labelF.Text = "Фамилия";
//
// textBoxLastName
//
this.textBoxLastName.Location = new System.Drawing.Point(107, 20);
this.textBoxLastName.Name = "textBoxLastName";
this.textBoxLastName.Size = new System.Drawing.Size(160, 22);
this.textBoxLastName.TabIndex = 2;
//
// textBoxName
//
this.textBoxName.Location = new System.Drawing.Point(107, 56);
this.textBoxName.Name = "textBoxName";
this.textBoxName.Size = new System.Drawing.Size(160, 22);
this.textBoxName.TabIndex = 4;
//
// labelI
//
this.labelI.AutoSize = true;
this.labelI.Location = new System.Drawing.Point(12, 62);
this.labelI.Name = "labelI";
this.labelI.Size = new System.Drawing.Size(33, 16);
this.labelI.TabIndex = 3;
this.labelI.Text = "Имя";
//
// textBoxPatronimic
//
this.textBoxPatronimic.Location = new System.Drawing.Point(107, 94);
this.textBoxPatronimic.Name = "textBoxPatronimic";
this.textBoxPatronimic.Size = new System.Drawing.Size(160, 22);
this.textBoxPatronimic.TabIndex = 6;
//
// labelPatronimic
//
this.labelPatronimic.AutoSize = true;
this.labelPatronimic.Location = new System.Drawing.Point(12, 100);
this.labelPatronimic.Name = "labelPatronimic";
this.labelPatronimic.Size = new System.Drawing.Size(70, 16);
this.labelPatronimic.TabIndex = 5;
this.labelPatronimic.Text = "Отчество";
//
// comboBoxSpec
//
this.comboBoxSpec.FormattingEnabled = true;
this.comboBoxSpec.Location = new System.Drawing.Point(123, 134);
this.comboBoxSpec.Name = "comboBoxSpec";
this.comboBoxSpec.Size = new System.Drawing.Size(145, 24);
this.comboBoxSpec.TabIndex = 7;
//
// labelSpec
//
this.labelSpec.AutoSize = true;
this.labelSpec.Location = new System.Drawing.Point(12, 142);
this.labelSpec.Name = "labelSpec";
this.labelSpec.Size = new System.Drawing.Size(97, 16);
this.labelSpec.TabIndex = 8;
this.labelSpec.Text = "Направление";
//
// labelGroup
//
this.labelGroup.AutoSize = true;
this.labelGroup.Location = new System.Drawing.Point(12, 183);
this.labelGroup.Name = "labelGroup";
this.labelGroup.Size = new System.Drawing.Size(54, 16);
this.labelGroup.TabIndex = 10;
this.labelGroup.Text = "Группа";
//
// comboBoxGroup
//
this.comboBoxGroup.FormattingEnabled = true;
this.comboBoxGroup.Location = new System.Drawing.Point(125, 180);
this.comboBoxGroup.Name = "comboBoxGroup";
this.comboBoxGroup.Size = new System.Drawing.Size(142, 24);
this.comboBoxGroup.TabIndex = 9;
//
// FormFilterStudents
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightSteelBlue;
this.ClientSize = new System.Drawing.Size(280, 333);
this.Controls.Add(this.labelGroup);
this.Controls.Add(this.comboBoxGroup);
this.Controls.Add(this.labelSpec);
this.Controls.Add(this.comboBoxSpec);
this.Controls.Add(this.textBoxPatronimic);
this.Controls.Add(this.labelPatronimic);
this.Controls.Add(this.textBoxName);
this.Controls.Add(this.labelI);
this.Controls.Add(this.textBoxLastName);
this.Controls.Add(this.labelF);
this.Controls.Add(this.buttonOK);
this.Name = "FormFilterStudents";
this.Text = "Фильтр";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.Label labelF;
private System.Windows.Forms.TextBox textBoxLastName;
private System.Windows.Forms.TextBox textBoxName;
private System.Windows.Forms.Label labelI;
private System.Windows.Forms.TextBox textBoxPatronimic;
private System.Windows.Forms.Label labelPatronimic;
private System.Windows.Forms.ComboBox comboBoxSpec;
private System.Windows.Forms.Label labelSpec;
private System.Windows.Forms.Label labelGroup;
private System.Windows.Forms.ComboBox comboBoxGroup;
}
}

View File

@@ -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 App_contingent_university.Forms
{
public partial class FormFilterStudents : Form
{
public FormFilterStudents()
{
InitializeComponent();
}
}
}

View File

@@ -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>

View File

@@ -28,51 +28,288 @@
/// </summary>
private void InitializeComponent()
{
this.SpecializationsPage = new System.Windows.Forms.TabControl();
this.StudentsPage = new System.Windows.Forms.TabPage();
this.dataGridViewStudents = new System.Windows.Forms.DataGridView();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.фильтрацияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SpecPage = new System.Windows.Forms.TabPage();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.menuStrip2 = new System.Windows.Forms.MenuStrip();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.GroupsPage = new System.Windows.Forms.TabPage();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.menuStrip3 = new System.Windows.Forms.MenuStrip();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
this.OrdersPage = new System.Windows.Forms.TabPage();
this.добавитьНаправлениеToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.добавитьГруппуToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPageAddStudent = new System.Windows.Forms.TabPage();
this.tabPageExpulsion = new System.Windows.Forms.TabPage();
this.tabPageAcademicLeave = new System.Windows.Forms.TabPage();
this.tabPageNextCourse = new System.Windows.Forms.TabPage();
this.tabPageOtherSpec = new System.Windows.Forms.TabPage();
this.SpecializationsPage.SuspendLayout();
this.StudentsPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewStudents)).BeginInit();
this.menuStrip1.SuspendLayout();
this.SpecPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.menuStrip2.SuspendLayout();
this.GroupsPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
this.menuStrip3.SuspendLayout();
this.OrdersPage.SuspendLayout();
this.tabControl1.SuspendLayout();
this.SuspendLayout();
//
// SpecializationsPage
//
this.SpecializationsPage.Controls.Add(this.StudentsPage);
this.SpecializationsPage.Controls.Add(this.SpecPage);
this.SpecializationsPage.Controls.Add(this.GroupsPage);
this.SpecializationsPage.Controls.Add(this.OrdersPage);
this.SpecializationsPage.Dock = System.Windows.Forms.DockStyle.Fill;
this.SpecializationsPage.Location = new System.Drawing.Point(0, 0);
this.SpecializationsPage.Name = "SpecializationsPage";
this.SpecializationsPage.SelectedIndex = 0;
this.SpecializationsPage.Size = new System.Drawing.Size(1082, 601);
this.SpecializationsPage.TabIndex = 0;
//
// StudentsPage
//
this.StudentsPage.Controls.Add(this.dataGridViewStudents);
this.StudentsPage.Controls.Add(this.menuStrip1);
this.StudentsPage.Location = new System.Drawing.Point(4, 25);
this.StudentsPage.Name = "StudentsPage";
this.StudentsPage.Padding = new System.Windows.Forms.Padding(3);
this.StudentsPage.Size = new System.Drawing.Size(1074, 572);
this.StudentsPage.TabIndex = 0;
this.StudentsPage.Text = "Студенты";
this.StudentsPage.UseVisualStyleBackColor = true;
//
// dataGridViewStudents
//
this.dataGridViewStudents.BackgroundColor = System.Drawing.Color.AliceBlue;
this.dataGridViewStudents.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridViewStudents.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridViewStudents.Location = new System.Drawing.Point(3, 31);
this.dataGridViewStudents.Name = "dataGridViewStudents";
this.dataGridViewStudents.RowHeadersWidth = 51;
this.dataGridViewStudents.RowTemplate.Height = 24;
this.dataGridViewStudents.Size = new System.Drawing.Size(1068, 538);
this.dataGridViewStudents.TabIndex = 2;
//
// menuStrip1
//
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.фильтрацияToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(3, 3);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(1068, 28);
this.menuStrip1.TabIndex = 3;
this.menuStrip1.Text = "menuStrip1";
//
// фильтрацияToolStripMenuItem
//
this.фильтрацияToolStripMenuItem.Name = "фильтрацияToolStripMenuItem";
this.фильтрацияToolStripMenuItem.Size = new System.Drawing.Size(108, 24);
this.фильтрацияToolStripMenuItem.Text = "Фильтрация";
//
// SpecPage
//
this.SpecPage.Controls.Add(this.dataGridView1);
this.SpecPage.Controls.Add(this.menuStrip2);
this.SpecPage.Location = new System.Drawing.Point(4, 25);
this.SpecPage.Name = "SpecPage";
this.SpecPage.Padding = new System.Windows.Forms.Padding(3);
this.SpecPage.Size = new System.Drawing.Size(1074, 572);
this.SpecPage.TabIndex = 1;
this.SpecPage.Text = "Направления";
this.SpecPage.UseVisualStyleBackColor = true;
//
// dataGridView1
//
this.dataGridView1.BackgroundColor = System.Drawing.Color.AliceBlue;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(3, 31);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowHeadersWidth = 51;
this.dataGridView1.RowTemplate.Height = 24;
this.dataGridView1.Size = new System.Drawing.Size(1068, 538);
this.dataGridView1.TabIndex = 2;
//
// menuStrip2
//
this.menuStrip2.ImageScalingSize = new System.Drawing.Size(20, 20);
this.menuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItem1,
this.добавитьНаправлениеToolStripMenuItem});
this.menuStrip2.Location = new System.Drawing.Point(3, 3);
this.menuStrip2.Name = "menuStrip2";
this.menuStrip2.Size = new System.Drawing.Size(1068, 28);
this.menuStrip2.TabIndex = 3;
this.menuStrip2.Text = "menuStrip2";
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(108, 24);
this.toolStripMenuItem1.Text = "Фильтрация";
//
// GroupsPage
//
this.GroupsPage.Controls.Add(this.dataGridView2);
this.GroupsPage.Controls.Add(this.menuStrip3);
this.GroupsPage.Location = new System.Drawing.Point(4, 25);
this.GroupsPage.Name = "GroupsPage";
this.GroupsPage.Size = new System.Drawing.Size(1074, 572);
this.GroupsPage.TabIndex = 2;
this.GroupsPage.Text = "Группы";
this.GroupsPage.UseVisualStyleBackColor = true;
//
// dataGridView2
//
this.dataGridView2.BackgroundColor = System.Drawing.Color.AliceBlue;
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView2.Location = new System.Drawing.Point(0, 28);
this.dataGridView2.Name = "dataGridView2";
this.dataGridView2.RowHeadersWidth = 51;
this.dataGridView2.RowTemplate.Height = 24;
this.dataGridView2.Size = new System.Drawing.Size(1074, 544);
this.dataGridView2.TabIndex = 2;
//
// menuStrip3
//
this.menuStrip3.ImageScalingSize = new System.Drawing.Size(20, 20);
this.menuStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItem2,
this.добавитьГруппуToolStripMenuItem});
this.menuStrip3.Location = new System.Drawing.Point(0, 0);
this.menuStrip3.Name = "menuStrip3";
this.menuStrip3.Size = new System.Drawing.Size(1074, 28);
this.menuStrip3.TabIndex = 3;
this.menuStrip3.Text = "menuStrip3";
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(108, 24);
this.toolStripMenuItem2.Text = "Фильтрация";
//
// OrdersPage
//
this.OrdersPage.Controls.Add(this.tabControl1);
this.OrdersPage.Location = new System.Drawing.Point(4, 25);
this.OrdersPage.Name = "OrdersPage";
this.OrdersPage.Size = new System.Drawing.Size(1074, 572);
this.OrdersPage.TabIndex = 3;
this.OrdersPage.Text = "Приказы";
this.OrdersPage.UseVisualStyleBackColor = true;
//
// добавитьНаправлениеToolStripMenuItem
//
this.добавитьНаправлениеToolStripMenuItem.Name = обавитьНаправлениеToolStripMenuItem";
this.добавитьНаправлениеToolStripMenuItem.Size = new System.Drawing.Size(187, 24);
this.добавитьНаправлениеToolStripMenuItem.Text = "Добавить направление";
//
// добавитьГруппуToolStripMenuItem
//
this.добавитьГруппуToolStripMenuItem.Name = обавитьГруппуToolStripMenuItem";
this.добавитьГруппуToolStripMenuItem.Size = new System.Drawing.Size(141, 24);
this.добавитьГруппуToolStripMenuItem.Text = "Добавить группу";
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPageAddStudent);
this.tabControl1.Controls.Add(this.tabPageExpulsion);
this.tabControl1.Controls.Add(this.tabPageAcademicLeave);
this.tabControl1.Controls.Add(this.tabPageNextCourse);
this.tabControl1.Controls.Add(this.tabPageOtherSpec);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1082, 601);
this.tabControl1.Size = new System.Drawing.Size(1074, 572);
this.tabControl1.TabIndex = 0;
//
// tabPage1
// tabPageAddStudent
//
this.tabPage1.Location = new System.Drawing.Point(4, 25);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(1074, 572);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "tabPage1";
this.tabPage1.UseVisualStyleBackColor = true;
this.tabPageAddStudent.Location = new System.Drawing.Point(4, 25);
this.tabPageAddStudent.Name = "tabPageAddStudent";
this.tabPageAddStudent.Padding = new System.Windows.Forms.Padding(3);
this.tabPageAddStudent.Size = new System.Drawing.Size(1066, 543);
this.tabPageAddStudent.TabIndex = 0;
this.tabPageAddStudent.Text = "Зачисление";
this.tabPageAddStudent.UseVisualStyleBackColor = true;
//
// tabPage2
// tabPageExpulsion
//
this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(1074, 572);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "tabPage2";
this.tabPage2.UseVisualStyleBackColor = true;
this.tabPageExpulsion.Location = new System.Drawing.Point(4, 25);
this.tabPageExpulsion.Name = "tabPageExpulsion";
this.tabPageExpulsion.Padding = new System.Windows.Forms.Padding(3);
this.tabPageExpulsion.Size = new System.Drawing.Size(1066, 543);
this.tabPageExpulsion.TabIndex = 1;
this.tabPageExpulsion.Text = "Отчисление";
this.tabPageExpulsion.UseVisualStyleBackColor = true;
//
// tabPageAcademicLeave
//
this.tabPageAcademicLeave.Location = new System.Drawing.Point(4, 25);
this.tabPageAcademicLeave.Name = "tabPageAcademicLeave";
this.tabPageAcademicLeave.Size = new System.Drawing.Size(1066, 543);
this.tabPageAcademicLeave.TabIndex = 2;
this.tabPageAcademicLeave.Text = "Академический отпуск";
this.tabPageAcademicLeave.UseVisualStyleBackColor = true;
//
// tabPageNextCourse
//
this.tabPageNextCourse.Location = new System.Drawing.Point(4, 25);
this.tabPageNextCourse.Name = "tabPageNextCourse";
this.tabPageNextCourse.Size = new System.Drawing.Size(1066, 543);
this.tabPageNextCourse.TabIndex = 3;
this.tabPageNextCourse.Text = "Перевод на следующий курс";
this.tabPageNextCourse.UseVisualStyleBackColor = true;
//
// tabPageOtherSpec
//
this.tabPageOtherSpec.Location = new System.Drawing.Point(4, 25);
this.tabPageOtherSpec.Name = "tabPageOtherSpec";
this.tabPageOtherSpec.Size = new System.Drawing.Size(1066, 543);
this.tabPageOtherSpec.TabIndex = 4;
this.tabPageOtherSpec.Text = "Перевод на другое направление";
this.tabPageOtherSpec.UseVisualStyleBackColor = true;
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.ClientSize = new System.Drawing.Size(1082, 601);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.SpecializationsPage);
this.Name = "FormMain";
this.Text = "FormMain";
this.SpecializationsPage.ResumeLayout(false);
this.StudentsPage.ResumeLayout(false);
this.StudentsPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewStudents)).EndInit();
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.SpecPage.ResumeLayout(false);
this.SpecPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.menuStrip2.ResumeLayout(false);
this.menuStrip2.PerformLayout();
this.GroupsPage.ResumeLayout(false);
this.GroupsPage.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
this.menuStrip3.ResumeLayout(false);
this.menuStrip3.PerformLayout();
this.OrdersPage.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
this.ResumeLayout(false);
@@ -80,8 +317,27 @@
#endregion
private System.Windows.Forms.TabControl SpecializationsPage;
private System.Windows.Forms.TabPage StudentsPage;
private System.Windows.Forms.TabPage SpecPage;
private System.Windows.Forms.TabPage GroupsPage;
private System.Windows.Forms.TabPage OrdersPage;
private System.Windows.Forms.DataGridView dataGridViewStudents;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem фильтрацияToolStripMenuItem;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.MenuStrip menuStrip2;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
private System.Windows.Forms.DataGridView dataGridView2;
private System.Windows.Forms.MenuStrip menuStrip3;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
private System.Windows.Forms.ToolStripMenuItem добавитьНаправлениеToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem добавитьГруппуToolStripMenuItem;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPageAddStudent;
private System.Windows.Forms.TabPage tabPageExpulsion;
private System.Windows.Forms.TabPage tabPageAcademicLeave;
private System.Windows.Forms.TabPage tabPageNextCourse;
private System.Windows.Forms.TabPage tabPageOtherSpec;
}
}

View File

@@ -117,4 +117,22 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="menuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>153, 17</value>
</metadata>
<metadata name="menuStrip3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>289, 17</value>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="menuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>153, 17</value>
</metadata>
<metadata name="menuStrip3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>289, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,108 @@
namespace App_contingent_university.Forms
{
partial class FormSpecsFilter
{
/// <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.buttonOK = new System.Windows.Forms.Button();
this.textBoxCode = new System.Windows.Forms.TextBox();
this.labelCode = new System.Windows.Forms.Label();
this.textBoxName = new System.Windows.Forms.TextBox();
this.labelName = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// buttonOK
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.BackColor = System.Drawing.Color.Orange;
this.buttonOK.ForeColor = System.Drawing.Color.Black;
this.buttonOK.Location = new System.Drawing.Point(158, 100);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(113, 37);
this.buttonOK.TabIndex = 1;
this.buttonOK.Text = "Применить";
this.buttonOK.UseVisualStyleBackColor = false;
//
// textBoxCode
//
this.textBoxCode.Location = new System.Drawing.Point(107, 48);
this.textBoxCode.Name = "textBoxCode";
this.textBoxCode.Size = new System.Drawing.Size(160, 22);
this.textBoxCode.TabIndex = 8;
//
// labelCode
//
this.labelCode.AutoSize = true;
this.labelCode.Location = new System.Drawing.Point(12, 54);
this.labelCode.Name = "labelCode";
this.labelCode.Size = new System.Drawing.Size(31, 16);
this.labelCode.TabIndex = 7;
this.labelCode.Text = "Код";
//
// textBoxName
//
this.textBoxName.Location = new System.Drawing.Point(107, 12);
this.textBoxName.Name = "textBoxName";
this.textBoxName.Size = new System.Drawing.Size(160, 22);
this.textBoxName.TabIndex = 6;
//
// labelName
//
this.labelName.AutoSize = true;
this.labelName.Location = new System.Drawing.Point(12, 18);
this.labelName.Name = "labelName";
this.labelName.Size = new System.Drawing.Size(73, 16);
this.labelName.TabIndex = 5;
this.labelName.Text = "Название";
//
// FormSpecsFilter
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightSteelBlue;
this.ClientSize = new System.Drawing.Size(283, 149);
this.Controls.Add(this.textBoxCode);
this.Controls.Add(this.labelCode);
this.Controls.Add(this.textBoxName);
this.Controls.Add(this.labelName);
this.Controls.Add(this.buttonOK);
this.Name = "FormSpecsFilter";
this.Text = "Фильтр";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.TextBox textBoxCode;
private System.Windows.Forms.Label labelCode;
private System.Windows.Forms.TextBox textBoxName;
private System.Windows.Forms.Label labelName;
}
}

View File

@@ -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 App_contingent_university.Forms
{
public partial class FormSpecsFilter : Form
{
public FormSpecsFilter()
{
InitializeComponent();
}
}
}

View File

@@ -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>

View File

@@ -0,0 +1,108 @@
namespace App_contingent_university.Forms
{
partial class FormAddUpdSpec
{
/// <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.textBoxCode = new System.Windows.Forms.TextBox();
this.labelCode = new System.Windows.Forms.Label();
this.textBoxName = new System.Windows.Forms.TextBox();
this.labelName = new System.Windows.Forms.Label();
this.buttonOK = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// textBoxCode
//
this.textBoxCode.Location = new System.Drawing.Point(109, 48);
this.textBoxCode.Name = "textBoxCode";
this.textBoxCode.Size = new System.Drawing.Size(160, 22);
this.textBoxCode.TabIndex = 13;
//
// labelCode
//
this.labelCode.AutoSize = true;
this.labelCode.Location = new System.Drawing.Point(14, 54);
this.labelCode.Name = "labelCode";
this.labelCode.Size = new System.Drawing.Size(31, 16);
this.labelCode.TabIndex = 12;
this.labelCode.Text = "Код";
//
// textBoxName
//
this.textBoxName.Location = new System.Drawing.Point(109, 12);
this.textBoxName.Name = "textBoxName";
this.textBoxName.Size = new System.Drawing.Size(160, 22);
this.textBoxName.TabIndex = 11;
//
// labelName
//
this.labelName.AutoSize = true;
this.labelName.Location = new System.Drawing.Point(14, 18);
this.labelName.Name = "labelName";
this.labelName.Size = new System.Drawing.Size(73, 16);
this.labelName.TabIndex = 10;
this.labelName.Text = "Название";
//
// buttonOK
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.BackColor = System.Drawing.Color.Orange;
this.buttonOK.ForeColor = System.Drawing.Color.Black;
this.buttonOK.Location = new System.Drawing.Point(163, 134);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(113, 37);
this.buttonOK.TabIndex = 9;
this.buttonOK.Text = "Сохранить";
this.buttonOK.UseVisualStyleBackColor = false;
//
// FormAddUpdSpec
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightSteelBlue;
this.ClientSize = new System.Drawing.Size(288, 183);
this.Controls.Add(this.textBoxCode);
this.Controls.Add(this.labelCode);
this.Controls.Add(this.textBoxName);
this.Controls.Add(this.labelName);
this.Controls.Add(this.buttonOK);
this.Name = "FormAddUpdSpec";
this.Text = "Создать/редактировать";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox textBoxCode;
private System.Windows.Forms.Label labelCode;
private System.Windows.Forms.TextBox textBoxName;
private System.Windows.Forms.Label labelName;
private System.Windows.Forms.Button buttonOK;
}
}

View File

@@ -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 App_contingent_university.Forms
{
public partial class FormAddUpdSpec : Form
{
public FormAddUpdSpec()
{
InitializeComponent();
}
}
}

View File

@@ -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>

View File

@@ -0,0 +1,153 @@
namespace App_contingent_university.Forms
{
partial class FormUpdStudent
{
/// <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.labelGroup = new System.Windows.Forms.Label();
this.comboBoxGroup = new System.Windows.Forms.ComboBox();
this.textBoxPatronimic = new System.Windows.Forms.TextBox();
this.labelPatronimic = new System.Windows.Forms.Label();
this.textBoxName = new System.Windows.Forms.TextBox();
this.labelI = new System.Windows.Forms.Label();
this.textBoxLastName = new System.Windows.Forms.TextBox();
this.labelF = new System.Windows.Forms.Label();
this.buttonOK = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// labelGroup
//
this.labelGroup.AutoSize = true;
this.labelGroup.Location = new System.Drawing.Point(572, 7);
this.labelGroup.Name = "labelGroup";
this.labelGroup.Size = new System.Drawing.Size(54, 16);
this.labelGroup.TabIndex = 16;
this.labelGroup.Text = "Группа";
//
// comboBoxGroup
//
this.comboBoxGroup.FormattingEnabled = true;
this.comboBoxGroup.Location = new System.Drawing.Point(575, 26);
this.comboBoxGroup.Name = "comboBoxGroup";
this.comboBoxGroup.Size = new System.Drawing.Size(142, 24);
this.comboBoxGroup.TabIndex = 15;
//
// textBoxPatronimic
//
this.textBoxPatronimic.Location = new System.Drawing.Point(389, 28);
this.textBoxPatronimic.Name = "textBoxPatronimic";
this.textBoxPatronimic.Size = new System.Drawing.Size(160, 22);
this.textBoxPatronimic.TabIndex = 14;
//
// labelPatronimic
//
this.labelPatronimic.AutoSize = true;
this.labelPatronimic.Location = new System.Drawing.Point(386, 9);
this.labelPatronimic.Name = "labelPatronimic";
this.labelPatronimic.Size = new System.Drawing.Size(70, 16);
this.labelPatronimic.TabIndex = 13;
this.labelPatronimic.Text = "Отчество";
//
// textBoxName
//
this.textBoxName.Location = new System.Drawing.Point(204, 28);
this.textBoxName.Name = "textBoxName";
this.textBoxName.Size = new System.Drawing.Size(160, 22);
this.textBoxName.TabIndex = 12;
//
// labelI
//
this.labelI.AutoSize = true;
this.labelI.Location = new System.Drawing.Point(201, 9);
this.labelI.Name = "labelI";
this.labelI.Size = new System.Drawing.Size(33, 16);
this.labelI.TabIndex = 11;
this.labelI.Text = "Имя";
//
// textBoxLastName
//
this.textBoxLastName.Location = new System.Drawing.Point(17, 28);
this.textBoxLastName.Name = "textBoxLastName";
this.textBoxLastName.Size = new System.Drawing.Size(160, 22);
this.textBoxLastName.TabIndex = 18;
//
// labelF
//
this.labelF.AutoSize = true;
this.labelF.Location = new System.Drawing.Point(14, 9);
this.labelF.Name = "labelF";
this.labelF.Size = new System.Drawing.Size(66, 16);
this.labelF.TabIndex = 17;
this.labelF.Text = "Фамилия";
//
// buttonOK
//
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonOK.BackColor = System.Drawing.Color.Orange;
this.buttonOK.ForeColor = System.Drawing.Color.Black;
this.buttonOK.Location = new System.Drawing.Point(604, 81);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(113, 37);
this.buttonOK.TabIndex = 19;
this.buttonOK.Text = "Сохранить";
this.buttonOK.UseVisualStyleBackColor = false;
//
// FormUpdStudent
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.LightSteelBlue;
this.ClientSize = new System.Drawing.Size(746, 130);
this.Controls.Add(this.buttonOK);
this.Controls.Add(this.textBoxLastName);
this.Controls.Add(this.labelF);
this.Controls.Add(this.labelGroup);
this.Controls.Add(this.comboBoxGroup);
this.Controls.Add(this.textBoxPatronimic);
this.Controls.Add(this.labelPatronimic);
this.Controls.Add(this.textBoxName);
this.Controls.Add(this.labelI);
this.Name = "FormUpdStudent";
this.Text = "Редактировать студента";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label labelGroup;
private System.Windows.Forms.ComboBox comboBoxGroup;
private System.Windows.Forms.TextBox textBoxPatronimic;
private System.Windows.Forms.Label labelPatronimic;
private System.Windows.Forms.TextBox textBoxName;
private System.Windows.Forms.Label labelI;
private System.Windows.Forms.TextBox textBoxLastName;
private System.Windows.Forms.Label labelF;
private System.Windows.Forms.Button buttonOK;
}
}

View File

@@ -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 App_contingent_university.Forms
{
public partial class FormUpdStudent : Form
{
public FormUpdStudent()
{
InitializeComponent();
}
}
}

View File

@@ -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>

View File

@@ -4,15 +4,13 @@
{
public string Name { get; set; } = string.Empty;
public string Code { get; set; } = string.Empty;
public Facult? Facult { get; set; }
public Specialization(Facult facult, string name, string code)
public Specialization(string name, string code)
{
Facult = facult;
Name = name;
Code = code;
}
public Specialization(Facult facult, string name, string code, int id) : this(facult, name, code )
public Specialization(string name, string code, int id) : this(name, code )
{
Id = id;
}