|
@@ -0,0 +1,590 @@
|
|
|
+namespace СУБД_Альфапол
|
|
|
+{
|
|
|
+ partial class FormAddEdit
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// Required designer variable.
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Clean up any resources being used.
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows Form Designer generated code
|
|
|
+
|
|
|
+ /// <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 namePartnerLabel;
|
|
|
+ System.Windows.Forms.Label surnameLabel;
|
|
|
+ System.Windows.Forms.Label nameLabel;
|
|
|
+ System.Windows.Forms.Label patronymicLabel;
|
|
|
+ System.Windows.Forms.Label phoneLabel;
|
|
|
+ System.Windows.Forms.Label ratingLabel;
|
|
|
+ System.Windows.Forms.Label houseLabel;
|
|
|
+ System.Windows.Forms.Label emailLabel;
|
|
|
+ System.Windows.Forms.Label label1;
|
|
|
+ System.Windows.Forms.Label label2;
|
|
|
+ System.Windows.Forms.Label label3;
|
|
|
+ System.Windows.Forms.Label label4;
|
|
|
+ System.Windows.Forms.Label label5;
|
|
|
+ System.Windows.Forms.Label label6;
|
|
|
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAddEdit));
|
|
|
+ this.panel1 = new System.Windows.Forms.Panel();
|
|
|
+ this.lblTitle = new System.Windows.Forms.Label();
|
|
|
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
+ this.bsPartner = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.dbAlphapolAGDataSet = new СУБД_Альфапол.dbAlphapolAGDataSet();
|
|
|
+ this.partnerTableAdapter = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.PartnerTableAdapter();
|
|
|
+ this.tableAdapterManager = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.TableAdapterManager();
|
|
|
+ this.namePartnerTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.surnameTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.nameTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.patronymicTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.phoneTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.ratingTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.houseTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.emailTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.cbxTypePartner = new System.Windows.Forms.ComboBox();
|
|
|
+ this.bsTypePartner = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.typePartnerTableAdapter = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.TypePartnerTableAdapter();
|
|
|
+ this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
|
+ this.comboBox2 = new System.Windows.Forms.ComboBox();
|
|
|
+ this.comboBox3 = new System.Windows.Forms.ComboBox();
|
|
|
+ this.comboBox4 = new System.Windows.Forms.ComboBox();
|
|
|
+ this.bsRegion = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.bsCity = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.bsIndex = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.bsStreet = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.regionTableAdapter = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.RegionTableAdapter();
|
|
|
+ this.cityTableAdapter = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.CityTableAdapter();
|
|
|
+ this.indexPartnerTableAdapter = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.IndexPartnerTableAdapter();
|
|
|
+ this.streetTableAdapter = new СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.StreetTableAdapter();
|
|
|
+ this.btnSave = new System.Windows.Forms.Button();
|
|
|
+ this.btnCancel = new System.Windows.Forms.Button();
|
|
|
+ namePartnerLabel = new System.Windows.Forms.Label();
|
|
|
+ surnameLabel = new System.Windows.Forms.Label();
|
|
|
+ nameLabel = new System.Windows.Forms.Label();
|
|
|
+ patronymicLabel = new System.Windows.Forms.Label();
|
|
|
+ phoneLabel = new System.Windows.Forms.Label();
|
|
|
+ ratingLabel = new System.Windows.Forms.Label();
|
|
|
+ houseLabel = new System.Windows.Forms.Label();
|
|
|
+ emailLabel = new System.Windows.Forms.Label();
|
|
|
+ label1 = new System.Windows.Forms.Label();
|
|
|
+ label2 = new System.Windows.Forms.Label();
|
|
|
+ label3 = new System.Windows.Forms.Label();
|
|
|
+ label4 = new System.Windows.Forms.Label();
|
|
|
+ label5 = new System.Windows.Forms.Label();
|
|
|
+ label6 = new System.Windows.Forms.Label();
|
|
|
+ this.panel1.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsPartner)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dbAlphapolAGDataSet)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsTypePartner)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsRegion)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsCity)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsIndex)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsStreet)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // panel1
|
|
|
+ //
|
|
|
+ this.panel1.BackColor = System.Drawing.Color.LightGray;
|
|
|
+ this.panel1.Controls.Add(this.lblTitle);
|
|
|
+ this.panel1.Controls.Add(this.pictureBox1);
|
|
|
+ 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, 4, 4, 4);
|
|
|
+ this.panel1.Name = "panel1";
|
|
|
+ this.panel1.Size = new System.Drawing.Size(870, 133);
|
|
|
+ this.panel1.TabIndex = 1;
|
|
|
+ //
|
|
|
+ // lblTitle
|
|
|
+ //
|
|
|
+ this.lblTitle.AutoSize = true;
|
|
|
+ this.lblTitle.Font = new System.Drawing.Font("Courier New", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.lblTitle.Location = new System.Drawing.Point(275, 39);
|
|
|
+ this.lblTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.lblTitle.Name = "lblTitle";
|
|
|
+ this.lblTitle.Size = new System.Drawing.Size(436, 41);
|
|
|
+ this.lblTitle.TabIndex = 1;
|
|
|
+ this.lblTitle.Text = "Добавление партнера";
|
|
|
+ //
|
|
|
+ // pictureBox1
|
|
|
+ //
|
|
|
+ this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
+ this.pictureBox1.Image = global::СУБД_Альфапол.Properties.Resources.Альфапол;
|
|
|
+ this.pictureBox1.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.pictureBox1.Name = "pictureBox1";
|
|
|
+ this.pictureBox1.Size = new System.Drawing.Size(165, 133);
|
|
|
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
|
+ this.pictureBox1.TabIndex = 0;
|
|
|
+ this.pictureBox1.TabStop = false;
|
|
|
+ //
|
|
|
+ // bsPartner
|
|
|
+ //
|
|
|
+ this.bsPartner.DataMember = "Partner";
|
|
|
+ this.bsPartner.DataSource = this.dbAlphapolAGDataSet;
|
|
|
+ //
|
|
|
+ // dbAlphapolAGDataSet
|
|
|
+ //
|
|
|
+ this.dbAlphapolAGDataSet.DataSetName = "dbAlphapolAGDataSet";
|
|
|
+ this.dbAlphapolAGDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
+ //
|
|
|
+ // partnerTableAdapter
|
|
|
+ //
|
|
|
+ this.partnerTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // tableAdapterManager
|
|
|
+ //
|
|
|
+ this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
|
|
|
+ this.tableAdapterManager.CityTableAdapter = this.cityTableAdapter;
|
|
|
+ this.tableAdapterManager.IndexPartnerTableAdapter = this.indexPartnerTableAdapter;
|
|
|
+ this.tableAdapterManager.ManagerTableAdapter = null;
|
|
|
+ this.tableAdapterManager.PartnerTableAdapter = this.partnerTableAdapter;
|
|
|
+ this.tableAdapterManager.ProductPartnerTableAdapter = null;
|
|
|
+ this.tableAdapterManager.ProductsTableAdapter = null;
|
|
|
+ this.tableAdapterManager.RegionTableAdapter = this.regionTableAdapter;
|
|
|
+ this.tableAdapterManager.StreetTableAdapter = this.streetTableAdapter;
|
|
|
+ this.tableAdapterManager.TypeMaterialTableAdapter = null;
|
|
|
+ this.tableAdapterManager.TypePartnerTableAdapter = this.typePartnerTableAdapter;
|
|
|
+ this.tableAdapterManager.TypeProductTableAdapter = null;
|
|
|
+ this.tableAdapterManager.UpdateOrder = СУБД_Альфапол.dbAlphapolAGDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
|
|
+ //
|
|
|
+ // namePartnerLabel
|
|
|
+ //
|
|
|
+ namePartnerLabel.AutoSize = true;
|
|
|
+ namePartnerLabel.Location = new System.Drawing.Point(40, 183);
|
|
|
+ namePartnerLabel.Name = "namePartnerLabel";
|
|
|
+ namePartnerLabel.Size = new System.Drawing.Size(111, 16);
|
|
|
+ namePartnerLabel.TabIndex = 1;
|
|
|
+ namePartnerLabel.Text = "Наименование:";
|
|
|
+ //
|
|
|
+ // namePartnerTextBox
|
|
|
+ //
|
|
|
+ this.namePartnerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "NamePartner", true));
|
|
|
+ this.namePartnerTextBox.Location = new System.Drawing.Point(157, 180);
|
|
|
+ this.namePartnerTextBox.Name = "namePartnerTextBox";
|
|
|
+ this.namePartnerTextBox.Size = new System.Drawing.Size(143, 22);
|
|
|
+ this.namePartnerTextBox.TabIndex = 2;
|
|
|
+ //
|
|
|
+ // surnameLabel
|
|
|
+ //
|
|
|
+ surnameLabel.AutoSize = true;
|
|
|
+ surnameLabel.Location = new System.Drawing.Point(426, 186);
|
|
|
+ surnameLabel.Name = "surnameLabel";
|
|
|
+ surnameLabel.Size = new System.Drawing.Size(71, 16);
|
|
|
+ surnameLabel.TabIndex = 3;
|
|
|
+ surnameLabel.Text = "Фамилия:";
|
|
|
+ //
|
|
|
+ // surnameTextBox
|
|
|
+ //
|
|
|
+ this.surnameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Surname", true));
|
|
|
+ this.surnameTextBox.Location = new System.Drawing.Point(511, 180);
|
|
|
+ this.surnameTextBox.Name = "surnameTextBox";
|
|
|
+ this.surnameTextBox.Size = new System.Drawing.Size(200, 22);
|
|
|
+ this.surnameTextBox.TabIndex = 4;
|
|
|
+ //
|
|
|
+ // nameLabel
|
|
|
+ //
|
|
|
+ nameLabel.AutoSize = true;
|
|
|
+ nameLabel.Location = new System.Drawing.Point(457, 211);
|
|
|
+ nameLabel.Name = "nameLabel";
|
|
|
+ nameLabel.Size = new System.Drawing.Size(39, 16);
|
|
|
+ nameLabel.TabIndex = 5;
|
|
|
+ nameLabel.Text = "Имя:";
|
|
|
+ //
|
|
|
+ // nameTextBox
|
|
|
+ //
|
|
|
+ this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Name", true));
|
|
|
+ this.nameTextBox.Location = new System.Drawing.Point(511, 208);
|
|
|
+ this.nameTextBox.Name = "nameTextBox";
|
|
|
+ this.nameTextBox.Size = new System.Drawing.Size(200, 22);
|
|
|
+ this.nameTextBox.TabIndex = 6;
|
|
|
+ //
|
|
|
+ // patronymicLabel
|
|
|
+ //
|
|
|
+ patronymicLabel.AutoSize = true;
|
|
|
+ patronymicLabel.Location = new System.Drawing.Point(418, 237);
|
|
|
+ patronymicLabel.Name = "patronymicLabel";
|
|
|
+ patronymicLabel.Size = new System.Drawing.Size(79, 16);
|
|
|
+ patronymicLabel.TabIndex = 7;
|
|
|
+ patronymicLabel.Text = "Отчество:";
|
|
|
+ //
|
|
|
+ // patronymicTextBox
|
|
|
+ //
|
|
|
+ this.patronymicTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Patronymic", true));
|
|
|
+ this.patronymicTextBox.Location = new System.Drawing.Point(511, 237);
|
|
|
+ this.patronymicTextBox.Name = "patronymicTextBox";
|
|
|
+ this.patronymicTextBox.Size = new System.Drawing.Size(200, 22);
|
|
|
+ this.patronymicTextBox.TabIndex = 8;
|
|
|
+ //
|
|
|
+ // phoneLabel
|
|
|
+ //
|
|
|
+ phoneLabel.AutoSize = true;
|
|
|
+ phoneLabel.Location = new System.Drawing.Point(425, 287);
|
|
|
+ phoneLabel.Name = "phoneLabel";
|
|
|
+ phoneLabel.Size = new System.Drawing.Size(71, 16);
|
|
|
+ phoneLabel.TabIndex = 9;
|
|
|
+ phoneLabel.Text = "Телефон:";
|
|
|
+ //
|
|
|
+ // phoneTextBox
|
|
|
+ //
|
|
|
+ this.phoneTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Phone", true));
|
|
|
+ this.phoneTextBox.Location = new System.Drawing.Point(511, 281);
|
|
|
+ this.phoneTextBox.Name = "phoneTextBox";
|
|
|
+ this.phoneTextBox.Size = new System.Drawing.Size(200, 22);
|
|
|
+ this.phoneTextBox.TabIndex = 10;
|
|
|
+ //
|
|
|
+ // ratingLabel
|
|
|
+ //
|
|
|
+ ratingLabel.AutoSize = true;
|
|
|
+ ratingLabel.Location = new System.Drawing.Point(78, 374);
|
|
|
+ ratingLabel.Name = "ratingLabel";
|
|
|
+ ratingLabel.Size = new System.Drawing.Size(71, 16);
|
|
|
+ ratingLabel.TabIndex = 11;
|
|
|
+ ratingLabel.Text = "Рейтинг:";
|
|
|
+ //
|
|
|
+ // ratingTextBox
|
|
|
+ //
|
|
|
+ this.ratingTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Rating", true));
|
|
|
+ this.ratingTextBox.Location = new System.Drawing.Point(157, 368);
|
|
|
+ this.ratingTextBox.Name = "ratingTextBox";
|
|
|
+ this.ratingTextBox.Size = new System.Drawing.Size(143, 22);
|
|
|
+ this.ratingTextBox.TabIndex = 12;
|
|
|
+ //
|
|
|
+ // houseLabel
|
|
|
+ //
|
|
|
+ houseLabel.AutoSize = true;
|
|
|
+ houseLabel.Location = new System.Drawing.Point(38, 416);
|
|
|
+ houseLabel.Name = "houseLabel";
|
|
|
+ houseLabel.Size = new System.Drawing.Size(111, 16);
|
|
|
+ houseLabel.TabIndex = 13;
|
|
|
+ houseLabel.Text = "Дом/квартира:";
|
|
|
+ //
|
|
|
+ // houseTextBox
|
|
|
+ //
|
|
|
+ this.houseTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "House", true));
|
|
|
+ this.houseTextBox.Location = new System.Drawing.Point(155, 413);
|
|
|
+ this.houseTextBox.Name = "houseTextBox";
|
|
|
+ this.houseTextBox.Size = new System.Drawing.Size(143, 22);
|
|
|
+ this.houseTextBox.TabIndex = 14;
|
|
|
+ //
|
|
|
+ // emailLabel
|
|
|
+ //
|
|
|
+ emailLabel.AutoSize = true;
|
|
|
+ emailLabel.Location = new System.Drawing.Point(442, 315);
|
|
|
+ emailLabel.Name = "emailLabel";
|
|
|
+ emailLabel.Size = new System.Drawing.Size(55, 16);
|
|
|
+ emailLabel.TabIndex = 15;
|
|
|
+ emailLabel.Text = "Email:";
|
|
|
+ //
|
|
|
+ // emailTextBox
|
|
|
+ //
|
|
|
+ this.emailTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Email", true));
|
|
|
+ this.emailTextBox.Location = new System.Drawing.Point(511, 309);
|
|
|
+ this.emailTextBox.Name = "emailTextBox";
|
|
|
+ this.emailTextBox.Size = new System.Drawing.Size(200, 22);
|
|
|
+ this.emailTextBox.TabIndex = 16;
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ label1.AutoSize = true;
|
|
|
+ label1.Location = new System.Drawing.Point(493, 150);
|
|
|
+ label1.Name = "label1";
|
|
|
+ label1.Size = new System.Drawing.Size(71, 16);
|
|
|
+ label1.TabIndex = 17;
|
|
|
+ label1.Text = "Директор";
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ label2.AutoSize = true;
|
|
|
+ label2.Location = new System.Drawing.Point(112, 214);
|
|
|
+ label2.Name = "label2";
|
|
|
+ label2.Size = new System.Drawing.Size(39, 16);
|
|
|
+ label2.TabIndex = 18;
|
|
|
+ label2.Text = "Тип:";
|
|
|
+ //
|
|
|
+ // cbxTypePartner
|
|
|
+ //
|
|
|
+ this.cbxTypePartner.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "idTypePartner", true));
|
|
|
+ this.cbxTypePartner.DataSource = this.bsTypePartner;
|
|
|
+ this.cbxTypePartner.DisplayMember = "Type";
|
|
|
+ this.cbxTypePartner.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.cbxTypePartner.FormattingEnabled = true;
|
|
|
+ this.cbxTypePartner.Location = new System.Drawing.Point(157, 211);
|
|
|
+ this.cbxTypePartner.Name = "cbxTypePartner";
|
|
|
+ this.cbxTypePartner.Size = new System.Drawing.Size(202, 24);
|
|
|
+ this.cbxTypePartner.TabIndex = 19;
|
|
|
+ this.cbxTypePartner.ValueMember = "idTypePartner";
|
|
|
+ //
|
|
|
+ // bsTypePartner
|
|
|
+ //
|
|
|
+ this.bsTypePartner.DataMember = "TypePartner";
|
|
|
+ this.bsTypePartner.DataSource = this.dbAlphapolAGDataSet;
|
|
|
+ //
|
|
|
+ // typePartnerTableAdapter
|
|
|
+ //
|
|
|
+ this.typePartnerTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // label3
|
|
|
+ //
|
|
|
+ label3.AutoSize = true;
|
|
|
+ label3.Location = new System.Drawing.Point(88, 243);
|
|
|
+ label3.Name = "label3";
|
|
|
+ label3.Size = new System.Drawing.Size(63, 16);
|
|
|
+ label3.TabIndex = 20;
|
|
|
+ label3.Text = "Регион:";
|
|
|
+ //
|
|
|
+ // label4
|
|
|
+ //
|
|
|
+ label4.AutoSize = true;
|
|
|
+ label4.Location = new System.Drawing.Point(96, 271);
|
|
|
+ label4.Name = "label4";
|
|
|
+ label4.Size = new System.Drawing.Size(55, 16);
|
|
|
+ label4.TabIndex = 21;
|
|
|
+ label4.Text = "Город:";
|
|
|
+ //
|
|
|
+ // label5
|
|
|
+ //
|
|
|
+ label5.AutoSize = true;
|
|
|
+ label5.Location = new System.Drawing.Point(88, 301);
|
|
|
+ label5.Name = "label5";
|
|
|
+ label5.Size = new System.Drawing.Size(63, 16);
|
|
|
+ label5.TabIndex = 22;
|
|
|
+ label5.Text = "Индекс:";
|
|
|
+ //
|
|
|
+ // label6
|
|
|
+ //
|
|
|
+ label6.AutoSize = true;
|
|
|
+ label6.Location = new System.Drawing.Point(94, 331);
|
|
|
+ label6.Name = "label6";
|
|
|
+ label6.Size = new System.Drawing.Size(55, 16);
|
|
|
+ label6.TabIndex = 23;
|
|
|
+ label6.Text = "Улица:";
|
|
|
+ //
|
|
|
+ // comboBox1
|
|
|
+ //
|
|
|
+ this.comboBox1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "idIndex", true));
|
|
|
+ this.comboBox1.DataSource = this.bsIndex;
|
|
|
+ this.comboBox1.DisplayMember = "CodePartner";
|
|
|
+ this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.comboBox1.FormattingEnabled = true;
|
|
|
+ this.comboBox1.Location = new System.Drawing.Point(155, 298);
|
|
|
+ this.comboBox1.Name = "comboBox1";
|
|
|
+ this.comboBox1.Size = new System.Drawing.Size(202, 24);
|
|
|
+ this.comboBox1.TabIndex = 24;
|
|
|
+ this.comboBox1.ValueMember = "idIndex";
|
|
|
+ //
|
|
|
+ // comboBox2
|
|
|
+ //
|
|
|
+ this.comboBox2.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "idCity", true));
|
|
|
+ this.comboBox2.DataSource = this.bsCity;
|
|
|
+ this.comboBox2.DisplayMember = "City";
|
|
|
+ this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.comboBox2.FormattingEnabled = true;
|
|
|
+ this.comboBox2.Location = new System.Drawing.Point(155, 268);
|
|
|
+ this.comboBox2.Name = "comboBox2";
|
|
|
+ this.comboBox2.Size = new System.Drawing.Size(202, 24);
|
|
|
+ this.comboBox2.TabIndex = 25;
|
|
|
+ this.comboBox2.ValueMember = "idCity";
|
|
|
+ //
|
|
|
+ // comboBox3
|
|
|
+ //
|
|
|
+ this.comboBox3.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "idRegion", true));
|
|
|
+ this.comboBox3.DataSource = this.bsRegion;
|
|
|
+ this.comboBox3.DisplayMember = "Region";
|
|
|
+ this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.comboBox3.FormattingEnabled = true;
|
|
|
+ this.comboBox3.Location = new System.Drawing.Point(157, 240);
|
|
|
+ this.comboBox3.Name = "comboBox3";
|
|
|
+ this.comboBox3.Size = new System.Drawing.Size(202, 24);
|
|
|
+ this.comboBox3.TabIndex = 26;
|
|
|
+ this.comboBox3.ValueMember = "idRegion";
|
|
|
+ //
|
|
|
+ // comboBox4
|
|
|
+ //
|
|
|
+ this.comboBox4.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "idStreet", true));
|
|
|
+ this.comboBox4.DataSource = this.bsStreet;
|
|
|
+ this.comboBox4.DisplayMember = "Street";
|
|
|
+ this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.comboBox4.FormattingEnabled = true;
|
|
|
+ this.comboBox4.Location = new System.Drawing.Point(155, 328);
|
|
|
+ this.comboBox4.Name = "comboBox4";
|
|
|
+ this.comboBox4.Size = new System.Drawing.Size(202, 24);
|
|
|
+ this.comboBox4.TabIndex = 27;
|
|
|
+ this.comboBox4.ValueMember = "idStreet";
|
|
|
+ //
|
|
|
+ // bsRegion
|
|
|
+ //
|
|
|
+ this.bsRegion.DataMember = "Region";
|
|
|
+ this.bsRegion.DataSource = this.dbAlphapolAGDataSet;
|
|
|
+ //
|
|
|
+ // bsCity
|
|
|
+ //
|
|
|
+ this.bsCity.DataMember = "City";
|
|
|
+ this.bsCity.DataSource = this.dbAlphapolAGDataSet;
|
|
|
+ //
|
|
|
+ // bsIndex
|
|
|
+ //
|
|
|
+ this.bsIndex.DataMember = "IndexPartner";
|
|
|
+ this.bsIndex.DataSource = this.dbAlphapolAGDataSet;
|
|
|
+ //
|
|
|
+ // bsStreet
|
|
|
+ //
|
|
|
+ this.bsStreet.DataMember = "Street";
|
|
|
+ this.bsStreet.DataSource = this.dbAlphapolAGDataSet;
|
|
|
+ //
|
|
|
+ // regionTableAdapter
|
|
|
+ //
|
|
|
+ this.regionTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // cityTableAdapter
|
|
|
+ //
|
|
|
+ this.cityTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // indexPartnerTableAdapter
|
|
|
+ //
|
|
|
+ this.indexPartnerTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // streetTableAdapter
|
|
|
+ //
|
|
|
+ this.streetTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // btnSave
|
|
|
+ //
|
|
|
+ this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(99)))), ((int)(((byte)(245)))));
|
|
|
+ this.btnSave.ForeColor = System.Drawing.SystemColors.Control;
|
|
|
+ this.btnSave.Location = new System.Drawing.Point(115, 496);
|
|
|
+ this.btnSave.Name = "btnSave";
|
|
|
+ this.btnSave.Size = new System.Drawing.Size(204, 30);
|
|
|
+ this.btnSave.TabIndex = 28;
|
|
|
+ this.btnSave.Text = "Сохранить";
|
|
|
+ this.btnSave.UseVisualStyleBackColor = false;
|
|
|
+ this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
|
+ //
|
|
|
+ // btnCancel
|
|
|
+ //
|
|
|
+ this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(99)))), ((int)(((byte)(245)))));
|
|
|
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
+ this.btnCancel.ForeColor = System.Drawing.SystemColors.Control;
|
|
|
+ this.btnCancel.Location = new System.Drawing.Point(572, 496);
|
|
|
+ this.btnCancel.Name = "btnCancel";
|
|
|
+ this.btnCancel.Size = new System.Drawing.Size(204, 30);
|
|
|
+ this.btnCancel.TabIndex = 29;
|
|
|
+ this.btnCancel.Text = "Отмена";
|
|
|
+ this.btnCancel.UseVisualStyleBackColor = false;
|
|
|
+ //
|
|
|
+ // FormAddEdit
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.BackColor = System.Drawing.Color.White;
|
|
|
+ this.ClientSize = new System.Drawing.Size(870, 554);
|
|
|
+ this.Controls.Add(this.btnCancel);
|
|
|
+ this.Controls.Add(this.btnSave);
|
|
|
+ this.Controls.Add(this.comboBox4);
|
|
|
+ this.Controls.Add(this.comboBox3);
|
|
|
+ this.Controls.Add(this.comboBox2);
|
|
|
+ this.Controls.Add(this.comboBox1);
|
|
|
+ this.Controls.Add(label6);
|
|
|
+ this.Controls.Add(label5);
|
|
|
+ this.Controls.Add(label4);
|
|
|
+ this.Controls.Add(label3);
|
|
|
+ this.Controls.Add(this.cbxTypePartner);
|
|
|
+ this.Controls.Add(label2);
|
|
|
+ this.Controls.Add(label1);
|
|
|
+ this.Controls.Add(emailLabel);
|
|
|
+ this.Controls.Add(this.emailTextBox);
|
|
|
+ this.Controls.Add(houseLabel);
|
|
|
+ this.Controls.Add(this.houseTextBox);
|
|
|
+ this.Controls.Add(ratingLabel);
|
|
|
+ this.Controls.Add(this.ratingTextBox);
|
|
|
+ this.Controls.Add(phoneLabel);
|
|
|
+ this.Controls.Add(this.phoneTextBox);
|
|
|
+ this.Controls.Add(patronymicLabel);
|
|
|
+ this.Controls.Add(this.patronymicTextBox);
|
|
|
+ this.Controls.Add(nameLabel);
|
|
|
+ this.Controls.Add(this.nameTextBox);
|
|
|
+ this.Controls.Add(surnameLabel);
|
|
|
+ this.Controls.Add(this.surnameTextBox);
|
|
|
+ this.Controls.Add(namePartnerLabel);
|
|
|
+ this.Controls.Add(this.namePartnerTextBox);
|
|
|
+ this.Controls.Add(this.panel1);
|
|
|
+ this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsTypePartner, "Type", true));
|
|
|
+ this.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
|
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
|
|
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
|
+ this.MaximizeBox = false;
|
|
|
+ this.MinimizeBox = false;
|
|
|
+ this.Name = "FormAddEdit";
|
|
|
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
+ this.Text = "\"ООО\" Альфапол";
|
|
|
+ this.Load += new System.EventHandler(this.FormAddEdit_Load);
|
|
|
+ this.panel1.ResumeLayout(false);
|
|
|
+ this.panel1.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsPartner)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.dbAlphapolAGDataSet)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsTypePartner)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsRegion)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsCity)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsIndex)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bsStreet)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.Panel panel1;
|
|
|
+ private System.Windows.Forms.PictureBox pictureBox1;
|
|
|
+ private dbAlphapolAGDataSet dbAlphapolAGDataSet;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.PartnerTableAdapter partnerTableAdapter;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.TableAdapterManager tableAdapterManager;
|
|
|
+ private System.Windows.Forms.TextBox namePartnerTextBox;
|
|
|
+ private System.Windows.Forms.TextBox surnameTextBox;
|
|
|
+ private System.Windows.Forms.TextBox nameTextBox;
|
|
|
+ private System.Windows.Forms.TextBox patronymicTextBox;
|
|
|
+ private System.Windows.Forms.TextBox phoneTextBox;
|
|
|
+ private System.Windows.Forms.TextBox ratingTextBox;
|
|
|
+ private System.Windows.Forms.TextBox houseTextBox;
|
|
|
+ private System.Windows.Forms.TextBox emailTextBox;
|
|
|
+ private System.Windows.Forms.ComboBox cbxTypePartner;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.TypePartnerTableAdapter typePartnerTableAdapter;
|
|
|
+ private System.Windows.Forms.BindingSource bsTypePartner;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.RegionTableAdapter regionTableAdapter;
|
|
|
+ private System.Windows.Forms.ComboBox comboBox1;
|
|
|
+ private System.Windows.Forms.ComboBox comboBox2;
|
|
|
+ private System.Windows.Forms.ComboBox comboBox3;
|
|
|
+ private System.Windows.Forms.ComboBox comboBox4;
|
|
|
+ private System.Windows.Forms.BindingSource bsRegion;
|
|
|
+ private System.Windows.Forms.BindingSource bsCity;
|
|
|
+ private System.Windows.Forms.BindingSource bsIndex;
|
|
|
+ private System.Windows.Forms.BindingSource bsStreet;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.CityTableAdapter cityTableAdapter;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.IndexPartnerTableAdapter indexPartnerTableAdapter;
|
|
|
+ private dbAlphapolAGDataSetTableAdapters.StreetTableAdapter streetTableAdapter;
|
|
|
+ private System.Windows.Forms.Button btnSave;
|
|
|
+ private System.Windows.Forms.Button btnCancel;
|
|
|
+ public System.Windows.Forms.Label lblTitle;
|
|
|
+ public System.Windows.Forms.BindingSource bsPartner;
|
|
|
+ }
|
|
|
+}
|