|
@@ -29,21 +29,38 @@
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMen));
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
this.LblOtch = new System.Windows.Forms.Label();
|
|
|
+ this.BsUsers = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.sewingFactoryMURDataSet1 = new СУБД_Фабрика.SewingFactoryMURDataSet();
|
|
|
this.LblName = new System.Windows.Forms.Label();
|
|
|
this.LblFam = new System.Windows.Forms.Label();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
- this.sewingFactoryMURDataSet1 = new СУБД_Фабрика.SewingFactoryMURDataSet();
|
|
|
- this.BsUsers = new System.Windows.Forms.BindingSource(this.components);
|
|
|
this.usersTableAdapter = new СУБД_Фабрика.SewingFactoryMURDataSetTableAdapters.UsersTableAdapter();
|
|
|
this.BtnProfile = new System.Windows.Forms.Button();
|
|
|
+ this.izdeliaBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.izdeliaTableAdapter = new СУБД_Фабрика.SewingFactoryMURDataSetTableAdapters.IzdeliaTableAdapter();
|
|
|
+ this.tableAdapterManager = new СУБД_Фабрика.SewingFactoryMURDataSetTableAdapters.TableAdapterManager();
|
|
|
+ this.izdeliaDataGridView = new System.Windows.Forms.DataGridView();
|
|
|
+ this.BtnSave = new System.Windows.Forms.Button();
|
|
|
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.RbtWord = new System.Windows.Forms.RadioButton();
|
|
|
+ this.RbtCsV = new System.Windows.Forms.RadioButton();
|
|
|
+ this.BtnAll = new System.Windows.Forms.Button();
|
|
|
+ this.BtnSelected = new System.Windows.Forms.Button();
|
|
|
this.panel1.SuspendLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.sewingFactoryMURDataSet1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.BsUsers)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.sewingFactoryMURDataSet1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdeliaBindingSource)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdeliaDataGridView)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// panel1
|
|
@@ -59,7 +76,7 @@
|
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
|
|
|
this.panel1.Name = "panel1";
|
|
|
- this.panel1.Size = new System.Drawing.Size(531, 102);
|
|
|
+ this.panel1.Size = new System.Drawing.Size(448, 102);
|
|
|
this.panel1.TabIndex = 4;
|
|
|
//
|
|
|
// LblOtch
|
|
@@ -73,6 +90,16 @@
|
|
|
this.LblOtch.TabIndex = 4;
|
|
|
this.LblOtch.Text = "Otch";
|
|
|
//
|
|
|
+ // BsUsers
|
|
|
+ //
|
|
|
+ this.BsUsers.DataMember = "Users";
|
|
|
+ this.BsUsers.DataSource = this.sewingFactoryMURDataSet1;
|
|
|
+ //
|
|
|
+ // sewingFactoryMURDataSet1
|
|
|
+ //
|
|
|
+ this.sewingFactoryMURDataSet1.DataSetName = "SewingFactoryMURDataSet";
|
|
|
+ this.sewingFactoryMURDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
+ //
|
|
|
// LblName
|
|
|
//
|
|
|
this.LblName.AutoSize = true;
|
|
@@ -110,7 +137,7 @@
|
|
|
//
|
|
|
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
|
this.pictureBox1.Image = global::СУБД_Фабрика.Properties.Resources.fabric_logo;
|
|
|
- this.pictureBox1.Location = new System.Drawing.Point(425, 0);
|
|
|
+ this.pictureBox1.Location = new System.Drawing.Point(342, 0);
|
|
|
this.pictureBox1.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
|
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
|
this.pictureBox1.Size = new System.Drawing.Size(106, 102);
|
|
@@ -118,16 +145,6 @@
|
|
|
this.pictureBox1.TabIndex = 0;
|
|
|
this.pictureBox1.TabStop = false;
|
|
|
//
|
|
|
- // sewingFactoryMURDataSet1
|
|
|
- //
|
|
|
- this.sewingFactoryMURDataSet1.DataSetName = "SewingFactoryMURDataSet";
|
|
|
- this.sewingFactoryMURDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
- //
|
|
|
- // BsUsers
|
|
|
- //
|
|
|
- this.BsUsers.DataMember = "Users";
|
|
|
- this.BsUsers.DataSource = this.sewingFactoryMURDataSet1;
|
|
|
- //
|
|
|
// usersTableAdapter
|
|
|
//
|
|
|
this.usersTableAdapter.ClearBeforeFill = true;
|
|
@@ -143,12 +160,140 @@
|
|
|
this.BtnProfile.UseVisualStyleBackColor = false;
|
|
|
this.BtnProfile.Click += new System.EventHandler(this.BtnProfile_Click);
|
|
|
//
|
|
|
+ // izdeliaBindingSource
|
|
|
+ //
|
|
|
+ this.izdeliaBindingSource.DataMember = "Izdelia";
|
|
|
+ this.izdeliaBindingSource.DataSource = this.sewingFactoryMURDataSet1;
|
|
|
+ //
|
|
|
+ // izdeliaTableAdapter
|
|
|
+ //
|
|
|
+ this.izdeliaTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // tableAdapterManager
|
|
|
+ //
|
|
|
+ this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
|
|
|
+ this.tableAdapterManager.ClothTableAdapter = null;
|
|
|
+ this.tableAdapterManager.FurnituraTableAdapter = null;
|
|
|
+ this.tableAdapterManager.IzdeliaTableAdapter = this.izdeliaTableAdapter;
|
|
|
+ this.tableAdapterManager.OrdersTableAdapter = null;
|
|
|
+ this.tableAdapterManager.RolesTableAdapter = null;
|
|
|
+ this.tableAdapterManager.UpdateOrder = СУБД_Фабрика.SewingFactoryMURDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
|
|
+ this.tableAdapterManager.UsersTableAdapter = this.usersTableAdapter;
|
|
|
+ //
|
|
|
+ // izdeliaDataGridView
|
|
|
+ //
|
|
|
+ this.izdeliaDataGridView.AllowUserToResizeColumns = false;
|
|
|
+ this.izdeliaDataGridView.AutoGenerateColumns = false;
|
|
|
+ this.izdeliaDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
+ this.izdeliaDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
|
+ this.dataGridViewTextBoxColumn1,
|
|
|
+ this.dataGridViewTextBoxColumn2,
|
|
|
+ this.dataGridViewTextBoxColumn3,
|
|
|
+ this.dataGridViewTextBoxColumn4});
|
|
|
+ this.izdeliaDataGridView.DataSource = this.izdeliaBindingSource;
|
|
|
+ this.izdeliaDataGridView.Location = new System.Drawing.Point(47, 165);
|
|
|
+ this.izdeliaDataGridView.Name = "izdeliaDataGridView";
|
|
|
+ this.izdeliaDataGridView.Size = new System.Drawing.Size(349, 273);
|
|
|
+ this.izdeliaDataGridView.TabIndex = 20;
|
|
|
+ //
|
|
|
+ // BtnSave
|
|
|
+ //
|
|
|
+ this.BtnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.BtnSave.Location = new System.Drawing.Point(270, 111);
|
|
|
+ this.BtnSave.Name = "BtnSave";
|
|
|
+ this.BtnSave.Size = new System.Drawing.Size(166, 31);
|
|
|
+ this.BtnSave.TabIndex = 21;
|
|
|
+ this.BtnSave.Text = "Сохранить изменения";
|
|
|
+ this.BtnSave.UseVisualStyleBackColor = false;
|
|
|
+ this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click);
|
|
|
+ //
|
|
|
+ // dataGridViewTextBoxColumn1
|
|
|
+ //
|
|
|
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "IDIzd";
|
|
|
+ this.dataGridViewTextBoxColumn1.HeaderText = "IDIzd";
|
|
|
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
|
|
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
|
|
+ this.dataGridViewTextBoxColumn1.Visible = false;
|
|
|
+ //
|
|
|
+ // dataGridViewTextBoxColumn2
|
|
|
+ //
|
|
|
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "Title";
|
|
|
+ this.dataGridViewTextBoxColumn2.HeaderText = "Название";
|
|
|
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
|
|
+ //
|
|
|
+ // dataGridViewTextBoxColumn3
|
|
|
+ //
|
|
|
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "Lenght";
|
|
|
+ dataGridViewCellStyle1.Format = "N2";
|
|
|
+ dataGridViewCellStyle1.NullValue = null;
|
|
|
+ this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle1;
|
|
|
+ this.dataGridViewTextBoxColumn3.HeaderText = "Длина";
|
|
|
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
|
|
+ //
|
|
|
+ // dataGridViewTextBoxColumn4
|
|
|
+ //
|
|
|
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "Width";
|
|
|
+ dataGridViewCellStyle2.Format = "N2";
|
|
|
+ dataGridViewCellStyle2.NullValue = null;
|
|
|
+ this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
+ this.dataGridViewTextBoxColumn4.HeaderText = "Ширина";
|
|
|
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
|
|
+ //
|
|
|
+ // RbtWord
|
|
|
+ //
|
|
|
+ this.RbtWord.AutoSize = true;
|
|
|
+ this.RbtWord.Checked = true;
|
|
|
+ this.RbtWord.Location = new System.Drawing.Point(88, 459);
|
|
|
+ this.RbtWord.Name = "RbtWord";
|
|
|
+ this.RbtWord.Size = new System.Drawing.Size(72, 24);
|
|
|
+ this.RbtWord.TabIndex = 22;
|
|
|
+ this.RbtWord.TabStop = true;
|
|
|
+ this.RbtWord.Text = "В Word";
|
|
|
+ this.RbtWord.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // RbtCsV
|
|
|
+ //
|
|
|
+ this.RbtCsV.AutoSize = true;
|
|
|
+ this.RbtCsV.Location = new System.Drawing.Point(270, 459);
|
|
|
+ this.RbtCsV.Name = "RbtCsV";
|
|
|
+ this.RbtCsV.Size = new System.Drawing.Size(63, 24);
|
|
|
+ this.RbtCsV.TabIndex = 23;
|
|
|
+ this.RbtCsV.Text = "В Csv";
|
|
|
+ this.RbtCsV.UseVisualStyleBackColor = true;
|
|
|
+ //
|
|
|
+ // BtnAll
|
|
|
+ //
|
|
|
+ this.BtnAll.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.BtnAll.Location = new System.Drawing.Point(25, 499);
|
|
|
+ this.BtnAll.Name = "BtnAll";
|
|
|
+ this.BtnAll.Size = new System.Drawing.Size(148, 31);
|
|
|
+ this.BtnAll.TabIndex = 24;
|
|
|
+ this.BtnAll.Text = "Экспорт всех";
|
|
|
+ this.BtnAll.UseVisualStyleBackColor = false;
|
|
|
+ this.BtnAll.Click += new System.EventHandler(this.BtnAll_Click);
|
|
|
+ //
|
|
|
+ // BtnSelected
|
|
|
+ //
|
|
|
+ this.BtnSelected.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(156)))), ((int)(((byte)(26)))));
|
|
|
+ this.BtnSelected.Location = new System.Drawing.Point(270, 499);
|
|
|
+ this.BtnSelected.Name = "BtnSelected";
|
|
|
+ this.BtnSelected.Size = new System.Drawing.Size(151, 31);
|
|
|
+ this.BtnSelected.TabIndex = 25;
|
|
|
+ this.BtnSelected.Text = "Экспорт выделенных";
|
|
|
+ this.BtnSelected.UseVisualStyleBackColor = false;
|
|
|
+ //
|
|
|
// FormMen
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.BackColor = System.Drawing.Color.White;
|
|
|
- this.ClientSize = new System.Drawing.Size(531, 423);
|
|
|
+ this.ClientSize = new System.Drawing.Size(448, 578);
|
|
|
+ this.Controls.Add(this.BtnSelected);
|
|
|
+ this.Controls.Add(this.BtnAll);
|
|
|
+ this.Controls.Add(this.RbtCsV);
|
|
|
+ this.Controls.Add(this.RbtWord);
|
|
|
+ this.Controls.Add(this.BtnSave);
|
|
|
+ this.Controls.Add(this.izdeliaDataGridView);
|
|
|
this.Controls.Add(this.BtnProfile);
|
|
|
this.Controls.Add(this.panel1);
|
|
|
this.Font = new System.Drawing.Font("Arial Narrow", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
@@ -159,10 +304,13 @@
|
|
|
this.Load += new System.EventHandler(this.FormMen_Load);
|
|
|
this.panel1.ResumeLayout(false);
|
|
|
this.panel1.PerformLayout();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.sewingFactoryMURDataSet1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.BsUsers)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.sewingFactoryMURDataSet1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdeliaBindingSource)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.izdeliaDataGridView)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
@@ -178,5 +326,18 @@
|
|
|
private System.Windows.Forms.BindingSource BsUsers;
|
|
|
private SewingFactoryMURDataSetTableAdapters.UsersTableAdapter usersTableAdapter;
|
|
|
private System.Windows.Forms.Button BtnProfile;
|
|
|
+ private System.Windows.Forms.BindingSource izdeliaBindingSource;
|
|
|
+ private SewingFactoryMURDataSetTableAdapters.IzdeliaTableAdapter izdeliaTableAdapter;
|
|
|
+ private SewingFactoryMURDataSetTableAdapters.TableAdapterManager tableAdapterManager;
|
|
|
+ private System.Windows.Forms.DataGridView izdeliaDataGridView;
|
|
|
+ private System.Windows.Forms.Button BtnSave;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
|
|
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
|
|
+ private System.Windows.Forms.RadioButton RbtWord;
|
|
|
+ private System.Windows.Forms.RadioButton RbtCsV;
|
|
|
+ private System.Windows.Forms.Button BtnAll;
|
|
|
+ private System.Windows.Forms.Button BtnSelected;
|
|
|
}
|
|
|
}
|