Сделал форму редактирования лекарства
This commit is contained in:
parent
4545a93243
commit
8d00453609
140
Polyclinic/PolyclinicView/FormMedicament.Designer.cs
generated
140
Polyclinic/PolyclinicView/FormMedicament.Designer.cs
generated
@ -28,12 +28,144 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
textBoxComment = new TextBox();
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
textBoxName = new TextBox();
|
||||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
labelComment = new Label();
|
||||||
this.Text = "FormMedicament";
|
labelName = new Label();
|
||||||
|
buttonCancel = new Button();
|
||||||
|
buttonApply = new Button();
|
||||||
|
labelProcedure = new Label();
|
||||||
|
labelSymptom = new Label();
|
||||||
|
comboBoxProcedure = new ComboBox();
|
||||||
|
comboBoxSymptom = new ComboBox();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBoxComment
|
||||||
|
//
|
||||||
|
textBoxComment.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
textBoxComment.Location = new Point(12, 154);
|
||||||
|
textBoxComment.Multiline = true;
|
||||||
|
textBoxComment.Name = "textBoxComment";
|
||||||
|
textBoxComment.Size = new Size(506, 152);
|
||||||
|
textBoxComment.TabIndex = 13;
|
||||||
|
//
|
||||||
|
// textBoxName
|
||||||
|
//
|
||||||
|
textBoxName.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
textBoxName.Location = new Point(105, 9);
|
||||||
|
textBoxName.Name = "textBoxName";
|
||||||
|
textBoxName.Size = new Size(413, 27);
|
||||||
|
textBoxName.TabIndex = 12;
|
||||||
|
//
|
||||||
|
// labelComment
|
||||||
|
//
|
||||||
|
labelComment.AutoSize = true;
|
||||||
|
labelComment.Location = new Point(12, 131);
|
||||||
|
labelComment.Name = "labelComment";
|
||||||
|
labelComment.Size = new Size(107, 20);
|
||||||
|
labelComment.TabIndex = 11;
|
||||||
|
labelComment.Text = "Комментарий";
|
||||||
|
//
|
||||||
|
// labelName
|
||||||
|
//
|
||||||
|
labelName.AutoSize = true;
|
||||||
|
labelName.Location = new Point(12, 12);
|
||||||
|
labelName.Name = "labelName";
|
||||||
|
labelName.Size = new Size(77, 20);
|
||||||
|
labelName.TabIndex = 10;
|
||||||
|
labelName.Text = "Название";
|
||||||
|
//
|
||||||
|
// buttonCancel
|
||||||
|
//
|
||||||
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
buttonCancel.Location = new Point(424, 312);
|
||||||
|
buttonCancel.Name = "buttonCancel";
|
||||||
|
buttonCancel.Size = new Size(94, 29);
|
||||||
|
buttonCancel.TabIndex = 9;
|
||||||
|
buttonCancel.Text = "Отмена";
|
||||||
|
buttonCancel.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// buttonApply
|
||||||
|
//
|
||||||
|
buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||||
|
buttonApply.Location = new Point(324, 312);
|
||||||
|
buttonApply.Name = "buttonApply";
|
||||||
|
buttonApply.Size = new Size(94, 29);
|
||||||
|
buttonApply.TabIndex = 8;
|
||||||
|
buttonApply.Text = "Сохранить";
|
||||||
|
buttonApply.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// labelProcedure
|
||||||
|
//
|
||||||
|
labelProcedure.AutoSize = true;
|
||||||
|
labelProcedure.Location = new Point(12, 53);
|
||||||
|
labelProcedure.Name = "labelProcedure";
|
||||||
|
labelProcedure.Size = new Size(87, 20);
|
||||||
|
labelProcedure.TabIndex = 14;
|
||||||
|
labelProcedure.Text = "Процедура";
|
||||||
|
//
|
||||||
|
// labelSymptom
|
||||||
|
//
|
||||||
|
labelSymptom.AutoSize = true;
|
||||||
|
labelSymptom.Location = new Point(12, 95);
|
||||||
|
labelSymptom.Name = "labelSymptom";
|
||||||
|
labelSymptom.Size = new Size(73, 20);
|
||||||
|
labelSymptom.TabIndex = 15;
|
||||||
|
labelSymptom.Text = "Симптом";
|
||||||
|
//
|
||||||
|
// comboBoxProcedure
|
||||||
|
//
|
||||||
|
comboBoxProcedure.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
comboBoxProcedure.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
|
comboBoxProcedure.FormattingEnabled = true;
|
||||||
|
comboBoxProcedure.Location = new Point(105, 50);
|
||||||
|
comboBoxProcedure.Name = "comboBoxProcedure";
|
||||||
|
comboBoxProcedure.Size = new Size(413, 28);
|
||||||
|
comboBoxProcedure.TabIndex = 16;
|
||||||
|
//
|
||||||
|
// comboBoxSymptom
|
||||||
|
//
|
||||||
|
comboBoxSymptom.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
comboBoxSymptom.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
|
comboBoxSymptom.FormattingEnabled = true;
|
||||||
|
comboBoxSymptom.Location = new Point(105, 92);
|
||||||
|
comboBoxSymptom.Name = "comboBoxSymptom";
|
||||||
|
comboBoxSymptom.Size = new Size(413, 28);
|
||||||
|
comboBoxSymptom.TabIndex = 17;
|
||||||
|
//
|
||||||
|
// FormMedicament
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(530, 350);
|
||||||
|
Controls.Add(comboBoxSymptom);
|
||||||
|
Controls.Add(comboBoxProcedure);
|
||||||
|
Controls.Add(labelSymptom);
|
||||||
|
Controls.Add(labelProcedure);
|
||||||
|
Controls.Add(textBoxComment);
|
||||||
|
Controls.Add(textBoxName);
|
||||||
|
Controls.Add(labelComment);
|
||||||
|
Controls.Add(labelName);
|
||||||
|
Controls.Add(buttonCancel);
|
||||||
|
Controls.Add(buttonApply);
|
||||||
|
MinimumSize = new Size(480, 270);
|
||||||
|
Name = "FormMedicament";
|
||||||
|
Text = "Редактировать лекарство";
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private TextBox textBoxComment;
|
||||||
|
private TextBox textBoxName;
|
||||||
|
private Label labelComment;
|
||||||
|
private Label labelName;
|
||||||
|
private Button buttonCancel;
|
||||||
|
private Button buttonApply;
|
||||||
|
private Label labelProcedure;
|
||||||
|
private Label labelSymptom;
|
||||||
|
private ComboBox comboBoxProcedure;
|
||||||
|
private ComboBox comboBoxSymptom;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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…
Reference in New Issue
Block a user