FormAddEdit.Designer.cs 29 KB

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