Реализовал форму добавления курса
This commit is contained in:
parent
cd23342189
commit
b439e41799
172
Polyclinic/PolyclinicView/FormCourse.Designer.cs
generated
172
Polyclinic/PolyclinicView/FormCourse.Designer.cs
generated
@ -28,12 +28,176 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "FormCourse";
|
||||
buttonApply = new Button();
|
||||
buttonCancel = new Button();
|
||||
labelDaysCount = new Label();
|
||||
labelPillsPerDay = new Label();
|
||||
labelRecipe = new Label();
|
||||
comboBoxRecipe = new ComboBox();
|
||||
numericUpDownDaysCount = new NumericUpDown();
|
||||
numericUpDownPillsPerDay = new NumericUpDown();
|
||||
dataGridViewAllDiagnoses = new DataGridView();
|
||||
dataGridViewAddrdDiagnoses = new DataGridView();
|
||||
buttonAddElement = new Button();
|
||||
buttonrRemoveElement = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDownDaysCount).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDownPillsPerDay).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridViewAllDiagnoses).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridViewAddrdDiagnoses).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// buttonApply
|
||||
//
|
||||
buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonApply.Location = new Point(413, 364);
|
||||
buttonApply.Name = "buttonApply";
|
||||
buttonApply.Size = new Size(94, 29);
|
||||
buttonApply.TabIndex = 0;
|
||||
buttonApply.Text = "Сохранить";
|
||||
buttonApply.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonCancel.Location = new Point(513, 364);
|
||||
buttonCancel.Name = "buttonCancel";
|
||||
buttonCancel.Size = new Size(94, 29);
|
||||
buttonCancel.TabIndex = 1;
|
||||
buttonCancel.Text = "Отмена";
|
||||
buttonCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// labelDaysCount
|
||||
//
|
||||
labelDaysCount.AutoSize = true;
|
||||
labelDaysCount.Location = new Point(12, 9);
|
||||
labelDaysCount.Name = "labelDaysCount";
|
||||
labelDaysCount.Size = new Size(128, 20);
|
||||
labelDaysCount.TabIndex = 2;
|
||||
labelDaysCount.Text = "Количество дней";
|
||||
//
|
||||
// labelPillsPerDay
|
||||
//
|
||||
labelPillsPerDay.AutoSize = true;
|
||||
labelPillsPerDay.Location = new Point(12, 39);
|
||||
labelPillsPerDay.Name = "labelPillsPerDay";
|
||||
labelPillsPerDay.Size = new Size(217, 20);
|
||||
labelPillsPerDay.TabIndex = 3;
|
||||
labelPillsPerDay.Text = "Количество препарата в день";
|
||||
labelPillsPerDay.TextAlign = ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// labelRecipe
|
||||
//
|
||||
labelRecipe.AutoSize = true;
|
||||
labelRecipe.Location = new Point(12, 75);
|
||||
labelRecipe.Name = "labelRecipe";
|
||||
labelRecipe.Size = new Size(57, 20);
|
||||
labelRecipe.TabIndex = 4;
|
||||
labelRecipe.Text = "Рецепт";
|
||||
//
|
||||
// comboBoxRecipe
|
||||
//
|
||||
comboBoxRecipe.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
comboBoxRecipe.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
comboBoxRecipe.FormattingEnabled = true;
|
||||
comboBoxRecipe.Location = new Point(78, 72);
|
||||
comboBoxRecipe.Name = "comboBoxRecipe";
|
||||
comboBoxRecipe.Size = new Size(529, 28);
|
||||
comboBoxRecipe.TabIndex = 5;
|
||||
//
|
||||
// numericUpDownDaysCount
|
||||
//
|
||||
numericUpDownDaysCount.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
numericUpDownDaysCount.Location = new Point(235, 7);
|
||||
numericUpDownDaysCount.Name = "numericUpDownDaysCount";
|
||||
numericUpDownDaysCount.Size = new Size(372, 27);
|
||||
numericUpDownDaysCount.TabIndex = 6;
|
||||
//
|
||||
// numericUpDownPillsPerDay
|
||||
//
|
||||
numericUpDownPillsPerDay.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
numericUpDownPillsPerDay.Location = new Point(235, 37);
|
||||
numericUpDownPillsPerDay.Name = "numericUpDownPillsPerDay";
|
||||
numericUpDownPillsPerDay.Size = new Size(372, 27);
|
||||
numericUpDownPillsPerDay.TabIndex = 7;
|
||||
//
|
||||
// dataGridViewAllDiagnoses
|
||||
//
|
||||
dataGridViewAllDiagnoses.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewAllDiagnoses.Location = new Point(12, 106);
|
||||
dataGridViewAllDiagnoses.Name = "dataGridViewAllDiagnoses";
|
||||
dataGridViewAllDiagnoses.RowHeadersWidth = 51;
|
||||
dataGridViewAllDiagnoses.RowTemplate.Height = 29;
|
||||
dataGridViewAllDiagnoses.Size = new Size(247, 235);
|
||||
dataGridViewAllDiagnoses.TabIndex = 8;
|
||||
//
|
||||
// dataGridViewAddrdDiagnoses
|
||||
//
|
||||
dataGridViewAddrdDiagnoses.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
dataGridViewAddrdDiagnoses.Location = new Point(329, 106);
|
||||
dataGridViewAddrdDiagnoses.Name = "dataGridViewAddrdDiagnoses";
|
||||
dataGridViewAddrdDiagnoses.RowHeadersWidth = 51;
|
||||
dataGridViewAddrdDiagnoses.RowTemplate.Height = 29;
|
||||
dataGridViewAddrdDiagnoses.Size = new Size(278, 235);
|
||||
dataGridViewAddrdDiagnoses.TabIndex = 9;
|
||||
//
|
||||
// buttonAddElement
|
||||
//
|
||||
buttonAddElement.Location = new Point(265, 168);
|
||||
buttonAddElement.Name = "buttonAddElement";
|
||||
buttonAddElement.Size = new Size(58, 29);
|
||||
buttonAddElement.TabIndex = 10;
|
||||
buttonAddElement.Text = "=>";
|
||||
buttonAddElement.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonrRemoveElement
|
||||
//
|
||||
buttonrRemoveElement.Location = new Point(265, 241);
|
||||
buttonrRemoveElement.Name = "buttonrRemoveElement";
|
||||
buttonrRemoveElement.Size = new Size(58, 29);
|
||||
buttonrRemoveElement.TabIndex = 11;
|
||||
buttonrRemoveElement.Text = "<=";
|
||||
buttonrRemoveElement.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// FormCourse
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(619, 405);
|
||||
Controls.Add(buttonrRemoveElement);
|
||||
Controls.Add(buttonAddElement);
|
||||
Controls.Add(dataGridViewAddrdDiagnoses);
|
||||
Controls.Add(dataGridViewAllDiagnoses);
|
||||
Controls.Add(numericUpDownPillsPerDay);
|
||||
Controls.Add(numericUpDownDaysCount);
|
||||
Controls.Add(comboBoxRecipe);
|
||||
Controls.Add(labelRecipe);
|
||||
Controls.Add(labelPillsPerDay);
|
||||
Controls.Add(labelDaysCount);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonApply);
|
||||
Name = "FormCourse";
|
||||
Text = "Редактировать курс";
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDownDaysCount).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDownPillsPerDay).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridViewAllDiagnoses).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)dataGridViewAddrdDiagnoses).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Button buttonApply;
|
||||
private Button buttonCancel;
|
||||
private Label labelDaysCount;
|
||||
private Label labelPillsPerDay;
|
||||
private Label labelRecipe;
|
||||
private ComboBox comboBoxRecipe;
|
||||
private NumericUpDown numericUpDownDaysCount;
|
||||
private NumericUpDown numericUpDownPillsPerDay;
|
||||
private DataGridView dataGridViewAllDiagnoses;
|
||||
private DataGridView dataGridViewAddrdDiagnoses;
|
||||
private Button buttonAddElement;
|
||||
private Button buttonrRemoveElement;
|
||||
}
|
||||
}
|
@ -1,17 +1,17 @@
|
||||
<?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
|
||||
|
||||
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>
|
||||
@ -26,36 +26,36 @@
|
||||
<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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
Loading…
Reference in New Issue
Block a user