|
|
@@ -29,12 +29,42 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
+ System.Windows.Forms.Label phoneLabel;
|
|
|
+ System.Windows.Forms.Label otchLabel;
|
|
|
+ System.Windows.Forms.Label nameLabel;
|
|
|
+ System.Windows.Forms.Label famLabel;
|
|
|
+ System.Windows.Forms.Label passLabel;
|
|
|
+ System.Windows.Forms.Label loginLabel;
|
|
|
+ System.Windows.Forms.Label label1;
|
|
|
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormProf));
|
|
|
this.vdb_FabrikDataSet = new СУБД_Швейная_фабрика.Vdb_FabrikDataSet();
|
|
|
this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.usersTableAdapter = new СУБД_Швейная_фабрика.Vdb_FabrikDataSetTableAdapters.usersTableAdapter();
|
|
|
this.tableAdapterManager = new СУБД_Швейная_фабрика.Vdb_FabrikDataSetTableAdapters.TableAdapterManager();
|
|
|
+ this.otchTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.nameTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.famTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.t_numberMaskedTextBox = new System.Windows.Forms.MaskedTextBox();
|
|
|
+ this.loginTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.cbxShowPass = new System.Windows.Forms.CheckBox();
|
|
|
+ this.BtnCancel = new System.Windows.Forms.Button();
|
|
|
+ this.BtnReg = new System.Windows.Forms.Button();
|
|
|
+ this.panel1 = new System.Windows.Forms.Panel();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ this.pbxLogo = new System.Windows.Forms.PictureBox();
|
|
|
+ this.TbxNewPass = new System.Windows.Forms.TextBox();
|
|
|
+ this.TbxOldPass = new System.Windows.Forms.TextBox();
|
|
|
+ phoneLabel = new System.Windows.Forms.Label();
|
|
|
+ otchLabel = new System.Windows.Forms.Label();
|
|
|
+ nameLabel = new System.Windows.Forms.Label();
|
|
|
+ famLabel = new System.Windows.Forms.Label();
|
|
|
+ passLabel = new System.Windows.Forms.Label();
|
|
|
+ loginLabel = new System.Windows.Forms.Label();
|
|
|
+ label1 = new System.Windows.Forms.Label();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.vdb_FabrikDataSet)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit();
|
|
|
+ this.panel1.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pbxLogo)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// vdb_FabrikDataSet
|
|
|
@@ -61,17 +91,237 @@
|
|
|
this.tableAdapterManager.UpdateOrder = СУБД_Швейная_фабрика.Vdb_FabrikDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
|
|
this.tableAdapterManager.usersTableAdapter = this.usersTableAdapter;
|
|
|
//
|
|
|
+ // otchTextBox
|
|
|
+ //
|
|
|
+ this.otchTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "otch", true));
|
|
|
+ this.otchTextBox.Location = new System.Drawing.Point(456, 186);
|
|
|
+ this.otchTextBox.Name = "otchTextBox";
|
|
|
+ this.otchTextBox.Size = new System.Drawing.Size(154, 22);
|
|
|
+ this.otchTextBox.TabIndex = 55;
|
|
|
+ //
|
|
|
+ // nameTextBox
|
|
|
+ //
|
|
|
+ this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "name", true));
|
|
|
+ this.nameTextBox.Location = new System.Drawing.Point(456, 151);
|
|
|
+ this.nameTextBox.Name = "nameTextBox";
|
|
|
+ this.nameTextBox.Size = new System.Drawing.Size(154, 22);
|
|
|
+ this.nameTextBox.TabIndex = 54;
|
|
|
+ //
|
|
|
+ // famTextBox
|
|
|
+ //
|
|
|
+ this.famTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "fam", true));
|
|
|
+ this.famTextBox.Location = new System.Drawing.Point(456, 111);
|
|
|
+ this.famTextBox.Name = "famTextBox";
|
|
|
+ this.famTextBox.Size = new System.Drawing.Size(154, 22);
|
|
|
+ this.famTextBox.TabIndex = 53;
|
|
|
+ //
|
|
|
+ // t_numberMaskedTextBox
|
|
|
+ //
|
|
|
+ this.t_numberMaskedTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "t_number", true));
|
|
|
+ this.t_numberMaskedTextBox.Location = new System.Drawing.Point(456, 217);
|
|
|
+ this.t_numberMaskedTextBox.Mask = "+0(000) 000-00-00";
|
|
|
+ this.t_numberMaskedTextBox.Name = "t_numberMaskedTextBox";
|
|
|
+ this.t_numberMaskedTextBox.Size = new System.Drawing.Size(154, 22);
|
|
|
+ this.t_numberMaskedTextBox.TabIndex = 52;
|
|
|
+ //
|
|
|
+ // loginTextBox
|
|
|
+ //
|
|
|
+ this.loginTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "login", true));
|
|
|
+ this.loginTextBox.Location = new System.Drawing.Point(159, 110);
|
|
|
+ this.loginTextBox.Name = "loginTextBox";
|
|
|
+ this.loginTextBox.Size = new System.Drawing.Size(164, 22);
|
|
|
+ this.loginTextBox.TabIndex = 50;
|
|
|
+ //
|
|
|
+ // cbxShowPass
|
|
|
+ //
|
|
|
+ this.cbxShowPass.AutoSize = true;
|
|
|
+ this.cbxShowPass.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.cbxShowPass.Location = new System.Drawing.Point(12, 219);
|
|
|
+ this.cbxShowPass.Name = "cbxShowPass";
|
|
|
+ this.cbxShowPass.Size = new System.Drawing.Size(219, 20);
|
|
|
+ this.cbxShowPass.TabIndex = 49;
|
|
|
+ this.cbxShowPass.Text = "Показывать символы пароля";
|
|
|
+ this.cbxShowPass.UseVisualStyleBackColor = true;
|
|
|
+ this.cbxShowPass.CheckedChanged += new System.EventHandler(this.cbxShowPass_CheckedChanged);
|
|
|
+ //
|
|
|
+ // phoneLabel
|
|
|
+ //
|
|
|
+ phoneLabel.AutoSize = true;
|
|
|
+ phoneLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ phoneLabel.Location = new System.Drawing.Point(375, 217);
|
|
|
+ phoneLabel.Name = "phoneLabel";
|
|
|
+ phoneLabel.Size = new System.Drawing.Size(70, 16);
|
|
|
+ phoneLabel.TabIndex = 48;
|
|
|
+ phoneLabel.Text = "Телефон:";
|
|
|
+ //
|
|
|
+ // otchLabel
|
|
|
+ //
|
|
|
+ otchLabel.AutoSize = true;
|
|
|
+ otchLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ otchLabel.Location = new System.Drawing.Point(372, 186);
|
|
|
+ otchLabel.Name = "otchLabel";
|
|
|
+ otchLabel.Size = new System.Drawing.Size(73, 16);
|
|
|
+ otchLabel.TabIndex = 47;
|
|
|
+ otchLabel.Text = "Отчество:";
|
|
|
+ //
|
|
|
+ // nameLabel
|
|
|
+ //
|
|
|
+ nameLabel.AutoSize = true;
|
|
|
+ nameLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ nameLabel.Location = new System.Drawing.Point(409, 151);
|
|
|
+ nameLabel.Name = "nameLabel";
|
|
|
+ nameLabel.Size = new System.Drawing.Size(36, 16);
|
|
|
+ nameLabel.TabIndex = 46;
|
|
|
+ nameLabel.Text = "Имя:";
|
|
|
+ //
|
|
|
+ // famLabel
|
|
|
+ //
|
|
|
+ famLabel.AutoSize = true;
|
|
|
+ famLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ famLabel.Location = new System.Drawing.Point(376, 117);
|
|
|
+ famLabel.Name = "famLabel";
|
|
|
+ famLabel.Size = new System.Drawing.Size(69, 16);
|
|
|
+ famLabel.TabIndex = 45;
|
|
|
+ famLabel.Text = "Фамилия:";
|
|
|
+ //
|
|
|
+ // passLabel
|
|
|
+ //
|
|
|
+ passLabel.AutoSize = true;
|
|
|
+ passLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ passLabel.Location = new System.Drawing.Point(9, 149);
|
|
|
+ passLabel.Name = "passLabel";
|
|
|
+ passLabel.Size = new System.Drawing.Size(59, 16);
|
|
|
+ passLabel.TabIndex = 44;
|
|
|
+ passLabel.Text = "Пароль:";
|
|
|
+ //
|
|
|
+ // loginLabel
|
|
|
+ //
|
|
|
+ loginLabel.AutoSize = true;
|
|
|
+ loginLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ loginLabel.Location = new System.Drawing.Point(9, 114);
|
|
|
+ loginLabel.Name = "loginLabel";
|
|
|
+ loginLabel.Size = new System.Drawing.Size(49, 16);
|
|
|
+ loginLabel.TabIndex = 42;
|
|
|
+ loginLabel.Text = "Логин:";
|
|
|
+ //
|
|
|
+ // BtnCancel
|
|
|
+ //
|
|
|
+ this.BtnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
|
|
|
+ this.BtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
+ this.BtnCancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.BtnCancel.Location = new System.Drawing.Point(456, 283);
|
|
|
+ this.BtnCancel.Name = "BtnCancel";
|
|
|
+ this.BtnCancel.Size = new System.Drawing.Size(154, 28);
|
|
|
+ this.BtnCancel.TabIndex = 43;
|
|
|
+ this.BtnCancel.Text = "Отмена";
|
|
|
+ this.BtnCancel.UseVisualStyleBackColor = false;
|
|
|
+ //
|
|
|
+ // BtnReg
|
|
|
+ //
|
|
|
+ this.BtnReg.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
|
|
|
+ this.BtnReg.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.BtnReg.Location = new System.Drawing.Point(287, 283);
|
|
|
+ this.BtnReg.Name = "BtnReg";
|
|
|
+ this.BtnReg.Size = new System.Drawing.Size(163, 27);
|
|
|
+ this.BtnReg.TabIndex = 41;
|
|
|
+ this.BtnReg.Text = "Подтвердить";
|
|
|
+ this.BtnReg.UseVisualStyleBackColor = false;
|
|
|
+ this.BtnReg.Click += new System.EventHandler(this.BtnReg_Click);
|
|
|
+ //
|
|
|
+ // panel1
|
|
|
+ //
|
|
|
+ this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
|
|
|
+ this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
|
+ this.panel1.Controls.Add(this.label3);
|
|
|
+ this.panel1.Controls.Add(this.pbxLogo);
|
|
|
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
+ this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.panel1.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.panel1.Name = "panel1";
|
|
|
+ this.panel1.Size = new System.Drawing.Size(622, 102);
|
|
|
+ this.panel1.TabIndex = 40;
|
|
|
+ //
|
|
|
+ // label3
|
|
|
+ //
|
|
|
+ this.label3.AutoSize = true;
|
|
|
+ this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.label3.Location = new System.Drawing.Point(10, 34);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(361, 32);
|
|
|
+ this.label3.TabIndex = 2;
|
|
|
+ this.label3.Text = "СУБД \"Швейная фабрика\"";
|
|
|
+ //
|
|
|
+ // pbxLogo
|
|
|
+ //
|
|
|
+ this.pbxLogo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.pbxLogo.Image = global::СУБД_Швейная_фабрика.Properties.Resources.fabric_logo;
|
|
|
+ this.pbxLogo.Location = new System.Drawing.Point(473, 4);
|
|
|
+ this.pbxLogo.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.pbxLogo.Name = "pbxLogo";
|
|
|
+ this.pbxLogo.Size = new System.Drawing.Size(140, 90);
|
|
|
+ this.pbxLogo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
|
+ this.pbxLogo.TabIndex = 1;
|
|
|
+ this.pbxLogo.TabStop = false;
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ label1.AutoSize = true;
|
|
|
+ label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ label1.Location = new System.Drawing.Point(9, 180);
|
|
|
+ label1.Name = "label1";
|
|
|
+ label1.Size = new System.Drawing.Size(147, 16);
|
|
|
+ label1.TabIndex = 56;
|
|
|
+ label1.Text = "Подтвердить пароль:";
|
|
|
+ //
|
|
|
+ // TbxNewPass
|
|
|
+ //
|
|
|
+ this.TbxNewPass.Location = new System.Drawing.Point(159, 148);
|
|
|
+ this.TbxNewPass.Name = "TbxNewPass";
|
|
|
+ this.TbxNewPass.Size = new System.Drawing.Size(164, 22);
|
|
|
+ this.TbxNewPass.TabIndex = 57;
|
|
|
+ //
|
|
|
+ // TbxOldPass
|
|
|
+ //
|
|
|
+ this.TbxOldPass.Location = new System.Drawing.Point(159, 179);
|
|
|
+ this.TbxOldPass.Name = "TbxOldPass";
|
|
|
+ this.TbxOldPass.Size = new System.Drawing.Size(164, 22);
|
|
|
+ this.TbxOldPass.TabIndex = 58;
|
|
|
+ //
|
|
|
// FormProf
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(800, 453);
|
|
|
+ this.ClientSize = new System.Drawing.Size(622, 323);
|
|
|
+ this.Controls.Add(this.TbxOldPass);
|
|
|
+ this.Controls.Add(this.TbxNewPass);
|
|
|
+ this.Controls.Add(label1);
|
|
|
+ this.Controls.Add(this.otchTextBox);
|
|
|
+ this.Controls.Add(this.nameTextBox);
|
|
|
+ this.Controls.Add(this.famTextBox);
|
|
|
+ this.Controls.Add(this.t_numberMaskedTextBox);
|
|
|
+ this.Controls.Add(this.loginTextBox);
|
|
|
+ this.Controls.Add(this.cbxShowPass);
|
|
|
+ this.Controls.Add(phoneLabel);
|
|
|
+ this.Controls.Add(otchLabel);
|
|
|
+ this.Controls.Add(nameLabel);
|
|
|
+ this.Controls.Add(famLabel);
|
|
|
+ this.Controls.Add(passLabel);
|
|
|
+ this.Controls.Add(loginLabel);
|
|
|
+ this.Controls.Add(this.BtnCancel);
|
|
|
+ this.Controls.Add(this.BtnReg);
|
|
|
+ this.Controls.Add(this.panel1);
|
|
|
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
this.Name = "FormProf";
|
|
|
- this.Text = "FormProf";
|
|
|
+ this.Text = "Профиль пользователя";
|
|
|
this.Load += new System.EventHandler(this.FormProf_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.vdb_FabrikDataSet)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).EndInit();
|
|
|
+ this.panel1.ResumeLayout(false);
|
|
|
+ this.panel1.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pbxLogo)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -81,5 +331,18 @@
|
|
|
private Vdb_FabrikDataSetTableAdapters.usersTableAdapter usersTableAdapter;
|
|
|
private Vdb_FabrikDataSetTableAdapters.TableAdapterManager tableAdapterManager;
|
|
|
public System.Windows.Forms.BindingSource usersBindingSource;
|
|
|
+ private System.Windows.Forms.TextBox otchTextBox;
|
|
|
+ private System.Windows.Forms.TextBox nameTextBox;
|
|
|
+ private System.Windows.Forms.TextBox famTextBox;
|
|
|
+ private System.Windows.Forms.MaskedTextBox t_numberMaskedTextBox;
|
|
|
+ private System.Windows.Forms.TextBox loginTextBox;
|
|
|
+ private System.Windows.Forms.CheckBox cbxShowPass;
|
|
|
+ private System.Windows.Forms.Button BtnCancel;
|
|
|
+ private System.Windows.Forms.Button BtnReg;
|
|
|
+ private System.Windows.Forms.Panel panel1;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ private System.Windows.Forms.PictureBox pbxLogo;
|
|
|
+ private System.Windows.Forms.TextBox TbxNewPass;
|
|
|
+ private System.Windows.Forms.TextBox TbxOldPass;
|
|
|
}
|
|
|
}
|