Сделал форму редактирования пользователя
This commit is contained in:
parent
3d80a7ade7
commit
3bb5f4d611
137
Polyclinic/PolyclinicView/FormUser.Designer.cs
generated
137
Polyclinic/PolyclinicView/FormUser.Designer.cs
generated
@ -28,12 +28,141 @@
|
||||
/// </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 = "FormUser";
|
||||
labelFIO = new Label();
|
||||
labelEmail = new Label();
|
||||
labelPassword = new Label();
|
||||
labelRole = new Label();
|
||||
buttonCancel = new Button();
|
||||
buttonApply = new Button();
|
||||
textBoxFIO = new TextBox();
|
||||
textBoxEmail = new TextBox();
|
||||
textBoxPassword = new TextBox();
|
||||
comboBoxRole = new ComboBox();
|
||||
SuspendLayout();
|
||||
//
|
||||
// labelFIO
|
||||
//
|
||||
labelFIO.AutoSize = true;
|
||||
labelFIO.Location = new Point(12, 9);
|
||||
labelFIO.Name = "labelFIO";
|
||||
labelFIO.Size = new Size(42, 20);
|
||||
labelFIO.TabIndex = 0;
|
||||
labelFIO.Text = "ФИО";
|
||||
//
|
||||
// labelEmail
|
||||
//
|
||||
labelEmail.AutoSize = true;
|
||||
labelEmail.Location = new Point(12, 43);
|
||||
labelEmail.Name = "labelEmail";
|
||||
labelEmail.Size = new Size(46, 20);
|
||||
labelEmail.TabIndex = 1;
|
||||
labelEmail.Text = "Email";
|
||||
//
|
||||
// labelPassword
|
||||
//
|
||||
labelPassword.AutoSize = true;
|
||||
labelPassword.Location = new Point(12, 73);
|
||||
labelPassword.Name = "labelPassword";
|
||||
labelPassword.Size = new Size(62, 20);
|
||||
labelPassword.TabIndex = 2;
|
||||
labelPassword.Text = "Пароль";
|
||||
//
|
||||
// labelRole
|
||||
//
|
||||
labelRole.AutoSize = true;
|
||||
labelRole.Location = new Point(12, 114);
|
||||
labelRole.Name = "labelRole";
|
||||
labelRole.Size = new Size(42, 20);
|
||||
labelRole.TabIndex = 3;
|
||||
labelRole.Text = "Роль";
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonCancel.Location = new Point(526, 152);
|
||||
buttonCancel.Name = "buttonCancel";
|
||||
buttonCancel.Size = new Size(94, 29);
|
||||
buttonCancel.TabIndex = 5;
|
||||
buttonCancel.Text = "Отмена";
|
||||
buttonCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonApply
|
||||
//
|
||||
buttonApply.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonApply.Location = new Point(426, 152);
|
||||
buttonApply.Name = "buttonApply";
|
||||
buttonApply.Size = new Size(94, 29);
|
||||
buttonApply.TabIndex = 4;
|
||||
buttonApply.Text = "Сохранить";
|
||||
buttonApply.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBoxFIO
|
||||
//
|
||||
textBoxFIO.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
textBoxFIO.Location = new Point(87, 6);
|
||||
textBoxFIO.Name = "textBoxFIO";
|
||||
textBoxFIO.Size = new Size(533, 27);
|
||||
textBoxFIO.TabIndex = 6;
|
||||
//
|
||||
// textBoxEmail
|
||||
//
|
||||
textBoxEmail.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
textBoxEmail.Location = new Point(87, 40);
|
||||
textBoxEmail.Name = "textBoxEmail";
|
||||
textBoxEmail.Size = new Size(533, 27);
|
||||
textBoxEmail.TabIndex = 7;
|
||||
//
|
||||
// textBoxPassword
|
||||
//
|
||||
textBoxPassword.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
textBoxPassword.Location = new Point(87, 73);
|
||||
textBoxPassword.Name = "textBoxPassword";
|
||||
textBoxPassword.Size = new Size(533, 27);
|
||||
textBoxPassword.TabIndex = 8;
|
||||
//
|
||||
// comboBoxRole
|
||||
//
|
||||
comboBoxRole.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
||||
comboBoxRole.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
comboBoxRole.FormattingEnabled = true;
|
||||
comboBoxRole.Location = new Point(87, 111);
|
||||
comboBoxRole.Name = "comboBoxRole";
|
||||
comboBoxRole.Size = new Size(533, 28);
|
||||
comboBoxRole.TabIndex = 9;
|
||||
//
|
||||
// FormUser
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(632, 193);
|
||||
Controls.Add(comboBoxRole);
|
||||
Controls.Add(textBoxPassword);
|
||||
Controls.Add(textBoxEmail);
|
||||
Controls.Add(textBoxFIO);
|
||||
Controls.Add(buttonCancel);
|
||||
Controls.Add(buttonApply);
|
||||
Controls.Add(labelRole);
|
||||
Controls.Add(labelPassword);
|
||||
Controls.Add(labelEmail);
|
||||
Controls.Add(labelFIO);
|
||||
MinimumSize = new Size(0, 240);
|
||||
Name = "FormUser";
|
||||
Text = "Редактировать пользователя";
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Label labelFIO;
|
||||
private Label labelEmail;
|
||||
private Label labelPassword;
|
||||
private Label labelRole;
|
||||
private Button buttonCancel;
|
||||
private Button buttonApply;
|
||||
private TextBox textBoxFIO;
|
||||
private TextBox textBoxEmail;
|
||||
private TextBox textBoxPassword;
|
||||
private ComboBox comboBoxRole;
|
||||
}
|
||||
}
|
@ -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