Сделал форму редактирования процедуры
This commit is contained in:
parent
8d00453609
commit
c1c32d22ec
144
Polyclinic/PolyclinicView/FormProcedure.Designer.cs
generated
144
Polyclinic/PolyclinicView/FormProcedure.Designer.cs
generated
@ -28,12 +28,148 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
buttonRemveRecipe = new Button();
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
buttonAddRecipe = new Button();
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
labelTableName = new Label();
|
||||||
this.Text = "FormProcedure";
|
dataGridView = new DataGridView();
|
||||||
|
textBoxComment = new TextBox();
|
||||||
|
textBoxName = new TextBox();
|
||||||
|
labelComment = new Label();
|
||||||
|
labelName = new Label();
|
||||||
|
buttonCancel = new Button();
|
||||||
|
buttonApply = new Button();
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// buttonRemveRecipe
|
||||||
|
//
|
||||||
|
buttonRemveRecipe.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
|
buttonRemveRecipe.Location = new Point(338, 314);
|
||||||
|
buttonRemveRecipe.Name = "buttonRemveRecipe";
|
||||||
|
buttonRemveRecipe.Size = new Size(94, 56);
|
||||||
|
buttonRemveRecipe.TabIndex = 27;
|
||||||
|
buttonRemveRecipe.Text = "Удалить рецепт";
|
||||||
|
buttonRemveRecipe.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// buttonAddRecipe
|
||||||
|
//
|
||||||
|
buttonAddRecipe.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
|
buttonAddRecipe.Location = new Point(338, 211);
|
||||||
|
buttonAddRecipe.Name = "buttonAddRecipe";
|
||||||
|
buttonAddRecipe.Size = new Size(94, 55);
|
||||||
|
buttonAddRecipe.TabIndex = 26;
|
||||||
|
buttonAddRecipe.Text = "Добавить рецепт";
|
||||||
|
buttonAddRecipe.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// labelTableName
|
||||||
|
//
|
||||||
|
labelTableName.AutoSize = true;
|
||||||
|
labelTableName.Location = new Point(12, 180);
|
||||||
|
labelTableName.Name = "labelTableName";
|
||||||
|
labelTableName.Size = new Size(68, 20);
|
||||||
|
labelTableName.TabIndex = 25;
|
||||||
|
labelTableName.Text = "Рецепты";
|
||||||
|
//
|
||||||
|
// dataGridView
|
||||||
|
//
|
||||||
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
dataGridView.Location = new Point(12, 203);
|
||||||
|
dataGridView.Name = "dataGridView";
|
||||||
|
dataGridView.RowHeadersWidth = 51;
|
||||||
|
dataGridView.RowTemplate.Height = 29;
|
||||||
|
dataGridView.Size = new Size(300, 186);
|
||||||
|
dataGridView.TabIndex = 24;
|
||||||
|
//
|
||||||
|
// textBoxComment
|
||||||
|
//
|
||||||
|
textBoxComment.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
textBoxComment.Location = new Point(12, 72);
|
||||||
|
textBoxComment.Multiline = true;
|
||||||
|
textBoxComment.Name = "textBoxComment";
|
||||||
|
textBoxComment.Size = new Size(438, 104);
|
||||||
|
textBoxComment.TabIndex = 23;
|
||||||
|
//
|
||||||
|
// textBoxName
|
||||||
|
//
|
||||||
|
textBoxName.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
textBoxName.Location = new Point(95, 9);
|
||||||
|
textBoxName.Name = "textBoxName";
|
||||||
|
textBoxName.Size = new Size(355, 27);
|
||||||
|
textBoxName.TabIndex = 22;
|
||||||
|
//
|
||||||
|
// labelComment
|
||||||
|
//
|
||||||
|
labelComment.AutoSize = true;
|
||||||
|
labelComment.Location = new Point(12, 49);
|
||||||
|
labelComment.Name = "labelComment";
|
||||||
|
labelComment.Size = new Size(107, 20);
|
||||||
|
labelComment.TabIndex = 21;
|
||||||
|
labelComment.Text = "Комментарий";
|
||||||
|
//
|
||||||
|
// labelName
|
||||||
|
//
|
||||||
|
labelName.AutoSize = true;
|
||||||
|
labelName.Location = new Point(12, 12);
|
||||||
|
labelName.Name = "labelName";
|
||||||
|
labelName.Size = new Size(77, 20);
|
||||||
|
labelName.TabIndex = 20;
|
||||||
|
labelName.Text = "Название";
|
||||||
|
//
|
||||||
|
// buttonCancel
|
||||||
|
//
|
||||||
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
buttonCancel.Location = new Point(356, 395);
|
||||||
|
buttonCancel.Name = "buttonCancel";
|
||||||
|
buttonCancel.Size = new Size(94, 29);
|
||||||
|
buttonCancel.TabIndex = 19;
|
||||||
|
buttonCancel.Text = "Отмена";
|
||||||
|
buttonCancel.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// buttonApply
|
||||||
|
//
|
||||||
|
buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
buttonApply.Location = new Point(256, 395);
|
||||||
|
buttonApply.Name = "buttonApply";
|
||||||
|
buttonApply.Size = new Size(94, 29);
|
||||||
|
buttonApply.TabIndex = 18;
|
||||||
|
buttonApply.Text = "Сохранить";
|
||||||
|
buttonApply.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// FormProcedure
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(462, 433);
|
||||||
|
Controls.Add(buttonRemveRecipe);
|
||||||
|
Controls.Add(buttonAddRecipe);
|
||||||
|
Controls.Add(labelTableName);
|
||||||
|
Controls.Add(dataGridView);
|
||||||
|
Controls.Add(textBoxComment);
|
||||||
|
Controls.Add(textBoxName);
|
||||||
|
Controls.Add(labelComment);
|
||||||
|
Controls.Add(labelName);
|
||||||
|
Controls.Add(buttonCancel);
|
||||||
|
Controls.Add(buttonApply);
|
||||||
|
MinimumSize = new Size(480, 480);
|
||||||
|
Name = "FormProcedure";
|
||||||
|
Text = "Редактировать процедуру";
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private Button buttonRemveRecipe;
|
||||||
|
private Button buttonAddRecipe;
|
||||||
|
private Label labelTableName;
|
||||||
|
private DataGridView dataGridView;
|
||||||
|
private TextBox textBoxComment;
|
||||||
|
private TextBox textBoxName;
|
||||||
|
private Label labelComment;
|
||||||
|
private Label labelName;
|
||||||
|
private Button buttonCancel;
|
||||||
|
private Button buttonApply;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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.
|
||||||
-->
|
-->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user