FormAddEdit.Designer.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. namespace СУБД_Альфапол
  2. {
  3. partial class FormAddEdit
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAddEdit));
  30. System.Windows.Forms.Label namepartnerLabel;
  31. System.Windows.Forms.Label surnameLabel;
  32. System.Windows.Forms.Label nameLabel;
  33. System.Windows.Forms.Label patronomycLabel;
  34. System.Windows.Forms.Label emailLabel;
  35. System.Windows.Forms.Label phoneLabel;
  36. System.Windows.Forms.Label ratingLabel;
  37. System.Windows.Forms.Label label2;
  38. System.Windows.Forms.Label label3;
  39. System.Windows.Forms.Label label4;
  40. System.Windows.Forms.Label label5;
  41. this.panel1 = new System.Windows.Forms.Panel();
  42. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  43. this.lblTitleForm = new System.Windows.Forms.Label();
  44. this.alfafloorGDVDataSet1 = new СУБД_Альфапол.AlfafloorGDVDataSet();
  45. this.bsPartner = new System.Windows.Forms.BindingSource(this.components);
  46. this.partnerTableAdapter = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.PartnerTableAdapter();
  47. this.tableAdapterManager = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.TableAdapterManager();
  48. this.namepartnerTextBox = new System.Windows.Forms.TextBox();
  49. this.surnameTextBox = new System.Windows.Forms.TextBox();
  50. this.nameTextBox = new System.Windows.Forms.TextBox();
  51. this.patronomycTextBox = new System.Windows.Forms.TextBox();
  52. this.emailTextBox = new System.Windows.Forms.TextBox();
  53. this.phoneTextBox = new System.Windows.Forms.TextBox();
  54. this.ratingTextBox = new System.Windows.Forms.TextBox();
  55. this.lblIdPartner = new System.Windows.Forms.Label();
  56. this.btnSave = new System.Windows.Forms.Button();
  57. this.bntCancel = new System.Windows.Forms.Button();
  58. this.cmbTypePartner = new System.Windows.Forms.ComboBox();
  59. this.label1 = new System.Windows.Forms.Label();
  60. this.bsTypePartner = new System.Windows.Forms.BindingSource(this.components);
  61. this.typePartnerTableAdapter = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.TypePartnerTableAdapter();
  62. this.bsRegion = new System.Windows.Forms.BindingSource(this.components);
  63. this.bsCity = new System.Windows.Forms.BindingSource(this.components);
  64. this.bsStreet = new System.Windows.Forms.BindingSource(this.components);
  65. this.bsPostCode = new System.Windows.Forms.BindingSource(this.components);
  66. this.regionTableAdapter = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.RegionTableAdapter();
  67. this.cityTableAdapter = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.CityTableAdapter();
  68. this.streetTableAdapter = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.StreetTableAdapter();
  69. this.postCodeTableAdapter = new СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.PostCodeTableAdapter();
  70. this.cmbRegion = new System.Windows.Forms.ComboBox();
  71. this.cmbCity = new System.Windows.Forms.ComboBox();
  72. this.cmbStreet = new System.Windows.Forms.ComboBox();
  73. this.cmbPostCode = new System.Windows.Forms.ComboBox();
  74. namepartnerLabel = new System.Windows.Forms.Label();
  75. surnameLabel = new System.Windows.Forms.Label();
  76. nameLabel = new System.Windows.Forms.Label();
  77. patronomycLabel = new System.Windows.Forms.Label();
  78. emailLabel = new System.Windows.Forms.Label();
  79. phoneLabel = new System.Windows.Forms.Label();
  80. ratingLabel = new System.Windows.Forms.Label();
  81. label2 = new System.Windows.Forms.Label();
  82. label3 = new System.Windows.Forms.Label();
  83. label4 = new System.Windows.Forms.Label();
  84. label5 = new System.Windows.Forms.Label();
  85. this.panel1.SuspendLayout();
  86. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  87. ((System.ComponentModel.ISupportInitialize)(this.alfafloorGDVDataSet1)).BeginInit();
  88. ((System.ComponentModel.ISupportInitialize)(this.bsPartner)).BeginInit();
  89. ((System.ComponentModel.ISupportInitialize)(this.bsTypePartner)).BeginInit();
  90. ((System.ComponentModel.ISupportInitialize)(this.bsRegion)).BeginInit();
  91. ((System.ComponentModel.ISupportInitialize)(this.bsCity)).BeginInit();
  92. ((System.ComponentModel.ISupportInitialize)(this.bsStreet)).BeginInit();
  93. ((System.ComponentModel.ISupportInitialize)(this.bsPostCode)).BeginInit();
  94. this.SuspendLayout();
  95. //
  96. // panel1
  97. //
  98. this.panel1.BackColor = System.Drawing.Color.LightGray;
  99. this.panel1.Controls.Add(this.lblIdPartner);
  100. this.panel1.Controls.Add(this.pictureBox1);
  101. this.panel1.Controls.Add(this.lblTitleForm);
  102. this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
  103. this.panel1.Location = new System.Drawing.Point(0, 0);
  104. this.panel1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  105. this.panel1.Name = "panel1";
  106. this.panel1.Size = new System.Drawing.Size(646, 132);
  107. this.panel1.TabIndex = 2;
  108. //
  109. // pictureBox1
  110. //
  111. this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Left;
  112. this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
  113. this.pictureBox1.Location = new System.Drawing.Point(0, 0);
  114. this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  115. this.pictureBox1.Name = "pictureBox1";
  116. this.pictureBox1.Size = new System.Drawing.Size(140, 132);
  117. this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  118. this.pictureBox1.TabIndex = 1;
  119. this.pictureBox1.TabStop = false;
  120. //
  121. // lblTitleForm
  122. //
  123. this.lblTitleForm.AutoSize = true;
  124. this.lblTitleForm.Font = new System.Drawing.Font("Courier New", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  125. this.lblTitleForm.Location = new System.Drawing.Point(165, 51);
  126. this.lblTitleForm.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  127. this.lblTitleForm.Name = "lblTitleForm";
  128. this.lblTitleForm.Size = new System.Drawing.Size(574, 31);
  129. this.lblTitleForm.TabIndex = 0;
  130. this.lblTitleForm.Text = "Редактирование/добавление партнеров";
  131. //
  132. // alfafloorGDVDataSet1
  133. //
  134. this.alfafloorGDVDataSet1.DataSetName = "AlfafloorGDVDataSet";
  135. this.alfafloorGDVDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
  136. //
  137. // bsPartner
  138. //
  139. this.bsPartner.DataMember = "Partner";
  140. this.bsPartner.DataSource = this.alfafloorGDVDataSet1;
  141. //
  142. // partnerTableAdapter
  143. //
  144. this.partnerTableAdapter.ClearBeforeFill = true;
  145. //
  146. // tableAdapterManager
  147. //
  148. this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
  149. this.tableAdapterManager.CityTableAdapter = this.cityTableAdapter;
  150. this.tableAdapterManager.ManagerTableAdapter = null;
  151. this.tableAdapterManager.PartnerProductsTableAdapter = null;
  152. this.tableAdapterManager.PartnerTableAdapter = this.partnerTableAdapter;
  153. this.tableAdapterManager.PostCodeTableAdapter = this.postCodeTableAdapter;
  154. this.tableAdapterManager.ProductTableAdapter = null;
  155. this.tableAdapterManager.ProductTypeTableAdapter = null;
  156. this.tableAdapterManager.RegionTableAdapter = this.regionTableAdapter;
  157. this.tableAdapterManager.StreetTableAdapter = this.streetTableAdapter;
  158. this.tableAdapterManager.TypeMaterialTableAdapter = null;
  159. this.tableAdapterManager.TypePartnerTableAdapter = this.typePartnerTableAdapter;
  160. this.tableAdapterManager.UpdateOrder = СУБД_Альфапол.AlfafloorGDVDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
  161. //
  162. // namepartnerLabel
  163. //
  164. namepartnerLabel.AutoSize = true;
  165. namepartnerLabel.Location = new System.Drawing.Point(20, 175);
  166. namepartnerLabel.Name = "namepartnerLabel";
  167. namepartnerLabel.Size = new System.Drawing.Size(98, 15);
  168. namepartnerLabel.TabIndex = 7;
  169. namepartnerLabel.Text = "Наименование:";
  170. //
  171. // namepartnerTextBox
  172. //
  173. this.namepartnerTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Namepartner", true));
  174. this.namepartnerTextBox.Location = new System.Drawing.Point(124, 175);
  175. this.namepartnerTextBox.Name = "namepartnerTextBox";
  176. this.namepartnerTextBox.Size = new System.Drawing.Size(163, 21);
  177. this.namepartnerTextBox.TabIndex = 8;
  178. //
  179. // surnameLabel
  180. //
  181. surnameLabel.AutoSize = true;
  182. surnameLabel.Location = new System.Drawing.Point(373, 172);
  183. surnameLabel.Name = "surnameLabel";
  184. surnameLabel.Size = new System.Drawing.Size(63, 15);
  185. surnameLabel.TabIndex = 8;
  186. surnameLabel.Text = "Фамилия:";
  187. //
  188. // surnameTextBox
  189. //
  190. this.surnameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Surname", true));
  191. this.surnameTextBox.Location = new System.Drawing.Point(442, 169);
  192. this.surnameTextBox.Name = "surnameTextBox";
  193. this.surnameTextBox.Size = new System.Drawing.Size(163, 21);
  194. this.surnameTextBox.TabIndex = 9;
  195. //
  196. // nameLabel
  197. //
  198. nameLabel.AutoSize = true;
  199. nameLabel.Location = new System.Drawing.Point(401, 199);
  200. nameLabel.Name = "nameLabel";
  201. nameLabel.Size = new System.Drawing.Size(35, 15);
  202. nameLabel.TabIndex = 9;
  203. nameLabel.Text = "Имя:";
  204. //
  205. // nameTextBox
  206. //
  207. this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Name", true));
  208. this.nameTextBox.Location = new System.Drawing.Point(442, 196);
  209. this.nameTextBox.Name = "nameTextBox";
  210. this.nameTextBox.Size = new System.Drawing.Size(163, 21);
  211. this.nameTextBox.TabIndex = 10;
  212. //
  213. // patronomycLabel
  214. //
  215. patronomycLabel.AutoSize = true;
  216. patronomycLabel.Location = new System.Drawing.Point(366, 226);
  217. patronomycLabel.Name = "patronomycLabel";
  218. patronomycLabel.Size = new System.Drawing.Size(70, 15);
  219. patronomycLabel.TabIndex = 10;
  220. patronomycLabel.Text = "Отчество:";
  221. //
  222. // patronomycTextBox
  223. //
  224. this.patronomycTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Patronomyc", true));
  225. this.patronomycTextBox.Location = new System.Drawing.Point(442, 223);
  226. this.patronomycTextBox.Name = "patronomycTextBox";
  227. this.patronomycTextBox.Size = new System.Drawing.Size(163, 21);
  228. this.patronomycTextBox.TabIndex = 11;
  229. //
  230. // emailLabel
  231. //
  232. emailLabel.AutoSize = true;
  233. emailLabel.Location = new System.Drawing.Point(380, 312);
  234. emailLabel.Name = "emailLabel";
  235. emailLabel.Size = new System.Drawing.Size(56, 15);
  236. emailLabel.TabIndex = 11;
  237. emailLabel.Text = "E-mail:";
  238. //
  239. // emailTextBox
  240. //
  241. this.emailTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Email", true));
  242. this.emailTextBox.Location = new System.Drawing.Point(442, 309);
  243. this.emailTextBox.Name = "emailTextBox";
  244. this.emailTextBox.Size = new System.Drawing.Size(163, 21);
  245. this.emailTextBox.TabIndex = 12;
  246. //
  247. // phoneLabel
  248. //
  249. phoneLabel.AutoSize = true;
  250. phoneLabel.Location = new System.Drawing.Point(373, 288);
  251. phoneLabel.Name = "phoneLabel";
  252. phoneLabel.Size = new System.Drawing.Size(63, 15);
  253. phoneLabel.TabIndex = 12;
  254. phoneLabel.Text = "Телефон:";
  255. //
  256. // phoneTextBox
  257. //
  258. this.phoneTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Phone", true));
  259. this.phoneTextBox.Location = new System.Drawing.Point(442, 282);
  260. this.phoneTextBox.Name = "phoneTextBox";
  261. this.phoneTextBox.Size = new System.Drawing.Size(163, 21);
  262. this.phoneTextBox.TabIndex = 13;
  263. //
  264. // ratingLabel
  265. //
  266. ratingLabel.AutoSize = true;
  267. ratingLabel.Location = new System.Drawing.Point(55, 229);
  268. ratingLabel.Name = "ratingLabel";
  269. ratingLabel.Size = new System.Drawing.Size(63, 15);
  270. ratingLabel.TabIndex = 13;
  271. ratingLabel.Text = "Рейтинг:";
  272. //
  273. // ratingTextBox
  274. //
  275. this.ratingTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsPartner, "Rating", true));
  276. this.ratingTextBox.Location = new System.Drawing.Point(124, 229);
  277. this.ratingTextBox.Name = "ratingTextBox";
  278. this.ratingTextBox.Size = new System.Drawing.Size(163, 21);
  279. this.ratingTextBox.TabIndex = 14;
  280. //
  281. // lblIdPartner
  282. //
  283. this.lblIdPartner.AutoSize = true;
  284. this.lblIdPartner.Location = new System.Drawing.Point(514, 102);
  285. this.lblIdPartner.Name = "lblIdPartner";
  286. this.lblIdPartner.Size = new System.Drawing.Size(91, 15);
  287. this.lblIdPartner.TabIndex = 2;
  288. this.lblIdPartner.Text = "lblIdPartner";
  289. //
  290. // btnSave
  291. //
  292. this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(99)))), ((int)(((byte)(245)))));
  293. this.btnSave.ForeColor = System.Drawing.Color.GhostWhite;
  294. this.btnSave.Location = new System.Drawing.Point(22, 390);
  295. this.btnSave.Name = "btnSave";
  296. this.btnSave.Size = new System.Drawing.Size(163, 36);
  297. this.btnSave.TabIndex = 17;
  298. this.btnSave.Text = "Сохранить";
  299. this.btnSave.UseVisualStyleBackColor = false;
  300. this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
  301. //
  302. // bntCancel
  303. //
  304. this.bntCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(99)))), ((int)(((byte)(245)))));
  305. this.bntCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
  306. this.bntCancel.ForeColor = System.Drawing.Color.GhostWhite;
  307. this.bntCancel.Location = new System.Drawing.Point(442, 390);
  308. this.bntCancel.Name = "bntCancel";
  309. this.bntCancel.Size = new System.Drawing.Size(163, 36);
  310. this.bntCancel.TabIndex = 18;
  311. this.bntCancel.Text = "Отменить";
  312. this.bntCancel.UseVisualStyleBackColor = false;
  313. //
  314. // cmbTypePartner
  315. //
  316. this.cmbTypePartner.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "IDTypePartner", true));
  317. this.cmbTypePartner.DataSource = this.bsTypePartner;
  318. this.cmbTypePartner.DisplayMember = "TypePartner";
  319. this.cmbTypePartner.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  320. this.cmbTypePartner.FormattingEnabled = true;
  321. this.cmbTypePartner.Location = new System.Drawing.Point(124, 202);
  322. this.cmbTypePartner.Name = "cmbTypePartner";
  323. this.cmbTypePartner.Size = new System.Drawing.Size(163, 23);
  324. this.cmbTypePartner.TabIndex = 19;
  325. this.cmbTypePartner.ValueMember = "IDTypePartner";
  326. //
  327. // label1
  328. //
  329. this.label1.AutoSize = true;
  330. this.label1.Location = new System.Drawing.Point(20, 205);
  331. this.label1.Name = "label1";
  332. this.label1.Size = new System.Drawing.Size(98, 15);
  333. this.label1.TabIndex = 20;
  334. this.label1.Text = "Тип партнера:";
  335. //
  336. // bsTypePartner
  337. //
  338. this.bsTypePartner.DataMember = "TypePartner";
  339. this.bsTypePartner.DataSource = this.alfafloorGDVDataSet1;
  340. //
  341. // typePartnerTableAdapter
  342. //
  343. this.typePartnerTableAdapter.ClearBeforeFill = true;
  344. //
  345. // bsRegion
  346. //
  347. this.bsRegion.DataMember = "Region";
  348. this.bsRegion.DataSource = this.alfafloorGDVDataSet1;
  349. //
  350. // bsCity
  351. //
  352. this.bsCity.DataMember = "City";
  353. this.bsCity.DataSource = this.alfafloorGDVDataSet1;
  354. //
  355. // bsStreet
  356. //
  357. this.bsStreet.DataMember = "Street";
  358. this.bsStreet.DataSource = this.alfafloorGDVDataSet1;
  359. //
  360. // bsPostCode
  361. //
  362. this.bsPostCode.DataMember = "PostCode";
  363. this.bsPostCode.DataSource = this.alfafloorGDVDataSet1;
  364. //
  365. // regionTableAdapter
  366. //
  367. this.regionTableAdapter.ClearBeforeFill = true;
  368. //
  369. // cityTableAdapter
  370. //
  371. this.cityTableAdapter.ClearBeforeFill = true;
  372. //
  373. // streetTableAdapter
  374. //
  375. this.streetTableAdapter.ClearBeforeFill = true;
  376. //
  377. // postCodeTableAdapter
  378. //
  379. this.postCodeTableAdapter.ClearBeforeFill = true;
  380. //
  381. // cmbRegion
  382. //
  383. this.cmbRegion.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "IDRegion", true));
  384. this.cmbRegion.DataSource = this.bsRegion;
  385. this.cmbRegion.DisplayMember = "Region";
  386. this.cmbRegion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  387. this.cmbRegion.FormattingEnabled = true;
  388. this.cmbRegion.Location = new System.Drawing.Point(124, 256);
  389. this.cmbRegion.Name = "cmbRegion";
  390. this.cmbRegion.Size = new System.Drawing.Size(163, 23);
  391. this.cmbRegion.TabIndex = 21;
  392. this.cmbRegion.ValueMember = "IDRegion";
  393. //
  394. // cmbCity
  395. //
  396. this.cmbCity.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "IDCity", true));
  397. this.cmbCity.DataSource = this.bsCity;
  398. this.cmbCity.DisplayMember = "City";
  399. this.cmbCity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  400. this.cmbCity.FormattingEnabled = true;
  401. this.cmbCity.Location = new System.Drawing.Point(124, 285);
  402. this.cmbCity.Name = "cmbCity";
  403. this.cmbCity.Size = new System.Drawing.Size(163, 23);
  404. this.cmbCity.TabIndex = 22;
  405. this.cmbCity.ValueMember = "IDCity";
  406. //
  407. // cmbStreet
  408. //
  409. this.cmbStreet.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "IDStreet", true));
  410. this.cmbStreet.DataSource = this.bsStreet;
  411. this.cmbStreet.DisplayMember = "Street";
  412. this.cmbStreet.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  413. this.cmbStreet.FormattingEnabled = true;
  414. this.cmbStreet.Location = new System.Drawing.Point(124, 314);
  415. this.cmbStreet.Name = "cmbStreet";
  416. this.cmbStreet.Size = new System.Drawing.Size(163, 23);
  417. this.cmbStreet.TabIndex = 23;
  418. this.cmbStreet.ValueMember = "IDStreet";
  419. //
  420. // cmbPostCode
  421. //
  422. this.cmbPostCode.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bsPartner, "IDPostCode", true));
  423. this.cmbPostCode.DataSource = this.bsPostCode;
  424. this.cmbPostCode.DisplayMember = "PostCode";
  425. this.cmbPostCode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  426. this.cmbPostCode.FormattingEnabled = true;
  427. this.cmbPostCode.Location = new System.Drawing.Point(124, 343);
  428. this.cmbPostCode.Name = "cmbPostCode";
  429. this.cmbPostCode.Size = new System.Drawing.Size(163, 23);
  430. this.cmbPostCode.TabIndex = 24;
  431. this.cmbPostCode.ValueMember = "IDPostCode";
  432. //
  433. // label2
  434. //
  435. label2.AutoSize = true;
  436. label2.Location = new System.Drawing.Point(62, 259);
  437. label2.Name = "label2";
  438. label2.Size = new System.Drawing.Size(56, 15);
  439. label2.TabIndex = 25;
  440. label2.Text = "Регион:";
  441. //
  442. // label3
  443. //
  444. label3.AutoSize = true;
  445. label3.Location = new System.Drawing.Point(69, 288);
  446. label3.Name = "label3";
  447. label3.Size = new System.Drawing.Size(49, 15);
  448. label3.TabIndex = 26;
  449. label3.Text = "Город:";
  450. //
  451. // label4
  452. //
  453. label4.AutoSize = true;
  454. label4.Location = new System.Drawing.Point(69, 317);
  455. label4.Name = "label4";
  456. label4.Size = new System.Drawing.Size(49, 15);
  457. label4.TabIndex = 27;
  458. label4.Text = "Улица:";
  459. //
  460. // label5
  461. //
  462. label5.AutoSize = true;
  463. label5.Location = new System.Drawing.Point(-1, 346);
  464. label5.Name = "label5";
  465. label5.Size = new System.Drawing.Size(119, 15);
  466. label5.TabIndex = 28;
  467. label5.Text = "Почтовый индекс:";
  468. //
  469. // FormAddEdit
  470. //
  471. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
  472. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  473. this.BackColor = System.Drawing.Color.White;
  474. this.ClientSize = new System.Drawing.Size(646, 463);
  475. this.Controls.Add(label5);
  476. this.Controls.Add(label4);
  477. this.Controls.Add(label3);
  478. this.Controls.Add(label2);
  479. this.Controls.Add(this.cmbPostCode);
  480. this.Controls.Add(this.cmbStreet);
  481. this.Controls.Add(this.cmbCity);
  482. this.Controls.Add(this.cmbRegion);
  483. this.Controls.Add(this.label1);
  484. this.Controls.Add(this.cmbTypePartner);
  485. this.Controls.Add(this.bntCancel);
  486. this.Controls.Add(this.btnSave);
  487. this.Controls.Add(ratingLabel);
  488. this.Controls.Add(this.ratingTextBox);
  489. this.Controls.Add(phoneLabel);
  490. this.Controls.Add(this.phoneTextBox);
  491. this.Controls.Add(emailLabel);
  492. this.Controls.Add(this.emailTextBox);
  493. this.Controls.Add(patronomycLabel);
  494. this.Controls.Add(this.patronomycTextBox);
  495. this.Controls.Add(nameLabel);
  496. this.Controls.Add(this.nameTextBox);
  497. this.Controls.Add(surnameLabel);
  498. this.Controls.Add(this.surnameTextBox);
  499. this.Controls.Add(namepartnerLabel);
  500. this.Controls.Add(this.namepartnerTextBox);
  501. this.Controls.Add(this.panel1);
  502. this.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
  503. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  504. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  505. this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  506. this.Name = "FormAddEdit";
  507. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
  508. this.Text = "OOO \"Альфапол\"";
  509. this.Load += new System.EventHandler(this.FormAddEdit_Load);
  510. this.panel1.ResumeLayout(false);
  511. this.panel1.PerformLayout();
  512. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  513. ((System.ComponentModel.ISupportInitialize)(this.alfafloorGDVDataSet1)).EndInit();
  514. ((System.ComponentModel.ISupportInitialize)(this.bsPartner)).EndInit();
  515. ((System.ComponentModel.ISupportInitialize)(this.bsTypePartner)).EndInit();
  516. ((System.ComponentModel.ISupportInitialize)(this.bsRegion)).EndInit();
  517. ((System.ComponentModel.ISupportInitialize)(this.bsCity)).EndInit();
  518. ((System.ComponentModel.ISupportInitialize)(this.bsStreet)).EndInit();
  519. ((System.ComponentModel.ISupportInitialize)(this.bsPostCode)).EndInit();
  520. this.ResumeLayout(false);
  521. this.PerformLayout();
  522. }
  523. #endregion
  524. private System.Windows.Forms.Panel panel1;
  525. private System.Windows.Forms.PictureBox pictureBox1;
  526. public System.Windows.Forms.Label lblTitleForm;
  527. private AlfafloorGDVDataSet alfafloorGDVDataSet1;
  528. private AlfafloorGDVDataSetTableAdapters.PartnerTableAdapter partnerTableAdapter;
  529. private AlfafloorGDVDataSetTableAdapters.TableAdapterManager tableAdapterManager;
  530. private System.Windows.Forms.TextBox namepartnerTextBox;
  531. private System.Windows.Forms.TextBox surnameTextBox;
  532. private System.Windows.Forms.TextBox nameTextBox;
  533. private System.Windows.Forms.TextBox patronomycTextBox;
  534. private System.Windows.Forms.TextBox emailTextBox;
  535. private System.Windows.Forms.TextBox phoneTextBox;
  536. private System.Windows.Forms.TextBox ratingTextBox;
  537. public System.Windows.Forms.Label lblIdPartner;
  538. private System.Windows.Forms.Button btnSave;
  539. private System.Windows.Forms.Button bntCancel;
  540. public System.Windows.Forms.BindingSource bsPartner;
  541. private System.Windows.Forms.ComboBox cmbTypePartner;
  542. private System.Windows.Forms.Label label1;
  543. private AlfafloorGDVDataSetTableAdapters.TypePartnerTableAdapter typePartnerTableAdapter;
  544. private System.Windows.Forms.BindingSource bsTypePartner;
  545. private AlfafloorGDVDataSetTableAdapters.RegionTableAdapter regionTableAdapter;
  546. private System.Windows.Forms.BindingSource bsRegion;
  547. private System.Windows.Forms.BindingSource bsCity;
  548. private System.Windows.Forms.BindingSource bsStreet;
  549. private System.Windows.Forms.BindingSource bsPostCode;
  550. private AlfafloorGDVDataSetTableAdapters.CityTableAdapter cityTableAdapter;
  551. private AlfafloorGDVDataSetTableAdapters.StreetTableAdapter streetTableAdapter;
  552. private AlfafloorGDVDataSetTableAdapters.PostCodeTableAdapter postCodeTableAdapter;
  553. private System.Windows.Forms.ComboBox cmbRegion;
  554. private System.Windows.Forms.ComboBox cmbCity;
  555. private System.Windows.Forms.ComboBox cmbStreet;
  556. private System.Windows.Forms.ComboBox cmbPostCode;
  557. }
  558. }