コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label         id_matLabel;
     System.Windows.Forms.Label         label5;
     System.Windows.Forms.BindingSource outMaterialBindingSource;
     EMC1.DataSetEMC1 dataSetEMC1;
     this.jobBindingSource    = new System.Windows.Forms.BindingSource(this.components);
     this.sharedBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.label1                                         = new System.Windows.Forms.Label();
     this.dtp                                            = new System.Windows.Forms.DateTimePicker();
     this.label2                                         = new System.Windows.Forms.Label();
     this.label3                                         = new System.Windows.Forms.Label();
     this.cmbStorage                                     = new System.Windows.Forms.ComboBox();
     this.storageBindingSource                           = new System.Windows.Forms.BindingSource(this.components);
     this.btAdd                                          = new System.Windows.Forms.Button();
     this.btDelete                                       = new System.Windows.Forms.Button();
     this.label4                                         = new System.Windows.Forms.Label();
     this.txbCol                                         = new System.Windows.Forms.TextBox();
     this.outMateriasDataGridView                        = new System.Windows.Forms.DataGridView();
     this.name                                           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Количеество                                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.full_name                                      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.button1                                        = new System.Windows.Forms.Button();
     this.cmbMaterial                                    = new System.Windows.Forms.ComboBox();
     this.storedBindingSource                            = new System.Windows.Forms.BindingSource(this.components);
     this.cmbJob                                         = new System.Windows.Forms.ComboBox();
     this.button2                                        = new System.Windows.Forms.Button();
     this.label6                                         = new System.Windows.Forms.Label();
     this.jobTableAdapter                                = new EMC1.DataSetEMC1TableAdapters.JobTableAdapter();
     this.outMaterialTableAdapter                        = new EMC1.DataSetEMC1TableAdapters.OutMaterialTableAdapter();
     this.storageTableAdapter                            = new EMC1.DataSetEMC1TableAdapters.StorageTableAdapter();
     this.storedTableAdapter                             = new EMC1.DataSetEMC1TableAdapters.StoredTableAdapter();
     this.idDataGridViewTextBoxColumn                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dateDataGridViewTextBoxColumn                  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.materialIdDataGridViewTextBoxColumn            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.countDataGridViewTextBoxColumn                 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.storemanIdDataGridViewTextBoxColumn            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.jobIdDataGridViewTextBoxColumn                 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.storageIdDataGridViewTextBoxColumn             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.recipientIdDataGridViewTextBoxColumn           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.materialNameDataGridViewTextBoxColumn          = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.materialUnitShortNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     id_matLabel                                         = new System.Windows.Forms.Label();
     label5 = new System.Windows.Forms.Label();
     outMaterialBindingSource = new System.Windows.Forms.BindingSource(this.components);
     dataSetEMC1 = new EMC1.DataSetEMC1();
     ((System.ComponentModel.ISupportInitialize)(outMaterialBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.jobBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sharedBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.storageBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.outMateriasDataGridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.storedBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // id_matLabel
     //
     id_matLabel.AutoSize = true;
     id_matLabel.Location = new System.Drawing.Point(19, 137);
     id_matLabel.Name     = "id_matLabel";
     id_matLabel.Size     = new System.Drawing.Size(60, 13);
     id_matLabel.TabIndex = 11;
     id_matLabel.Text     = "Материал:";
     //
     // label5
     //
     label5.AutoSize = true;
     label5.Location = new System.Drawing.Point(27, 182);
     label5.Name     = "label5";
     label5.Size     = new System.Drawing.Size(52, 13);
     label5.TabIndex = 20;
     label5.Text     = "Остатки:";
     //
     // outMaterialBindingSource
     //
     outMaterialBindingSource.DataMember = "FK_OutMaterial_Job";
     outMaterialBindingSource.DataSource = this.jobBindingSource;
     //
     // jobBindingSource
     //
     this.jobBindingSource.DataMember = "Job";
     this.jobBindingSource.DataSource = this.sharedBindingSource;
     //
     // sharedBindingSource
     //
     this.sharedBindingSource.DataSource = dataSetEMC1;
     this.sharedBindingSource.Position   = 0;
     //
     // dataSetEMC1
     //
     dataSetEMC1.DataSetName             = "DataSetEMC1";
     dataSetEMC1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(43, 21);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(36, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Дата:";
     //
     // dtp
     //
     this.dtp.Location = new System.Drawing.Point(85, 20);
     this.dtp.Name     = "dtp";
     this.dtp.Size     = new System.Drawing.Size(121, 20);
     this.dtp.TabIndex = 1;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(37, 59);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(42, 13);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Наряд:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(40, 98);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(41, 13);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Склад:";
     //
     // cmbStorage
     //
     this.cmbStorage.DataSource        = this.storageBindingSource;
     this.cmbStorage.DisplayMember     = "Name";
     this.cmbStorage.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbStorage.FormattingEnabled = true;
     this.cmbStorage.Location          = new System.Drawing.Point(85, 95);
     this.cmbStorage.Name        = "cmbStorage";
     this.cmbStorage.Size        = new System.Drawing.Size(121, 21);
     this.cmbStorage.TabIndex    = 5;
     this.cmbStorage.ValueMember = "Id";
     //
     // storageBindingSource
     //
     this.storageBindingSource.DataMember = "Storage";
     this.storageBindingSource.DataSource = this.sharedBindingSource;
     //
     // btAdd
     //
     this.btAdd.Image      = global::EMC1.Properties.Resources.add;
     this.btAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btAdd.Location   = new System.Drawing.Point(235, 21);
     this.btAdd.Name       = "btAdd";
     this.btAdd.Size       = new System.Drawing.Size(95, 23);
     this.btAdd.TabIndex   = 6;
     this.btAdd.Text       = "Добавить";
     this.btAdd.UseVisualStyleBackColor = true;
     this.btAdd.Click += new System.EventHandler(this.btOut_Click);
     //
     // btDelete
     //
     this.btDelete.Image      = global::EMC1.Properties.Resources.remove;
     this.btDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btDelete.Location   = new System.Drawing.Point(235, 59);
     this.btDelete.Name       = "btDelete";
     this.btDelete.Size       = new System.Drawing.Size(95, 23);
     this.btDelete.TabIndex   = 7;
     this.btDelete.Text       = "Удалить";
     this.btDelete.UseVisualStyleBackColor = true;
     this.btDelete.Click += new System.EventHandler(this.btDelete_Click);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(10, 216);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(69, 13);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Количество:";
     //
     // txbCol
     //
     this.txbCol.Location = new System.Drawing.Point(85, 213);
     this.txbCol.Name     = "txbCol";
     this.txbCol.Size     = new System.Drawing.Size(121, 20);
     this.txbCol.TabIndex = 9;
     //
     // outMateriasDataGridView
     //
     this.outMateriasDataGridView.AllowUserToAddRows          = false;
     this.outMateriasDataGridView.AllowUserToDeleteRows       = false;
     this.outMateriasDataGridView.AutoGenerateColumns         = false;
     this.outMateriasDataGridView.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.outMateriasDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.outMateriasDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.name,
         this.Количеество,
         this.full_name,
         this.idDataGridViewTextBoxColumn,
         this.dateDataGridViewTextBoxColumn,
         this.materialIdDataGridViewTextBoxColumn,
         this.countDataGridViewTextBoxColumn,
         this.storemanIdDataGridViewTextBoxColumn,
         this.jobIdDataGridViewTextBoxColumn,
         this.storageIdDataGridViewTextBoxColumn,
         this.recipientIdDataGridViewTextBoxColumn,
         this.materialNameDataGridViewTextBoxColumn,
         this.materialUnitShortNameDataGridViewTextBoxColumn
     });
     this.outMateriasDataGridView.DataSource    = outMaterialBindingSource;
     this.outMateriasDataGridView.Location      = new System.Drawing.Point(361, 20);
     this.outMateriasDataGridView.Name          = "outMateriasDataGridView";
     this.outMateriasDataGridView.ReadOnly      = true;
     this.outMateriasDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.outMateriasDataGridView.Size          = new System.Drawing.Size(413, 220);
     this.outMateriasDataGridView.TabIndex      = 11;
     //
     // name
     //
     this.name.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.name.DataPropertyName = "MaterialName";
     this.name.Frozen           = true;
     this.name.HeaderText       = "Материал";
     this.name.Name             = "name";
     this.name.ReadOnly         = true;
     //
     // Количеество
     //
     this.Количеество.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.Количеество.DataPropertyName = "Count";
     this.Количеество.Frozen           = true;
     this.Количеество.HeaderText       = "Кол-во";
     this.Количеество.Name             = "Количеество";
     this.Количеество.ReadOnly         = true;
     //
     // full_name
     //
     this.full_name.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
     this.full_name.DataPropertyName = "MaterialUnitShortName";
     this.full_name.Frozen           = true;
     this.full_name.HeaderText       = "ед. изм. ";
     this.full_name.Name             = "full_name";
     this.full_name.ReadOnly         = true;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(715, 350);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(59, 23);
     this.button1.TabIndex = 13;
     this.button1.Text     = "Закрыть";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // cmbMaterial
     //
     this.cmbMaterial.DataSource        = this.storedBindingSource;
     this.cmbMaterial.DisplayMember     = "MaterialName";
     this.cmbMaterial.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbMaterial.FormattingEnabled = true;
     this.cmbMaterial.Location          = new System.Drawing.Point(86, 137);
     this.cmbMaterial.Name        = "cmbMaterial";
     this.cmbMaterial.Size        = new System.Drawing.Size(121, 21);
     this.cmbMaterial.TabIndex    = 18;
     this.cmbMaterial.ValueMember = "MaterialId";
     //
     // storedBindingSource
     //
     this.storedBindingSource.DataMember = "FK_Stored_Storage";
     this.storedBindingSource.DataSource = this.storageBindingSource;
     //
     // cmbJob
     //
     this.cmbJob.DataSource        = this.jobBindingSource;
     this.cmbJob.DisplayMember     = "Id";
     this.cmbJob.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbJob.FormattingEnabled = true;
     this.cmbJob.Location          = new System.Drawing.Point(85, 56);
     this.cmbJob.Name        = "cmbJob";
     this.cmbJob.Size        = new System.Drawing.Size(121, 21);
     this.cmbJob.TabIndex    = 22;
     this.cmbJob.ValueMember = "Id";
     //
     // button2
     //
     this.button2.Image      = global::EMC1.Properties.Resources.save_16;
     this.button2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.button2.Location   = new System.Drawing.Point(608, 350);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(101, 23);
     this.button2.TabIndex   = 23;
     this.button2.Text       = "Сохранить";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.storedBindingSource, "BalanceStr", true));
     this.label6.Location = new System.Drawing.Point(85, 182);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(13, 13);
     this.label6.TabIndex = 24;
     this.label6.Text     = "0";
     //
     // jobTableAdapter
     //
     this.jobTableAdapter.ClearBeforeFill = true;
     //
     // outMaterialTableAdapter
     //
     this.outMaterialTableAdapter.ClearBeforeFill = true;
     //
     // storageTableAdapter
     //
     this.storageTableAdapter.ClearBeforeFill = true;
     //
     // storedTableAdapter
     //
     this.storedTableAdapter.ClearBeforeFill = true;
     //
     // idDataGridViewTextBoxColumn
     //
     this.idDataGridViewTextBoxColumn.DataPropertyName = "Id";
     this.idDataGridViewTextBoxColumn.HeaderText       = "Id";
     this.idDataGridViewTextBoxColumn.Name             = "idDataGridViewTextBoxColumn";
     this.idDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // dateDataGridViewTextBoxColumn
     //
     this.dateDataGridViewTextBoxColumn.DataPropertyName = "Date";
     this.dateDataGridViewTextBoxColumn.HeaderText       = "Date";
     this.dateDataGridViewTextBoxColumn.Name             = "dateDataGridViewTextBoxColumn";
     this.dateDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // materialIdDataGridViewTextBoxColumn
     //
     this.materialIdDataGridViewTextBoxColumn.DataPropertyName = "MaterialId";
     this.materialIdDataGridViewTextBoxColumn.HeaderText       = "MaterialId";
     this.materialIdDataGridViewTextBoxColumn.Name             = "materialIdDataGridViewTextBoxColumn";
     this.materialIdDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // countDataGridViewTextBoxColumn
     //
     this.countDataGridViewTextBoxColumn.DataPropertyName = "Count";
     this.countDataGridViewTextBoxColumn.HeaderText       = "Count";
     this.countDataGridViewTextBoxColumn.Name             = "countDataGridViewTextBoxColumn";
     this.countDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // storemanIdDataGridViewTextBoxColumn
     //
     this.storemanIdDataGridViewTextBoxColumn.DataPropertyName = "StoremanId";
     this.storemanIdDataGridViewTextBoxColumn.HeaderText       = "StoremanId";
     this.storemanIdDataGridViewTextBoxColumn.Name             = "storemanIdDataGridViewTextBoxColumn";
     this.storemanIdDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // jobIdDataGridViewTextBoxColumn
     //
     this.jobIdDataGridViewTextBoxColumn.DataPropertyName = "JobId";
     this.jobIdDataGridViewTextBoxColumn.HeaderText       = "JobId";
     this.jobIdDataGridViewTextBoxColumn.Name             = "jobIdDataGridViewTextBoxColumn";
     this.jobIdDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // storageIdDataGridViewTextBoxColumn
     //
     this.storageIdDataGridViewTextBoxColumn.DataPropertyName = "StorageId";
     this.storageIdDataGridViewTextBoxColumn.HeaderText       = "StorageId";
     this.storageIdDataGridViewTextBoxColumn.Name             = "storageIdDataGridViewTextBoxColumn";
     this.storageIdDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // recipientIdDataGridViewTextBoxColumn
     //
     this.recipientIdDataGridViewTextBoxColumn.DataPropertyName = "RecipientId";
     this.recipientIdDataGridViewTextBoxColumn.HeaderText       = "RecipientId";
     this.recipientIdDataGridViewTextBoxColumn.Name             = "recipientIdDataGridViewTextBoxColumn";
     this.recipientIdDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // materialNameDataGridViewTextBoxColumn
     //
     this.materialNameDataGridViewTextBoxColumn.DataPropertyName = "MaterialName";
     this.materialNameDataGridViewTextBoxColumn.HeaderText       = "MaterialName";
     this.materialNameDataGridViewTextBoxColumn.Name             = "materialNameDataGridViewTextBoxColumn";
     this.materialNameDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // materialUnitShortNameDataGridViewTextBoxColumn
     //
     this.materialUnitShortNameDataGridViewTextBoxColumn.DataPropertyName = "MaterialUnitShortName";
     this.materialUnitShortNameDataGridViewTextBoxColumn.HeaderText       = "MaterialUnitShortName";
     this.materialUnitShortNameDataGridViewTextBoxColumn.Name             = "materialUnitShortNameDataGridViewTextBoxColumn";
     this.materialUnitShortNameDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // MatOut
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(806, 397);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.cmbJob);
     this.Controls.Add(label5);
     this.Controls.Add(this.cmbMaterial);
     this.Controls.Add(this.button1);
     this.Controls.Add(id_matLabel);
     this.Controls.Add(this.outMateriasDataGridView);
     this.Controls.Add(this.txbCol);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.btDelete);
     this.Controls.Add(this.btAdd);
     this.Controls.Add(this.cmbStorage);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.dtp);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "MatOut";
     this.Text            = "Выдача материала";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.MatOut_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(outMaterialBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.jobBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sharedBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.storageBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.outMateriasDataGridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.storedBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     EMC1.DataSetEMC1 dataSetEMC1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddUser));
     this.btEnter               = new System.Windows.Forms.Button();
     this.txbPWD                = new System.Windows.Forms.TextBox();
     this.label2                = new System.Windows.Forms.Label();
     this.label1                = new System.Windows.Forms.Label();
     this.txbLogin              = new System.Windows.Forms.TextBox();
     this.tbPWD2                = new System.Windows.Forms.TextBox();
     this.label3                = new System.Windows.Forms.Label();
     this.label4                = new System.Windows.Forms.Label();
     this.cbEmployee            = new System.Windows.Forms.ComboBox();
     this.button1               = new System.Windows.Forms.Button();
     this.employeeBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.pictureBox1           = new System.Windows.Forms.PictureBox();
     dataSetEMC1                = new EMC1.DataSetEMC1();
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeeBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // btEnter
     //
     this.btEnter.BackColor = System.Drawing.Color.MidnightBlue;
     this.btEnter.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.btEnter.ForeColor = System.Drawing.SystemColors.ButtonFace;
     this.btEnter.Location  = new System.Drawing.Point(12, 226);
     this.btEnter.Name      = "btEnter";
     this.btEnter.Size      = new System.Drawing.Size(173, 23);
     this.btEnter.TabIndex  = 11;
     this.btEnter.Text      = "Сохранить";
     this.btEnter.UseVisualStyleBackColor = false;
     this.btEnter.Click += new System.EventHandler(this.btEnter_Click);
     //
     // txbPWD
     //
     this.txbPWD.Location     = new System.Drawing.Point(84, 81);
     this.txbPWD.Name         = "txbPWD";
     this.txbPWD.PasswordChar = '*';
     this.txbPWD.Size         = new System.Drawing.Size(121, 20);
     this.txbPWD.TabIndex     = 10;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label2.Location = new System.Drawing.Point(3, 84);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(55, 13);
     this.label2.TabIndex = 9;
     this.label2.Text     = "Пароль:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label1.Location = new System.Drawing.Point(3, 51);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(47, 13);
     this.label1.TabIndex = 8;
     this.label1.Text     = "Логин:";
     //
     // txbLogin
     //
     this.txbLogin.Location = new System.Drawing.Point(84, 48);
     this.txbLogin.Name     = "txbLogin";
     this.txbLogin.Size     = new System.Drawing.Size(121, 20);
     this.txbLogin.TabIndex = 7;
     //
     // tbPWD2
     //
     this.tbPWD2.Location     = new System.Drawing.Point(84, 114);
     this.tbPWD2.Name         = "tbPWD2";
     this.tbPWD2.PasswordChar = '*';
     this.tbPWD2.Size         = new System.Drawing.Size(121, 20);
     this.tbPWD2.TabIndex     = 14;
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label3.Location = new System.Drawing.Point(3, 116);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(75, 33);
     this.label3.TabIndex = 13;
     this.label3.Text     = "Повторить пароль:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.label4.Location = new System.Drawing.Point(3, 17);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(67, 13);
     this.label4.TabIndex = 15;
     this.label4.Text     = "Работник:";
     this.label4.Click   += new System.EventHandler(this.label4_Click);
     //
     // cbEmployee
     //
     this.cbEmployee.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.employeeBindingSource, "FullName", true));
     this.cbEmployee.DataSource        = this.employeeBindingSource;
     this.cbEmployee.DisplayMember     = "FullName";
     this.cbEmployee.FormattingEnabled = true;
     this.cbEmployee.Location          = new System.Drawing.Point(84, 14);
     this.cbEmployee.Name        = "cbEmployee";
     this.cbEmployee.Size        = new System.Drawing.Size(121, 21);
     this.cbEmployee.TabIndex    = 16;
     this.cbEmployee.ValueMember = "Id";
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.MidnightBlue;
     this.button1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.button1.ForeColor = System.Drawing.SystemColors.ButtonFace;
     this.button1.Location  = new System.Drawing.Point(231, 226);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(173, 23);
     this.button1.TabIndex  = 17;
     this.button1.Text      = "Закрыть";
     this.button1.UseVisualStyleBackColor = false;
     //
     // dataSetEMC1
     //
     dataSetEMC1.DataSetName             = "DataSetEMC1";
     dataSetEMC1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // employeeBindingSource
     //
     this.employeeBindingSource.DataMember = "Employee";
     this.employeeBindingSource.DataSource = dataSetEMC1;
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
     this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pictureBox1.Location = new System.Drawing.Point(261, 12);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(143, 103);
     this.pictureBox1.TabIndex = 12;
     this.pictureBox1.TabStop  = false;
     //
     // AddUser
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(416, 261);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.cbEmployee);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.tbPWD2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.btEnter);
     this.Controls.Add(this.txbPWD);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txbLogin);
     this.Name  = "AddUser";
     this.Text  = "Добавить пользователя";
     this.Load += new System.EventHandler(this.AddUser_Load);
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.employeeBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     EMC1.DataSetEMC1 dataSetEMC1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GiveJob));
     this.label1  = new System.Windows.Forms.Label();
     this.dtp     = new System.Windows.Forms.DateTimePicker();
     this.label3  = new System.Windows.Forms.Label();
     this.cmbJobs = new System.Windows.Forms.ComboBox();
     this.jobTypeBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.sharedDataSource     = new System.Windows.Forms.BindingSource(this.components);
     this.jobTypeTableAdapter  = new EMC1.DataSetEMC1TableAdapters.JobTypeTableAdapter();
     this.btOk     = new System.Windows.Forms.Button();
     this.btCancel = new System.Windows.Forms.Button();
     this.label4   = new System.Windows.Forms.Label();
     this.cmbEmpl  = new System.Windows.Forms.ComboBox();
     this.employessBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.employeTableAdapter    = new EMC1.DataSetEMC1TableAdapters.EmployeTableAdapter();
     this.label5      = new System.Windows.Forms.Label();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     dataSetEMC1      = new EMC1.DataSetEMC1();
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.jobTypeBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sharedDataSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.employessBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // dataSetEMC1
     //
     dataSetEMC1.DataSetName             = "DataSetEMC1";
     dataSetEMC1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(26, 25);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(36, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Дата:";
     //
     // dtp
     //
     this.dtp.Location = new System.Drawing.Point(82, 19);
     this.dtp.Name     = "dtp";
     this.dtp.Size     = new System.Drawing.Size(180, 20);
     this.dtp.TabIndex = 1;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(14, 66);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(69, 13);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Вид работы:";
     //
     // cmbJobs
     //
     this.cmbJobs.DataSource        = this.jobTypeBindingSource;
     this.cmbJobs.DisplayMember     = "Name";
     this.cmbJobs.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbJobs.FormattingEnabled = true;
     this.cmbJobs.Location          = new System.Drawing.Point(82, 63);
     this.cmbJobs.Name        = "cmbJobs";
     this.cmbJobs.Size        = new System.Drawing.Size(180, 21);
     this.cmbJobs.TabIndex    = 5;
     this.cmbJobs.ValueMember = "Id";
     //
     // jobTypeBindingSource
     //
     this.jobTypeBindingSource.DataMember = "JobType";
     this.jobTypeBindingSource.DataSource = this.sharedDataSource;
     //
     // sharedDataSource
     //
     this.sharedDataSource.DataSource = dataSetEMC1;
     this.sharedDataSource.Position   = 0;
     //
     // jobTypeTableAdapter
     //
     this.jobTypeTableAdapter.ClearBeforeFill = true;
     //
     // btOk
     //
     this.btOk.Location = new System.Drawing.Point(178, 154);
     this.btOk.Name     = "btOk";
     this.btOk.Size     = new System.Drawing.Size(71, 23);
     this.btOk.TabIndex = 6;
     this.btOk.Text     = "Сохранить";
     this.btOk.UseVisualStyleBackColor = true;
     this.btOk.Click += new System.EventHandler(this.btOk_Click);
     //
     // btCancel
     //
     this.btCancel.Location = new System.Drawing.Point(82, 154);
     this.btCancel.Name     = "btCancel";
     this.btCancel.Size     = new System.Drawing.Size(77, 23);
     this.btCancel.TabIndex = 7;
     this.btCancel.Text     = "Отмена";
     this.btCancel.UseVisualStyleBackColor = true;
     this.btCancel.Click += new System.EventHandler(this.btCancel_Click);
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(16, 104);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(58, 13);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Бригадир:";
     //
     // cmbEmpl
     //
     this.cmbEmpl.DataSource        = this.employessBindingSource;
     this.cmbEmpl.DisplayMember     = "FullName";
     this.cmbEmpl.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbEmpl.FormattingEnabled = true;
     this.cmbEmpl.Location          = new System.Drawing.Point(82, 104);
     this.cmbEmpl.Name        = "cmbEmpl";
     this.cmbEmpl.Size        = new System.Drawing.Size(180, 21);
     this.cmbEmpl.TabIndex    = 9;
     this.cmbEmpl.ValueMember = "Id";
     //
     // employessBindingSource
     //
     this.employessBindingSource.DataMember = "Employee";
     this.employessBindingSource.DataSource = this.sharedDataSource;
     //
     // employeTableAdapter
     //
     this.employeTableAdapter.ClearBeforeFill = true;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(19, 159);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(0, 13);
     this.label5.TabIndex = 10;
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
     this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.pictureBox1.Location = new System.Drawing.Point(280, 40);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(161, 137);
     this.pictureBox1.TabIndex = 11;
     this.pictureBox1.TabStop  = false;
     //
     // GiveJob
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(451, 193);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.cmbEmpl);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.btCancel);
     this.Controls.Add(this.btOk);
     this.Controls.Add(this.cmbJobs);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.dtp);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "GiveJob";
     this.Text            = "Задание";
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.jobTypeBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sharedDataSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.employessBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     EMC1.DataSetEMC1 dataSetEMC11;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(edit_spr));
     this.employessBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.sharedDataSource       = new System.Windows.Forms.BindingSource(this.components);
     this.contrBindingSource     = new System.Windows.Forms.BindingSource(this.components);
     this.storageBindingSource   = new System.Windows.Forms.BindingSource(this.components);
     this.materialBindingSource  = new System.Windows.Forms.BindingSource(this.components);
     this.jobTypeBindingSource   = new System.Windows.Forms.BindingSource(this.components);
     this.employeeTableAdapter   = new EMC1.DataSetEMC1TableAdapters.EmployeTableAdapter();
     this.contrTableAdapter      = new EMC1.DataSetEMC1TableAdapters.ContrTableAdapter();
     this.storageTableAdapter    = new EMC1.DataSetEMC1TableAdapters.StorageTableAdapter();
     this.materialTableAdapter   = new EMC1.DataSetEMC1TableAdapters.MaterialTableAdapter();
     this.jobTypeTableAdapter    = new EMC1.DataSetEMC1TableAdapters.JobTypeTableAdapter();
     this.jobs          = new System.Windows.Forms.TabPage();
     this.dataGridView5 = new System.Windows.Forms.DataGridView();
     this.nameDataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.material      = new System.Windows.Forms.TabPage();
     this.dataGridView4 = new System.Windows.Forms.DataGridView();
     this.nameDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ed_izm             = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.eDIZMBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.storage            = new System.Windows.Forms.TabPage();
     this.dataGridView3      = new System.Windows.Forms.DataGridView();
     this.emp = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.nameDataGridViewTextBoxColumn1  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.cityDataGridViewTextBoxColumn   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.streetDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.phoneDataGridViewTextBoxColumn  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.kontr         = new System.Windows.Forms.TabPage();
     this.dataGridView2 = new System.Windows.Forms.DataGridView();
     this.nameDataGridViewTextBoxColumn        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.telefoneDataGridViewTextBoxColumn1   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.adressDataGridViewTextBoxColumn      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.contactnameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.employess     = new System.Windows.Forms.TabPage();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.staffDataGridViewTextBoxColumn    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fioDataGridViewTextBoxColumn      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.telefoneDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabControl1      = new System.Windows.Forms.TabControl();
     this.tpEdIzm          = new System.Windows.Forms.TabPage();
     this.dataGridView6    = new System.Windows.Forms.DataGridView();
     this.ShortName        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FullName         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.button1          = new System.Windows.Forms.Button();
     this.unitTableAdapter = new EMC1.DataSetEMC1TableAdapters.UnitTableAdapter();
     this.shortNameDataGridViewTextBoxColumn  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.idDataGridViewTextBoxColumn         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.shortNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fullNameDataGridViewTextBoxColumn   = new System.Windows.Forms.DataGridViewTextBoxColumn();
     dataSetEMC11 = new EMC1.DataSetEMC1();
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.employessBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sharedDataSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.contrBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.storageBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.materialBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.jobTypeBindingSource)).BeginInit();
     this.jobs.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView5)).BeginInit();
     this.material.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.eDIZMBindingSource)).BeginInit();
     this.storage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
     this.kontr.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
     this.employess.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tpEdIzm.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView6)).BeginInit();
     this.SuspendLayout();
     //
     // dataSetEMC11
     //
     dataSetEMC11.DataSetName             = "DataSetEMC1";
     dataSetEMC11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // employessBindingSource
     //
     this.employessBindingSource.DataMember = "Employee";
     this.employessBindingSource.DataSource = this.sharedDataSource;
     //
     // sharedDataSource
     //
     this.sharedDataSource.DataSource = dataSetEMC11;
     this.sharedDataSource.Position   = 0;
     //
     // contrBindingSource
     //
     this.contrBindingSource.DataMember = "Contr";
     this.contrBindingSource.DataSource = this.sharedDataSource;
     //
     // storageBindingSource
     //
     this.storageBindingSource.DataMember = "Storage";
     this.storageBindingSource.DataSource = this.sharedDataSource;
     //
     // materialBindingSource
     //
     this.materialBindingSource.DataMember = "Material";
     this.materialBindingSource.DataSource = this.sharedDataSource;
     //
     // jobTypeBindingSource
     //
     this.jobTypeBindingSource.DataMember = "JobType";
     this.jobTypeBindingSource.DataSource = this.sharedDataSource;
     //
     // employeeTableAdapter
     //
     this.employeeTableAdapter.ClearBeforeFill = true;
     //
     // contrTableAdapter
     //
     this.contrTableAdapter.ClearBeforeFill = true;
     //
     // storageTableAdapter
     //
     this.storageTableAdapter.ClearBeforeFill = true;
     //
     // materialTableAdapter
     //
     this.materialTableAdapter.ClearBeforeFill = true;
     //
     // jobTypeTableAdapter
     //
     this.jobTypeTableAdapter.ClearBeforeFill = true;
     //
     // jobs
     //
     this.jobs.Controls.Add(this.dataGridView5);
     this.jobs.Location = new System.Drawing.Point(4, 22);
     this.jobs.Name     = "jobs";
     this.jobs.Padding  = new System.Windows.Forms.Padding(3);
     this.jobs.Size     = new System.Drawing.Size(559, 355);
     this.jobs.TabIndex = 4;
     this.jobs.Text     = "Виды работ";
     this.jobs.UseVisualStyleBackColor = true;
     //
     // dataGridView5
     //
     this.dataGridView5.AutoGenerateColumns         = false;
     this.dataGridView5.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView5.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.nameDataGridViewTextBoxColumn3
     });
     this.dataGridView5.DataSource = this.jobTypeBindingSource;
     this.dataGridView5.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView5.Location   = new System.Drawing.Point(3, 3);
     this.dataGridView5.Name       = "dataGridView5";
     this.dataGridView5.Size       = new System.Drawing.Size(553, 349);
     this.dataGridView5.TabIndex   = 0;
     //
     // nameDataGridViewTextBoxColumn3
     //
     this.nameDataGridViewTextBoxColumn3.DataPropertyName = "Name";
     this.nameDataGridViewTextBoxColumn3.HeaderText       = "Тип работы";
     this.nameDataGridViewTextBoxColumn3.Name             = "nameDataGridViewTextBoxColumn3";
     //
     // material
     //
     this.material.Controls.Add(this.dataGridView4);
     this.material.Location = new System.Drawing.Point(4, 22);
     this.material.Name     = "material";
     this.material.Padding  = new System.Windows.Forms.Padding(3);
     this.material.Size     = new System.Drawing.Size(559, 355);
     this.material.TabIndex = 3;
     this.material.Text     = "Материалы";
     this.material.UseVisualStyleBackColor = true;
     //
     // dataGridView4
     //
     this.dataGridView4.AutoGenerateColumns         = false;
     this.dataGridView4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.nameDataGridViewTextBoxColumn2,
         this.ed_izm
     });
     this.dataGridView4.DataSource = this.materialBindingSource;
     this.dataGridView4.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView4.Location   = new System.Drawing.Point(3, 3);
     this.dataGridView4.Name       = "dataGridView4";
     this.dataGridView4.Size       = new System.Drawing.Size(553, 349);
     this.dataGridView4.TabIndex   = 0;
     //
     // nameDataGridViewTextBoxColumn2
     //
     this.nameDataGridViewTextBoxColumn2.DataPropertyName = "Name";
     this.nameDataGridViewTextBoxColumn2.HeaderText       = "Название";
     this.nameDataGridViewTextBoxColumn2.Name             = "nameDataGridViewTextBoxColumn2";
     //
     // ed_izm
     //
     this.ed_izm.DataPropertyName = "UnitId";
     this.ed_izm.DataSource       = this.eDIZMBindingSource;
     this.ed_izm.DisplayMember    = "ShortName";
     this.ed_izm.HeaderText       = "ед.";
     this.ed_izm.Name             = "ed_izm";
     this.ed_izm.ValueMember      = "Id";
     //
     // eDIZMBindingSource
     //
     this.eDIZMBindingSource.DataMember = "Unit";
     this.eDIZMBindingSource.DataSource = this.sharedDataSource;
     //
     // storage
     //
     this.storage.Controls.Add(this.dataGridView3);
     this.storage.Location = new System.Drawing.Point(4, 22);
     this.storage.Name     = "storage";
     this.storage.Padding  = new System.Windows.Forms.Padding(3);
     this.storage.Size     = new System.Drawing.Size(559, 355);
     this.storage.TabIndex = 2;
     this.storage.Text     = "Склады";
     this.storage.UseVisualStyleBackColor = true;
     //
     // dataGridView3
     //
     this.dataGridView3.AutoGenerateColumns         = false;
     this.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.emp,
         this.nameDataGridViewTextBoxColumn1,
         this.cityDataGridViewTextBoxColumn,
         this.streetDataGridViewTextBoxColumn,
         this.phoneDataGridViewTextBoxColumn
     });
     this.dataGridView3.DataSource = this.storageBindingSource;
     this.dataGridView3.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView3.Location   = new System.Drawing.Point(3, 3);
     this.dataGridView3.Name       = "dataGridView3";
     this.dataGridView3.Size       = new System.Drawing.Size(553, 349);
     this.dataGridView3.TabIndex   = 0;
     //
     // emp
     //
     this.emp.DataPropertyName = "StoremanId";
     this.emp.DataSource       = this.employessBindingSource;
     this.emp.DisplayMember    = "FullName";
     this.emp.HeaderText       = "Ответственный за склад";
     this.emp.Name             = "emp";
     this.emp.ValueMember      = "Id";
     //
     // nameDataGridViewTextBoxColumn1
     //
     this.nameDataGridViewTextBoxColumn1.DataPropertyName = "Name";
     this.nameDataGridViewTextBoxColumn1.HeaderText       = "Название";
     this.nameDataGridViewTextBoxColumn1.Name             = "nameDataGridViewTextBoxColumn1";
     //
     // cityDataGridViewTextBoxColumn
     //
     this.cityDataGridViewTextBoxColumn.DataPropertyName = "City";
     this.cityDataGridViewTextBoxColumn.HeaderText       = "Город";
     this.cityDataGridViewTextBoxColumn.Name             = "cityDataGridViewTextBoxColumn";
     //
     // streetDataGridViewTextBoxColumn
     //
     this.streetDataGridViewTextBoxColumn.DataPropertyName = "Street";
     this.streetDataGridViewTextBoxColumn.HeaderText       = "Адрес";
     this.streetDataGridViewTextBoxColumn.Name             = "streetDataGridViewTextBoxColumn";
     //
     // phoneDataGridViewTextBoxColumn
     //
     this.phoneDataGridViewTextBoxColumn.DataPropertyName = "Phone";
     this.phoneDataGridViewTextBoxColumn.HeaderText       = "Телефон";
     this.phoneDataGridViewTextBoxColumn.Name             = "phoneDataGridViewTextBoxColumn";
     //
     // kontr
     //
     this.kontr.Controls.Add(this.dataGridView2);
     this.kontr.Location = new System.Drawing.Point(4, 22);
     this.kontr.Name     = "kontr";
     this.kontr.Padding  = new System.Windows.Forms.Padding(3);
     this.kontr.Size     = new System.Drawing.Size(559, 355);
     this.kontr.TabIndex = 1;
     this.kontr.Text     = "Поставщики";
     this.kontr.UseVisualStyleBackColor = true;
     //
     // dataGridView2
     //
     this.dataGridView2.AutoGenerateColumns         = false;
     this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.nameDataGridViewTextBoxColumn,
         this.telefoneDataGridViewTextBoxColumn1,
         this.adressDataGridViewTextBoxColumn,
         this.contactnameDataGridViewTextBoxColumn
     });
     this.dataGridView2.DataSource = this.contrBindingSource;
     this.dataGridView2.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView2.Location   = new System.Drawing.Point(3, 3);
     this.dataGridView2.Name       = "dataGridView2";
     this.dataGridView2.Size       = new System.Drawing.Size(553, 349);
     this.dataGridView2.TabIndex   = 0;
     //
     // nameDataGridViewTextBoxColumn
     //
     this.nameDataGridViewTextBoxColumn.DataPropertyName = "Name";
     this.nameDataGridViewTextBoxColumn.HeaderText       = "Наименование";
     this.nameDataGridViewTextBoxColumn.Name             = "nameDataGridViewTextBoxColumn";
     //
     // telefoneDataGridViewTextBoxColumn1
     //
     this.telefoneDataGridViewTextBoxColumn1.DataPropertyName = "Phone";
     this.telefoneDataGridViewTextBoxColumn1.HeaderText       = "Телефон";
     this.telefoneDataGridViewTextBoxColumn1.Name             = "telefoneDataGridViewTextBoxColumn1";
     //
     // adressDataGridViewTextBoxColumn
     //
     this.adressDataGridViewTextBoxColumn.DataPropertyName = "Adress";
     this.adressDataGridViewTextBoxColumn.HeaderText       = "Адрес";
     this.adressDataGridViewTextBoxColumn.Name             = "adressDataGridViewTextBoxColumn";
     //
     // contactnameDataGridViewTextBoxColumn
     //
     this.contactnameDataGridViewTextBoxColumn.DataPropertyName = "ContactPerson";
     this.contactnameDataGridViewTextBoxColumn.HeaderText       = "Контактное лицо";
     this.contactnameDataGridViewTextBoxColumn.Name             = "contactnameDataGridViewTextBoxColumn";
     //
     // employess
     //
     this.employess.Controls.Add(this.dataGridView1);
     this.employess.Location = new System.Drawing.Point(4, 22);
     this.employess.Name     = "employess";
     this.employess.Padding  = new System.Windows.Forms.Padding(3);
     this.employess.Size     = new System.Drawing.Size(559, 355);
     this.employess.TabIndex = 0;
     this.employess.Text     = "Персонал";
     this.employess.UseVisualStyleBackColor = true;
     //
     // dataGridView1
     //
     this.dataGridView1.AutoGenerateColumns         = false;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.staffDataGridViewTextBoxColumn,
         this.fioDataGridViewTextBoxColumn,
         this.telefoneDataGridViewTextBoxColumn
     });
     this.dataGridView1.DataSource = this.employessBindingSource;
     this.dataGridView1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location   = new System.Drawing.Point(3, 3);
     this.dataGridView1.Name       = "dataGridView1";
     this.dataGridView1.Size       = new System.Drawing.Size(553, 349);
     this.dataGridView1.TabIndex   = 0;
     //
     // staffDataGridViewTextBoxColumn
     //
     this.staffDataGridViewTextBoxColumn.DataPropertyName = "Staff";
     this.staffDataGridViewTextBoxColumn.HeaderText       = "Должность";
     this.staffDataGridViewTextBoxColumn.Name             = "staffDataGridViewTextBoxColumn";
     this.staffDataGridViewTextBoxColumn.ToolTipText      = "Должность";
     //
     // fioDataGridViewTextBoxColumn
     //
     this.fioDataGridViewTextBoxColumn.DataPropertyName = "FullName";
     this.fioDataGridViewTextBoxColumn.HeaderText       = "ФИО";
     this.fioDataGridViewTextBoxColumn.Name             = "fioDataGridViewTextBoxColumn";
     this.fioDataGridViewTextBoxColumn.ToolTipText      = "ФИО";
     //
     // telefoneDataGridViewTextBoxColumn
     //
     this.telefoneDataGridViewTextBoxColumn.DataPropertyName = "Phone";
     this.telefoneDataGridViewTextBoxColumn.HeaderText       = "Телефон";
     this.telefoneDataGridViewTextBoxColumn.Name             = "telefoneDataGridViewTextBoxColumn";
     this.telefoneDataGridViewTextBoxColumn.ToolTipText      = "Телефон";
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.employess);
     this.tabControl1.Controls.Add(this.kontr);
     this.tabControl1.Controls.Add(this.storage);
     this.tabControl1.Controls.Add(this.material);
     this.tabControl1.Controls.Add(this.jobs);
     this.tabControl1.Controls.Add(this.tpEdIzm);
     this.tabControl1.Location      = new System.Drawing.Point(12, 37);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(567, 381);
     this.tabControl1.TabIndex      = 0;
     //
     // tpEdIzm
     //
     this.tpEdIzm.Controls.Add(this.dataGridView6);
     this.tpEdIzm.Location = new System.Drawing.Point(4, 22);
     this.tpEdIzm.Name     = "tpEdIzm";
     this.tpEdIzm.Padding  = new System.Windows.Forms.Padding(3);
     this.tpEdIzm.Size     = new System.Drawing.Size(559, 355);
     this.tpEdIzm.TabIndex = 5;
     this.tpEdIzm.Text     = "Еденицы измерения";
     this.tpEdIzm.UseVisualStyleBackColor = true;
     //
     // dataGridView6
     //
     this.dataGridView6.AutoGenerateColumns         = false;
     this.dataGridView6.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView6.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ShortName,
         this.FullName,
         this.idDataGridViewTextBoxColumn,
         this.shortNameDataGridViewTextBoxColumn1,
         this.fullNameDataGridViewTextBoxColumn
     });
     this.dataGridView6.DataSource = this.eDIZMBindingSource;
     this.dataGridView6.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView6.Location   = new System.Drawing.Point(3, 3);
     this.dataGridView6.Name       = "dataGridView6";
     this.dataGridView6.Size       = new System.Drawing.Size(553, 349);
     this.dataGridView6.TabIndex   = 0;
     //
     // ShortName
     //
     this.ShortName.DataPropertyName = "ShortName";
     this.ShortName.HeaderText       = "Краткое название";
     this.ShortName.Name             = "ShortName";
     //
     // FullName
     //
     this.FullName.DataPropertyName = "FullName";
     this.FullName.HeaderText       = "Полное название";
     this.FullName.Name             = "FullName";
     //
     // button1
     //
     this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.button1.Image    = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
     this.button1.Location = new System.Drawing.Point(581, 59);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(56, 57);
     this.button1.TabIndex = 1;
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click_1);
     //
     // unitTableAdapter
     //
     this.unitTableAdapter.ClearBeforeFill = true;
     //
     // shortNameDataGridViewTextBoxColumn
     //
     this.shortNameDataGridViewTextBoxColumn.DataPropertyName = "ShortName";
     this.shortNameDataGridViewTextBoxColumn.HeaderText       = "Краткое название";
     this.shortNameDataGridViewTextBoxColumn.Name             = "shortNameDataGridViewTextBoxColumn";
     //
     // idDataGridViewTextBoxColumn
     //
     this.idDataGridViewTextBoxColumn.DataPropertyName = "Id";
     this.idDataGridViewTextBoxColumn.HeaderText       = "Id";
     this.idDataGridViewTextBoxColumn.Name             = "idDataGridViewTextBoxColumn";
     this.idDataGridViewTextBoxColumn.ReadOnly         = true;
     //
     // shortNameDataGridViewTextBoxColumn1
     //
     this.shortNameDataGridViewTextBoxColumn1.DataPropertyName = "ShortName";
     this.shortNameDataGridViewTextBoxColumn1.HeaderText       = "ShortName";
     this.shortNameDataGridViewTextBoxColumn1.Name             = "shortNameDataGridViewTextBoxColumn1";
     //
     // fullNameDataGridViewTextBoxColumn
     //
     this.fullNameDataGridViewTextBoxColumn.DataPropertyName = "FullName";
     this.fullNameDataGridViewTextBoxColumn.HeaderText       = "FullName";
     this.fullNameDataGridViewTextBoxColumn.Name             = "fullNameDataGridViewTextBoxColumn";
     //
     // edit_spr
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(646, 446);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.tabControl1);
     this.Name         = "edit_spr";
     this.Text         = "Справочники";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.edit_spr_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(dataSetEMC11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.employessBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sharedDataSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.contrBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.storageBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.materialBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.jobTypeBindingSource)).EndInit();
     this.jobs.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView5)).EndInit();
     this.material.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.eDIZMBindingSource)).EndInit();
     this.storage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
     this.kontr.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
     this.employess.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tpEdIzm.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView6)).EndInit();
     this.ResumeLayout(false);
 }