Переименовка форм
This commit is contained in:
parent
29f610e929
commit
9da0ba968a
186
LawFirm/LawFirmView/FormImplementer.Designer.cs
generated
186
LawFirm/LawFirmView/FormImplementer.Designer.cs
generated
@ -1,6 +1,6 @@
|
|||||||
namespace LawFirmView
|
namespace LawFirmView
|
||||||
{
|
{
|
||||||
partial class FormImplementer
|
partial class Исполнитель
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
@ -28,127 +28,133 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.textBoxFIO = new System.Windows.Forms.TextBox();
|
textBoxFIO = new TextBox();
|
||||||
this.textBoxPasswd = new System.Windows.Forms.TextBox();
|
textBoxPasswd = new TextBox();
|
||||||
this.numericUpDownQualif = new System.Windows.Forms.NumericUpDown();
|
numericUpDownQualif = new NumericUpDown();
|
||||||
this.numericUpDownWorkExp = new System.Windows.Forms.NumericUpDown();
|
numericUpDownWorkExp = new NumericUpDown();
|
||||||
this.buttonSave = new System.Windows.Forms.Button();
|
buttonSave = new Button();
|
||||||
this.buttonCancel = new System.Windows.Forms.Button();
|
buttonCancel = new Button();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
label1 = new Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
label2 = new Label();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
label3 = new Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
label4 = new Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownQualif)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)numericUpDownQualif).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWorkExp)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)numericUpDownWorkExp).BeginInit();
|
||||||
this.SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// textBoxFIO
|
// textBoxFIO
|
||||||
//
|
//
|
||||||
this.textBoxFIO.Location = new System.Drawing.Point(155, 25);
|
textBoxFIO.Location = new Point(177, 33);
|
||||||
this.textBoxFIO.Name = "textBoxFIO";
|
textBoxFIO.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.textBoxFIO.Size = new System.Drawing.Size(231, 23);
|
textBoxFIO.Name = "textBoxFIO";
|
||||||
this.textBoxFIO.TabIndex = 0;
|
textBoxFIO.Size = new Size(263, 27);
|
||||||
|
textBoxFIO.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// textBoxPasswd
|
// textBoxPasswd
|
||||||
//
|
//
|
||||||
this.textBoxPasswd.Location = new System.Drawing.Point(155, 65);
|
textBoxPasswd.Location = new Point(177, 87);
|
||||||
this.textBoxPasswd.Name = "textBoxPasswd";
|
textBoxPasswd.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.textBoxPasswd.Size = new System.Drawing.Size(231, 23);
|
textBoxPasswd.Name = "textBoxPasswd";
|
||||||
this.textBoxPasswd.TabIndex = 1;
|
textBoxPasswd.Size = new Size(263, 27);
|
||||||
|
textBoxPasswd.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// numericUpDownQualif
|
// numericUpDownQualif
|
||||||
//
|
//
|
||||||
this.numericUpDownQualif.Location = new System.Drawing.Point(155, 105);
|
numericUpDownQualif.Location = new Point(177, 140);
|
||||||
this.numericUpDownQualif.Name = "numericUpDownQualif";
|
numericUpDownQualif.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.numericUpDownQualif.Size = new System.Drawing.Size(120, 23);
|
numericUpDownQualif.Name = "numericUpDownQualif";
|
||||||
this.numericUpDownQualif.TabIndex = 2;
|
numericUpDownQualif.Size = new Size(137, 27);
|
||||||
|
numericUpDownQualif.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// numericUpDownWorkExp
|
// numericUpDownWorkExp
|
||||||
//
|
//
|
||||||
this.numericUpDownWorkExp.Location = new System.Drawing.Point(155, 143);
|
numericUpDownWorkExp.Location = new Point(177, 191);
|
||||||
this.numericUpDownWorkExp.Name = "numericUpDownWorkExp";
|
numericUpDownWorkExp.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.numericUpDownWorkExp.Size = new System.Drawing.Size(120, 23);
|
numericUpDownWorkExp.Name = "numericUpDownWorkExp";
|
||||||
this.numericUpDownWorkExp.TabIndex = 3;
|
numericUpDownWorkExp.Size = new Size(137, 27);
|
||||||
|
numericUpDownWorkExp.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// buttonSave
|
// buttonSave
|
||||||
//
|
//
|
||||||
this.buttonSave.Location = new System.Drawing.Point(60, 202);
|
buttonSave.Location = new Point(69, 269);
|
||||||
this.buttonSave.Name = "buttonSave";
|
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.buttonSave.Size = new System.Drawing.Size(75, 23);
|
buttonSave.Name = "buttonSave";
|
||||||
this.buttonSave.TabIndex = 4;
|
buttonSave.Size = new Size(86, 31);
|
||||||
this.buttonSave.Text = "Сохранить";
|
buttonSave.TabIndex = 4;
|
||||||
this.buttonSave.UseVisualStyleBackColor = true;
|
buttonSave.Text = "Сохранить";
|
||||||
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
|
buttonSave.UseVisualStyleBackColor = true;
|
||||||
|
buttonSave.Click += buttonSave_Click;
|
||||||
//
|
//
|
||||||
// buttonCancel
|
// buttonCancel
|
||||||
//
|
//
|
||||||
this.buttonCancel.Location = new System.Drawing.Point(355, 202);
|
buttonCancel.Location = new Point(406, 269);
|
||||||
this.buttonCancel.Name = "buttonCancel";
|
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
buttonCancel.Name = "buttonCancel";
|
||||||
this.buttonCancel.TabIndex = 5;
|
buttonCancel.Size = new Size(86, 31);
|
||||||
this.buttonCancel.Text = "Отмена";
|
buttonCancel.TabIndex = 5;
|
||||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
buttonCancel.Text = "Отмена";
|
||||||
this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
|
buttonCancel.UseVisualStyleBackColor = true;
|
||||||
|
buttonCancel.Click += buttonCancel_Click;
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(80, 25);
|
label1.Location = new Point(91, 33);
|
||||||
this.label1.Name = "label1";
|
label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(37, 15);
|
label1.Size = new Size(45, 20);
|
||||||
this.label1.TabIndex = 6;
|
label1.TabIndex = 6;
|
||||||
this.label1.Text = "ФИО:";
|
label1.Text = "ФИО:";
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(80, 65);
|
label2.Location = new Point(91, 87);
|
||||||
this.label2.Name = "label2";
|
label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(52, 15);
|
label2.Size = new Size(65, 20);
|
||||||
this.label2.TabIndex = 7;
|
label2.TabIndex = 7;
|
||||||
this.label2.Text = "Пароль:";
|
label2.Text = "Пароль:";
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(41, 107);
|
label3.Location = new Point(47, 143);
|
||||||
this.label3.Name = "label3";
|
label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(91, 15);
|
label3.Size = new Size(114, 20);
|
||||||
this.label3.TabIndex = 8;
|
label3.TabIndex = 8;
|
||||||
this.label3.Text = "Квалификация:";
|
label3.Text = "Квалификация:";
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.AutoSize = true;
|
label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(48, 151);
|
label4.Location = new Point(55, 201);
|
||||||
this.label4.Name = "label4";
|
label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(84, 15);
|
label4.Size = new Size(105, 20);
|
||||||
this.label4.TabIndex = 9;
|
label4.TabIndex = 9;
|
||||||
this.label4.Text = "Опыт работы:";
|
label4.Text = "Опыт работы:";
|
||||||
//
|
//
|
||||||
// FormImplementer
|
// Исполнитель
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(513, 237);
|
ClientSize = new Size(586, 316);
|
||||||
this.Controls.Add(this.label4);
|
Controls.Add(label4);
|
||||||
this.Controls.Add(this.label3);
|
Controls.Add(label3);
|
||||||
this.Controls.Add(this.label2);
|
Controls.Add(label2);
|
||||||
this.Controls.Add(this.label1);
|
Controls.Add(label1);
|
||||||
this.Controls.Add(this.buttonCancel);
|
Controls.Add(buttonCancel);
|
||||||
this.Controls.Add(this.buttonSave);
|
Controls.Add(buttonSave);
|
||||||
this.Controls.Add(this.numericUpDownWorkExp);
|
Controls.Add(numericUpDownWorkExp);
|
||||||
this.Controls.Add(this.numericUpDownQualif);
|
Controls.Add(numericUpDownQualif);
|
||||||
this.Controls.Add(this.textBoxPasswd);
|
Controls.Add(textBoxPasswd);
|
||||||
this.Controls.Add(this.textBoxFIO);
|
Controls.Add(textBoxFIO);
|
||||||
this.Name = "FormImplementer";
|
Margin = new Padding(3, 4, 3, 4);
|
||||||
this.Text = "FormImplementer";
|
Name = "Исполнитель";
|
||||||
this.Load += new System.EventHandler(this.FormImplementer_Load);
|
Text = "FormImplementer";
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownQualif)).EndInit();
|
Load += FormImplementer_Load;
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWorkExp)).EndInit();
|
((System.ComponentModel.ISupportInitialize)numericUpDownQualif).EndInit();
|
||||||
this.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)numericUpDownWorkExp).EndInit();
|
||||||
this.PerformLayout();
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -14,13 +14,13 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace LawFirmView
|
namespace LawFirmView
|
||||||
{
|
{
|
||||||
public partial class FormImplementer : Form
|
public partial class Исполнитель : Form
|
||||||
{
|
{
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger _logger;
|
||||||
private readonly IImplementerLogic _logic;
|
private readonly IImplementerLogic _logic;
|
||||||
private int? _id;
|
private int? _id;
|
||||||
public int Id { set { _id = value; } }
|
public int Id { set { _id = value; } }
|
||||||
public FormImplementer(ILogger<FormImplementer> logger, IImplementerLogic logic)
|
public Исполнитель(ILogger<Исполнитель> logger, IImplementerLogic logic)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
@ -26,36 +26,36 @@
|
|||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
|
120
LawFirm/LawFirmView/FormImplementers.Designer.cs
generated
120
LawFirm/LawFirmView/FormImplementers.Designer.cs
generated
@ -1,6 +1,6 @@
|
|||||||
namespace LawFirmView
|
namespace LawFirmView
|
||||||
{
|
{
|
||||||
partial class FormImplementers
|
partial class Исполнители
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
@ -28,79 +28,85 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.dataGridView = new System.Windows.Forms.DataGridView();
|
dataGridView = new DataGridView();
|
||||||
this.buttonCreate = new System.Windows.Forms.Button();
|
buttonCreate = new Button();
|
||||||
this.buttonUpdate = new System.Windows.Forms.Button();
|
buttonUpdate = new Button();
|
||||||
this.buttonDelete = new System.Windows.Forms.Button();
|
buttonDelete = new Button();
|
||||||
this.buttonRef = new System.Windows.Forms.Button();
|
buttonRef = new Button();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
this.SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// dataGridView
|
// dataGridView
|
||||||
//
|
//
|
||||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dataGridView.Location = new System.Drawing.Point(0, 0);
|
dataGridView.Location = new Point(0, 0);
|
||||||
this.dataGridView.Name = "dataGridView";
|
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.dataGridView.RowTemplate.Height = 25;
|
dataGridView.Name = "dataGridView";
|
||||||
this.dataGridView.Size = new System.Drawing.Size(419, 428);
|
dataGridView.RowHeadersWidth = 51;
|
||||||
this.dataGridView.TabIndex = 0;
|
dataGridView.RowTemplate.Height = 25;
|
||||||
|
dataGridView.Size = new Size(479, 571);
|
||||||
|
dataGridView.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// buttonCreate
|
// buttonCreate
|
||||||
//
|
//
|
||||||
this.buttonCreate.Location = new System.Drawing.Point(476, 12);
|
buttonCreate.Location = new Point(544, 16);
|
||||||
this.buttonCreate.Name = "buttonCreate";
|
buttonCreate.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.buttonCreate.Size = new System.Drawing.Size(75, 23);
|
buttonCreate.Name = "buttonCreate";
|
||||||
this.buttonCreate.TabIndex = 1;
|
buttonCreate.Size = new Size(86, 31);
|
||||||
this.buttonCreate.Text = "Добавить";
|
buttonCreate.TabIndex = 1;
|
||||||
this.buttonCreate.UseVisualStyleBackColor = true;
|
buttonCreate.Text = "Добавить";
|
||||||
this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click);
|
buttonCreate.UseVisualStyleBackColor = true;
|
||||||
|
buttonCreate.Click += buttonCreate_Click;
|
||||||
//
|
//
|
||||||
// buttonUpdate
|
// buttonUpdate
|
||||||
//
|
//
|
||||||
this.buttonUpdate.Location = new System.Drawing.Point(476, 58);
|
buttonUpdate.Location = new Point(544, 77);
|
||||||
this.buttonUpdate.Name = "buttonUpdate";
|
buttonUpdate.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.buttonUpdate.Size = new System.Drawing.Size(75, 23);
|
buttonUpdate.Name = "buttonUpdate";
|
||||||
this.buttonUpdate.TabIndex = 2;
|
buttonUpdate.Size = new Size(86, 31);
|
||||||
this.buttonUpdate.Text = "Изменить";
|
buttonUpdate.TabIndex = 2;
|
||||||
this.buttonUpdate.UseVisualStyleBackColor = true;
|
buttonUpdate.Text = "Изменить";
|
||||||
this.buttonUpdate.Click += new System.EventHandler(this.buttonUpdate_Click);
|
buttonUpdate.UseVisualStyleBackColor = true;
|
||||||
|
buttonUpdate.Click += buttonUpdate_Click;
|
||||||
//
|
//
|
||||||
// buttonDelete
|
// buttonDelete
|
||||||
//
|
//
|
||||||
this.buttonDelete.Location = new System.Drawing.Point(476, 102);
|
buttonDelete.Location = new Point(544, 136);
|
||||||
this.buttonDelete.Name = "buttonDelete";
|
buttonDelete.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.buttonDelete.Size = new System.Drawing.Size(75, 23);
|
buttonDelete.Name = "buttonDelete";
|
||||||
this.buttonDelete.TabIndex = 3;
|
buttonDelete.Size = new Size(86, 31);
|
||||||
this.buttonDelete.Text = "Удалить";
|
buttonDelete.TabIndex = 3;
|
||||||
this.buttonDelete.UseVisualStyleBackColor = true;
|
buttonDelete.Text = "Удалить";
|
||||||
this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
|
buttonDelete.UseVisualStyleBackColor = true;
|
||||||
|
buttonDelete.Click += buttonDelete_Click;
|
||||||
//
|
//
|
||||||
// buttonRef
|
// buttonRef
|
||||||
//
|
//
|
||||||
this.buttonRef.Location = new System.Drawing.Point(476, 146);
|
buttonRef.Location = new Point(544, 195);
|
||||||
this.buttonRef.Name = "buttonRef";
|
buttonRef.Margin = new Padding(3, 4, 3, 4);
|
||||||
this.buttonRef.Size = new System.Drawing.Size(75, 23);
|
buttonRef.Name = "buttonRef";
|
||||||
this.buttonRef.TabIndex = 4;
|
buttonRef.Size = new Size(86, 31);
|
||||||
this.buttonRef.Text = "Обновить";
|
buttonRef.TabIndex = 4;
|
||||||
this.buttonRef.UseVisualStyleBackColor = true;
|
buttonRef.Text = "Обновить";
|
||||||
this.buttonRef.Click += new System.EventHandler(this.buttonRef_Click);
|
buttonRef.UseVisualStyleBackColor = true;
|
||||||
|
buttonRef.Click += buttonRef_Click;
|
||||||
//
|
//
|
||||||
// FormImplementers
|
// Исполнители
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(596, 440);
|
ClientSize = new Size(681, 587);
|
||||||
this.Controls.Add(this.buttonRef);
|
Controls.Add(buttonRef);
|
||||||
this.Controls.Add(this.buttonDelete);
|
Controls.Add(buttonDelete);
|
||||||
this.Controls.Add(this.buttonUpdate);
|
Controls.Add(buttonUpdate);
|
||||||
this.Controls.Add(this.buttonCreate);
|
Controls.Add(buttonCreate);
|
||||||
this.Controls.Add(this.dataGridView);
|
Controls.Add(dataGridView);
|
||||||
this.Name = "FormImplementers";
|
Margin = new Padding(3, 4, 3, 4);
|
||||||
this.Text = "FormImplementers";
|
Name = "Исполнители";
|
||||||
this.Load += new System.EventHandler(this.FormImplementers_Load);
|
Text = "FormImplementers";
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
Load += FormImplementers_Load;
|
||||||
this.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -13,11 +13,11 @@ using System.Windows.Forms;
|
|||||||
|
|
||||||
namespace LawFirmView
|
namespace LawFirmView
|
||||||
{
|
{
|
||||||
public partial class FormImplementers : Form
|
public partial class Исполнители : Form
|
||||||
{
|
{
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger _logger;
|
||||||
private readonly IImplementerLogic _logic;
|
private readonly IImplementerLogic _logic;
|
||||||
public FormImplementers(ILogger<FormImplementers> logger, IImplementerLogic logic)
|
public Исполнители(ILogger<Исполнители> logger, IImplementerLogic logic)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
@ -51,8 +51,8 @@ namespace LawFirmView
|
|||||||
|
|
||||||
private void buttonCreate_Click(object sender, EventArgs e)
|
private void buttonCreate_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormImplementer));
|
var service = Program.ServiceProvider?.GetService(typeof(Исполнитель));
|
||||||
if (service is FormImplementer form)
|
if (service is Исполнитель form)
|
||||||
{
|
{
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
if (form.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
@ -65,8 +65,8 @@ namespace LawFirmView
|
|||||||
{
|
{
|
||||||
if (dataGridView.SelectedRows.Count == 1)
|
if (dataGridView.SelectedRows.Count == 1)
|
||||||
{
|
{
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormImplementer));
|
var service = Program.ServiceProvider?.GetService(typeof(Исполнитель));
|
||||||
if (service is FormImplementer form)
|
if (service is Исполнитель form)
|
||||||
{
|
{
|
||||||
form.Id = Convert.ToInt32(dataGridView.SelectedRows[0].Cells["Id"].Value);
|
form.Id = Convert.ToInt32(dataGridView.SelectedRows[0].Cells["Id"].Value);
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
if (form.ShowDialog() == DialogResult.OK)
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
@ -26,36 +26,36 @@
|
|||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
|
@ -219,8 +219,8 @@ namespace LawFirmView
|
|||||||
}
|
}
|
||||||
private void исполнителиToolStripMenuItem_Click(object sender, EventArgs e)
|
private void исполнителиToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var service = Program.ServiceProvider?.GetService(typeof(FormImplementers));
|
var service = Program.ServiceProvider?.GetService(typeof(Исполнители));
|
||||||
if (service is FormImplementers form)
|
if (service is Исполнители form)
|
||||||
{
|
{
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
|
@ -62,8 +62,8 @@ namespace LawFirmView
|
|||||||
services.AddTransient<FormDocuments>();
|
services.AddTransient<FormDocuments>();
|
||||||
services.AddTransient<FormReportDocumentComponents>();
|
services.AddTransient<FormReportDocumentComponents>();
|
||||||
services.AddTransient<FormReportOrders>();
|
services.AddTransient<FormReportOrders>();
|
||||||
services.AddTransient<FormImplementers>();
|
services.AddTransient<Èñïîëíèòåëè>();
|
||||||
services.AddTransient<FormImplementer>();
|
services.AddTransient<Èñïîëíèòåëü>();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user