f_presta.Designer.cs 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. namespace Fuel01
  2. {
  3. partial class f_presta
  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.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
  33. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
  34. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
  35. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
  36. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
  37. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
  38. this.splitContainer1 = new System.Windows.Forms.SplitContainer();
  39. this.splitContainer2 = new System.Windows.Forms.SplitContainer();
  40. this.tabControl1 = new System.Windows.Forms.TabControl();
  41. this.tabPrix = new System.Windows.Forms.TabPage();
  42. this.splitContainer3 = new System.Windows.Forms.SplitContainer();
  43. this.dg_presta = new System.Windows.Forms.DataGridView();
  44. this.dg_presta_Sta = new System.Windows.Forms.DataGridViewTextBoxColumn();
  45. this.dg_presta_prod = new System.Windows.Forms.DataGridViewComboBoxColumn();
  46. this.dg_presta_kind = new System.Windows.Forms.DataGridViewTextBoxColumn();
  47. this.dg_presta_unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
  48. this.dg_presta_pu = new System.Windows.Forms.DataGridViewTextBoxColumn();
  49. this.dg_presta_tva = new System.Windows.Forms.DataGridViewTextBoxColumn();
  50. this.dg_presta_ttc = new System.Windows.Forms.DataGridViewTextBoxColumn();
  51. this.tbprestaBindingSource = new System.Windows.Forms.BindingSource(this.components);
  52. this.dataSet1 = new Fuel01.DataSet1();
  53. this.bt_calcTTC = new System.Windows.Forms.Button();
  54. this.bt_calcHT = new System.Windows.Forms.Button();
  55. this.bt_ajProd = new System.Windows.Forms.Button();
  56. this.bt_ajCarbu = new System.Windows.Forms.Button();
  57. this.tabVente = new System.Windows.Forms.TabPage();
  58. this.splitContainer4 = new System.Windows.Forms.SplitContainer();
  59. this.dg_vente = new System.Windows.Forms.DataGridView();
  60. this.dg_vt_epr = new System.Windows.Forms.DataGridViewTextBoxColumn();
  61. this.dg_vt_sta = new System.Windows.Forms.DataGridViewTextBoxColumn();
  62. this.dg_vt_vehi = new System.Windows.Forms.DataGridViewTextBoxColumn();
  63. this.dg_vt_prod = new System.Windows.Forms.DataGridViewTextBoxColumn();
  64. this.dg_vt_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
  65. this.dg_vt_qtt = new System.Windows.Forms.DataGridViewTextBoxColumn();
  66. this.dg_vt_pu = new System.Windows.Forms.DataGridViewTextBoxColumn();
  67. this.dg_vt_tva = new System.Windows.Forms.DataGridViewTextBoxColumn();
  68. this.dg_ht_vt = new System.Windows.Forms.DataGridViewTextBoxColumn();
  69. this.dg_vt_ttc = new System.Windows.Forms.DataGridViewTextBoxColumn();
  70. this.tbventeBindingSource = new System.Windows.Forms.BindingSource(this.components);
  71. this.chk_modif = new System.Windows.Forms.CheckBox();
  72. this.t_facture = new System.Windows.Forms.Button();
  73. this.button1 = new System.Windows.Forms.Button();
  74. this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
  75. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
  76. this.splitContainer1.Panel1.SuspendLayout();
  77. this.splitContainer1.Panel2.SuspendLayout();
  78. this.splitContainer1.SuspendLayout();
  79. ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
  80. this.splitContainer2.Panel2.SuspendLayout();
  81. this.splitContainer2.SuspendLayout();
  82. this.tabControl1.SuspendLayout();
  83. this.tabPrix.SuspendLayout();
  84. ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
  85. this.splitContainer3.Panel1.SuspendLayout();
  86. this.splitContainer3.Panel2.SuspendLayout();
  87. this.splitContainer3.SuspendLayout();
  88. ((System.ComponentModel.ISupportInitialize)(this.dg_presta)).BeginInit();
  89. ((System.ComponentModel.ISupportInitialize)(this.tbprestaBindingSource)).BeginInit();
  90. ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
  91. this.tabVente.SuspendLayout();
  92. ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
  93. this.splitContainer4.Panel1.SuspendLayout();
  94. this.splitContainer4.Panel2.SuspendLayout();
  95. this.splitContainer4.SuspendLayout();
  96. ((System.ComponentModel.ISupportInitialize)(this.dg_vente)).BeginInit();
  97. ((System.ComponentModel.ISupportInitialize)(this.tbventeBindingSource)).BeginInit();
  98. this.SuspendLayout();
  99. //
  100. // splitContainer1
  101. //
  102. this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
  103. this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
  104. this.splitContainer1.Location = new System.Drawing.Point(0, 0);
  105. this.splitContainer1.Name = "splitContainer1";
  106. this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
  107. //
  108. // splitContainer1.Panel1
  109. //
  110. this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
  111. //
  112. // splitContainer1.Panel2
  113. //
  114. this.splitContainer1.Panel2.Controls.Add(this.button1);
  115. this.splitContainer1.Size = new System.Drawing.Size(748, 449);
  116. this.splitContainer1.SplitterDistance = 394;
  117. this.splitContainer1.TabIndex = 0;
  118. //
  119. // splitContainer2
  120. //
  121. this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
  122. this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
  123. this.splitContainer2.Location = new System.Drawing.Point(0, 0);
  124. this.splitContainer2.Name = "splitContainer2";
  125. this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
  126. //
  127. // splitContainer2.Panel2
  128. //
  129. this.splitContainer2.Panel2.Controls.Add(this.tabControl1);
  130. this.splitContainer2.Size = new System.Drawing.Size(748, 394);
  131. this.splitContainer2.SplitterDistance = 30;
  132. this.splitContainer2.TabIndex = 1;
  133. //
  134. // tabControl1
  135. //
  136. this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
  137. this.tabControl1.Controls.Add(this.tabPrix);
  138. this.tabControl1.Controls.Add(this.tabVente);
  139. this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
  140. this.tabControl1.Location = new System.Drawing.Point(0, 0);
  141. this.tabControl1.Name = "tabControl1";
  142. this.tabControl1.SelectedIndex = 0;
  143. this.tabControl1.Size = new System.Drawing.Size(748, 360);
  144. this.tabControl1.TabIndex = 0;
  145. //
  146. // tabPrix
  147. //
  148. this.tabPrix.Controls.Add(this.splitContainer3);
  149. this.tabPrix.Location = new System.Drawing.Point(4, 25);
  150. this.tabPrix.Name = "tabPrix";
  151. this.tabPrix.Padding = new System.Windows.Forms.Padding(3);
  152. this.tabPrix.Size = new System.Drawing.Size(740, 331);
  153. this.tabPrix.TabIndex = 0;
  154. this.tabPrix.Text = "Prix de Vente";
  155. this.tabPrix.UseVisualStyleBackColor = true;
  156. //
  157. // splitContainer3
  158. //
  159. this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
  160. this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
  161. this.splitContainer3.Location = new System.Drawing.Point(3, 3);
  162. this.splitContainer3.Name = "splitContainer3";
  163. //
  164. // splitContainer3.Panel1
  165. //
  166. this.splitContainer3.Panel1.Controls.Add(this.dg_presta);
  167. //
  168. // splitContainer3.Panel2
  169. //
  170. this.splitContainer3.Panel2.Controls.Add(this.bt_calcTTC);
  171. this.splitContainer3.Panel2.Controls.Add(this.bt_calcHT);
  172. this.splitContainer3.Panel2.Controls.Add(this.bt_ajProd);
  173. this.splitContainer3.Panel2.Controls.Add(this.bt_ajCarbu);
  174. this.splitContainer3.Size = new System.Drawing.Size(734, 325);
  175. this.splitContainer3.SplitterDistance = 592;
  176. this.splitContainer3.TabIndex = 7;
  177. //
  178. // dg_presta
  179. //
  180. this.dg_presta.AutoGenerateColumns = false;
  181. this.dg_presta.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  182. this.dg_presta.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  183. this.dg_presta_Sta,
  184. this.dg_presta_prod,
  185. this.dg_presta_kind,
  186. this.dg_presta_unit,
  187. this.dg_presta_pu,
  188. this.dg_presta_tva,
  189. this.dg_presta_ttc});
  190. this.dg_presta.DataSource = this.tbprestaBindingSource;
  191. this.dg_presta.Dock = System.Windows.Forms.DockStyle.Fill;
  192. this.dg_presta.Location = new System.Drawing.Point(0, 0);
  193. this.dg_presta.Name = "dg_presta";
  194. this.dg_presta.Size = new System.Drawing.Size(592, 325);
  195. this.dg_presta.TabIndex = 3;
  196. this.dg_presta.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dg_presta_RowsAdded);
  197. //
  198. // dg_presta_Sta
  199. //
  200. this.dg_presta_Sta.DataPropertyName = "sta_pr";
  201. this.dg_presta_Sta.HeaderText = "sta_pr";
  202. this.dg_presta_Sta.Name = "dg_presta_Sta";
  203. this.dg_presta_Sta.Visible = false;
  204. //
  205. // dg_presta_prod
  206. //
  207. this.dg_presta_prod.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  208. this.dg_presta_prod.DataPropertyName = "prod_pr";
  209. this.dg_presta_prod.HeaderText = "Produit";
  210. this.dg_presta_prod.Name = "dg_presta_prod";
  211. this.dg_presta_prod.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  212. this.dg_presta_prod.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
  213. //
  214. // dg_presta_kind
  215. //
  216. this.dg_presta_kind.DataPropertyName = "kind_pr";
  217. this.dg_presta_kind.HeaderText = "Type";
  218. this.dg_presta_kind.Name = "dg_presta_kind";
  219. this.dg_presta_kind.Width = 60;
  220. //
  221. // dg_presta_unit
  222. //
  223. this.dg_presta_unit.DataPropertyName = "unite_pr";
  224. this.dg_presta_unit.HeaderText = "Unité";
  225. this.dg_presta_unit.Name = "dg_presta_unit";
  226. this.dg_presta_unit.Width = 50;
  227. //
  228. // dg_presta_pu
  229. //
  230. this.dg_presta_pu.DataPropertyName = "pu_pr";
  231. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  232. dataGridViewCellStyle1.Format = "N3";
  233. dataGridViewCellStyle1.NullValue = null;
  234. this.dg_presta_pu.DefaultCellStyle = dataGridViewCellStyle1;
  235. this.dg_presta_pu.HeaderText = "PU HT";
  236. this.dg_presta_pu.Name = "dg_presta_pu";
  237. this.dg_presta_pu.Width = 50;
  238. //
  239. // dg_presta_tva
  240. //
  241. this.dg_presta_tva.DataPropertyName = "tva_pr";
  242. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  243. dataGridViewCellStyle2.Format = "N2";
  244. dataGridViewCellStyle2.NullValue = null;
  245. this.dg_presta_tva.DefaultCellStyle = dataGridViewCellStyle2;
  246. this.dg_presta_tva.HeaderText = "TVA";
  247. this.dg_presta_tva.Name = "dg_presta_tva";
  248. this.dg_presta_tva.Width = 50;
  249. //
  250. // dg_presta_ttc
  251. //
  252. this.dg_presta_ttc.DataPropertyName = "ttc_pr";
  253. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  254. dataGridViewCellStyle3.Format = "N3";
  255. dataGridViewCellStyle3.NullValue = null;
  256. this.dg_presta_ttc.DefaultCellStyle = dataGridViewCellStyle3;
  257. this.dg_presta_ttc.HeaderText = "PU TTC";
  258. this.dg_presta_ttc.Name = "dg_presta_ttc";
  259. this.dg_presta_ttc.Width = 50;
  260. //
  261. // tbprestaBindingSource
  262. //
  263. this.tbprestaBindingSource.DataMember = "tb_presta";
  264. this.tbprestaBindingSource.DataSource = this.dataSet1;
  265. //
  266. // dataSet1
  267. //
  268. this.dataSet1.DataSetName = "DataSet1";
  269. this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
  270. //
  271. // bt_calcTTC
  272. //
  273. this.bt_calcTTC.Location = new System.Drawing.Point(19, 182);
  274. this.bt_calcTTC.Name = "bt_calcTTC";
  275. this.bt_calcTTC.Size = new System.Drawing.Size(100, 23);
  276. this.bt_calcTTC.TabIndex = 10;
  277. this.bt_calcTTC.Text = "Calcul HT->TTC";
  278. this.toolTip1.SetToolTip(this.bt_calcTTC, "Recalcule les prix TTC à partir des prix HT");
  279. this.bt_calcTTC.UseVisualStyleBackColor = true;
  280. this.bt_calcTTC.Click += new System.EventHandler(this.bt_calcTTC_Click);
  281. //
  282. // bt_calcHT
  283. //
  284. this.bt_calcHT.Location = new System.Drawing.Point(19, 135);
  285. this.bt_calcHT.Name = "bt_calcHT";
  286. this.bt_calcHT.Size = new System.Drawing.Size(100, 23);
  287. this.bt_calcHT.TabIndex = 9;
  288. this.bt_calcHT.Text = "Calcul TTC->HT";
  289. this.toolTip1.SetToolTip(this.bt_calcHT, "Recalcule les prix HT à partir des prix TTC");
  290. this.bt_calcHT.UseVisualStyleBackColor = true;
  291. this.bt_calcHT.Click += new System.EventHandler(this.bt_calcHT_Click);
  292. //
  293. // bt_ajProd
  294. //
  295. this.bt_ajProd.Location = new System.Drawing.Point(19, 86);
  296. this.bt_ajProd.Name = "bt_ajProd";
  297. this.bt_ajProd.Size = new System.Drawing.Size(100, 23);
  298. this.bt_ajProd.TabIndex = 8;
  299. this.bt_ajProd.Text = "+ Produits";
  300. this.toolTip1.SetToolTip(this.bt_ajProd, "Ajoute tous les produits");
  301. this.bt_ajProd.UseVisualStyleBackColor = true;
  302. this.bt_ajProd.Click += new System.EventHandler(this.bt_ajProd_Click);
  303. //
  304. // bt_ajCarbu
  305. //
  306. this.bt_ajCarbu.Location = new System.Drawing.Point(19, 40);
  307. this.bt_ajCarbu.Name = "bt_ajCarbu";
  308. this.bt_ajCarbu.Size = new System.Drawing.Size(104, 23);
  309. this.bt_ajCarbu.TabIndex = 7;
  310. this.bt_ajCarbu.Text = "+ Carburants";
  311. this.toolTip1.SetToolTip(this.bt_ajCarbu, "Ajouter tous les carburants");
  312. this.bt_ajCarbu.UseVisualStyleBackColor = true;
  313. this.bt_ajCarbu.Click += new System.EventHandler(this.bt_ajCarbu_Click);
  314. //
  315. // tabVente
  316. //
  317. this.tabVente.Controls.Add(this.splitContainer4);
  318. this.tabVente.Location = new System.Drawing.Point(4, 25);
  319. this.tabVente.Name = "tabVente";
  320. this.tabVente.Padding = new System.Windows.Forms.Padding(3);
  321. this.tabVente.Size = new System.Drawing.Size(740, 331);
  322. this.tabVente.TabIndex = 1;
  323. this.tabVente.Text = "Etat des ventes";
  324. this.tabVente.UseVisualStyleBackColor = true;
  325. //
  326. // splitContainer4
  327. //
  328. this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
  329. this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
  330. this.splitContainer4.Location = new System.Drawing.Point(3, 3);
  331. this.splitContainer4.Name = "splitContainer4";
  332. //
  333. // splitContainer4.Panel1
  334. //
  335. this.splitContainer4.Panel1.Controls.Add(this.dg_vente);
  336. //
  337. // splitContainer4.Panel2
  338. //
  339. this.splitContainer4.Panel2.Controls.Add(this.chk_modif);
  340. this.splitContainer4.Panel2.Controls.Add(this.t_facture);
  341. this.splitContainer4.Size = new System.Drawing.Size(734, 325);
  342. this.splitContainer4.SplitterDistance = 593;
  343. this.splitContainer4.TabIndex = 45;
  344. //
  345. // dg_vente
  346. //
  347. this.dg_vente.AllowUserToAddRows = false;
  348. this.dg_vente.AllowUserToDeleteRows = false;
  349. this.dg_vente.AutoGenerateColumns = false;
  350. this.dg_vente.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  351. this.dg_vente.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  352. this.dg_vt_epr,
  353. this.dg_vt_sta,
  354. this.dg_vt_vehi,
  355. this.dg_vt_prod,
  356. this.dg_vt_date,
  357. this.dg_vt_qtt,
  358. this.dg_vt_pu,
  359. this.dg_vt_tva,
  360. this.dg_ht_vt,
  361. this.dg_vt_ttc});
  362. this.dg_vente.DataSource = this.tbventeBindingSource;
  363. this.dg_vente.Dock = System.Windows.Forms.DockStyle.Fill;
  364. this.dg_vente.Location = new System.Drawing.Point(0, 0);
  365. this.dg_vente.Name = "dg_vente";
  366. this.dg_vente.Size = new System.Drawing.Size(593, 325);
  367. this.dg_vente.TabIndex = 1;
  368. this.dg_vente.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dg_vente_CellBeginEdit);
  369. this.dg_vente.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dg_vente_CellEndEdit);
  370. this.dg_vente.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dg_vente_DataError);
  371. this.dg_vente.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dg_vente_RowsAdded);
  372. //
  373. // dg_vt_epr
  374. //
  375. this.dg_vt_epr.DataPropertyName = "epreuve_vt";
  376. this.dg_vt_epr.HeaderText = "epreuve_vt";
  377. this.dg_vt_epr.Name = "dg_vt_epr";
  378. this.dg_vt_epr.ReadOnly = true;
  379. this.dg_vt_epr.Visible = false;
  380. //
  381. // dg_vt_sta
  382. //
  383. this.dg_vt_sta.DataPropertyName = "station_vt";
  384. this.dg_vt_sta.HeaderText = "station_vt";
  385. this.dg_vt_sta.Name = "dg_vt_sta";
  386. this.dg_vt_sta.ReadOnly = true;
  387. this.dg_vt_sta.Visible = false;
  388. //
  389. // dg_vt_vehi
  390. //
  391. this.dg_vt_vehi.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
  392. this.dg_vt_vehi.DataPropertyName = "vehi_vt";
  393. this.dg_vt_vehi.HeaderText = "Vehicule";
  394. this.dg_vt_vehi.Name = "dg_vt_vehi";
  395. this.dg_vt_vehi.ReadOnly = true;
  396. this.dg_vt_vehi.Width = 73;
  397. //
  398. // dg_vt_prod
  399. //
  400. this.dg_vt_prod.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
  401. this.dg_vt_prod.DataPropertyName = "prod_vt";
  402. this.dg_vt_prod.HeaderText = "Produit";
  403. this.dg_vt_prod.MinimumWidth = 50;
  404. this.dg_vt_prod.Name = "dg_vt_prod";
  405. this.dg_vt_prod.ReadOnly = true;
  406. //
  407. // dg_vt_date
  408. //
  409. this.dg_vt_date.DataPropertyName = "date_vt";
  410. dataGridViewCellStyle4.Format = "d";
  411. dataGridViewCellStyle4.NullValue = null;
  412. this.dg_vt_date.DefaultCellStyle = dataGridViewCellStyle4;
  413. this.dg_vt_date.HeaderText = "Date";
  414. this.dg_vt_date.Name = "dg_vt_date";
  415. this.dg_vt_date.ReadOnly = true;
  416. this.dg_vt_date.Width = 80;
  417. //
  418. // dg_vt_qtt
  419. //
  420. this.dg_vt_qtt.DataPropertyName = "qtt_vt";
  421. dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  422. dataGridViewCellStyle5.Format = "N2";
  423. this.dg_vt_qtt.DefaultCellStyle = dataGridViewCellStyle5;
  424. this.dg_vt_qtt.HeaderText = "Qtt";
  425. this.dg_vt_qtt.Name = "dg_vt_qtt";
  426. this.dg_vt_qtt.ReadOnly = true;
  427. this.dg_vt_qtt.Width = 70;
  428. //
  429. // dg_vt_pu
  430. //
  431. this.dg_vt_pu.DataPropertyName = "pu_vt";
  432. dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  433. dataGridViewCellStyle6.Format = "N3";
  434. dataGridViewCellStyle6.NullValue = "0";
  435. this.dg_vt_pu.DefaultCellStyle = dataGridViewCellStyle6;
  436. this.dg_vt_pu.HeaderText = "PU";
  437. this.dg_vt_pu.Name = "dg_vt_pu";
  438. this.dg_vt_pu.ReadOnly = true;
  439. this.dg_vt_pu.Width = 70;
  440. //
  441. // dg_vt_tva
  442. //
  443. this.dg_vt_tva.DataPropertyName = "tva_vt";
  444. dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  445. dataGridViewCellStyle7.Format = "N2";
  446. dataGridViewCellStyle7.NullValue = "0";
  447. this.dg_vt_tva.DefaultCellStyle = dataGridViewCellStyle7;
  448. this.dg_vt_tva.HeaderText = "TVA";
  449. this.dg_vt_tva.Name = "dg_vt_tva";
  450. this.dg_vt_tva.ReadOnly = true;
  451. this.dg_vt_tva.Width = 60;
  452. //
  453. // dg_ht_vt
  454. //
  455. this.dg_ht_vt.DataPropertyName = "ht_vt";
  456. dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  457. dataGridViewCellStyle8.Format = "N2";
  458. this.dg_ht_vt.DefaultCellStyle = dataGridViewCellStyle8;
  459. this.dg_ht_vt.HeaderText = "HT";
  460. this.dg_ht_vt.Name = "dg_ht_vt";
  461. this.dg_ht_vt.Width = 70;
  462. //
  463. // dg_vt_ttc
  464. //
  465. this.dg_vt_ttc.DataPropertyName = "ttc_vt";
  466. dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  467. dataGridViewCellStyle9.Format = "N2";
  468. this.dg_vt_ttc.DefaultCellStyle = dataGridViewCellStyle9;
  469. this.dg_vt_ttc.HeaderText = "TTC";
  470. this.dg_vt_ttc.Name = "dg_vt_ttc";
  471. this.dg_vt_ttc.ReadOnly = true;
  472. this.dg_vt_ttc.Width = 70;
  473. //
  474. // tbventeBindingSource
  475. //
  476. this.tbventeBindingSource.DataMember = "tb_vente";
  477. this.tbventeBindingSource.DataSource = this.dataSet1;
  478. //
  479. // chk_modif
  480. //
  481. this.chk_modif.Location = new System.Drawing.Point(18, 261);
  482. this.chk_modif.Name = "chk_modif";
  483. this.chk_modif.Size = new System.Drawing.Size(104, 47);
  484. this.chk_modif.TabIndex = 47;
  485. this.chk_modif.Text = "Autoriser la modification des quantités";
  486. this.chk_modif.UseVisualStyleBackColor = true;
  487. this.chk_modif.Visible = false;
  488. this.chk_modif.CheckedChanged += new System.EventHandler(this.chk_modif_CheckedChanged);
  489. //
  490. // t_facture
  491. //
  492. this.t_facture.Location = new System.Drawing.Point(18, 43);
  493. this.t_facture.Name = "t_facture";
  494. this.t_facture.Size = new System.Drawing.Size(100, 23);
  495. this.t_facture.TabIndex = 45;
  496. this.t_facture.Text = "Facture";
  497. this.t_facture.UseVisualStyleBackColor = true;
  498. this.t_facture.Click += new System.EventHandler(this.t_facture_Click);
  499. //
  500. // button1
  501. //
  502. this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  503. this.button1.Location = new System.Drawing.Point(622, 16);
  504. this.button1.Name = "button1";
  505. this.button1.Size = new System.Drawing.Size(100, 23);
  506. this.button1.TabIndex = 0;
  507. this.button1.Text = "Sauvegarde";
  508. this.button1.UseVisualStyleBackColor = true;
  509. this.button1.Click += new System.EventHandler(this.button1_Click);
  510. //
  511. // toolTip1
  512. //
  513. this.toolTip1.ToolTipTitle = "Aide";
  514. //
  515. // f_presta
  516. //
  517. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  518. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  519. this.ClientSize = new System.Drawing.Size(748, 449);
  520. this.Controls.Add(this.splitContainer1);
  521. this.Name = "f_presta";
  522. this.ShowIcon = false;
  523. this.ShowInTaskbar = false;
  524. this.Text = "Prestations";
  525. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.f_presta_FormClosing);
  526. this.splitContainer1.Panel1.ResumeLayout(false);
  527. this.splitContainer1.Panel2.ResumeLayout(false);
  528. ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
  529. this.splitContainer1.ResumeLayout(false);
  530. this.splitContainer2.Panel2.ResumeLayout(false);
  531. ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
  532. this.splitContainer2.ResumeLayout(false);
  533. this.tabControl1.ResumeLayout(false);
  534. this.tabPrix.ResumeLayout(false);
  535. this.splitContainer3.Panel1.ResumeLayout(false);
  536. this.splitContainer3.Panel2.ResumeLayout(false);
  537. ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
  538. this.splitContainer3.ResumeLayout(false);
  539. ((System.ComponentModel.ISupportInitialize)(this.dg_presta)).EndInit();
  540. ((System.ComponentModel.ISupportInitialize)(this.tbprestaBindingSource)).EndInit();
  541. ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
  542. this.tabVente.ResumeLayout(false);
  543. this.splitContainer4.Panel1.ResumeLayout(false);
  544. this.splitContainer4.Panel2.ResumeLayout(false);
  545. ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
  546. this.splitContainer4.ResumeLayout(false);
  547. ((System.ComponentModel.ISupportInitialize)(this.dg_vente)).EndInit();
  548. ((System.ComponentModel.ISupportInitialize)(this.tbventeBindingSource)).EndInit();
  549. this.ResumeLayout(false);
  550. }
  551. #endregion
  552. private System.Windows.Forms.SplitContainer splitContainer1;
  553. private System.Windows.Forms.SplitContainer splitContainer2;
  554. private System.Windows.Forms.TabControl tabControl1;
  555. private System.Windows.Forms.TabPage tabPrix;
  556. private System.Windows.Forms.TabPage tabVente;
  557. private System.Windows.Forms.BindingSource tbprestaBindingSource;
  558. private DataSet1 dataSet1;
  559. private System.Windows.Forms.ToolTip toolTip1;
  560. private System.Windows.Forms.BindingSource tbventeBindingSource;
  561. private System.Windows.Forms.Button button1;
  562. private System.Windows.Forms.SplitContainer splitContainer3;
  563. private System.Windows.Forms.Button bt_ajCarbu;
  564. private System.Windows.Forms.Button bt_ajProd;
  565. private System.Windows.Forms.Button bt_calcHT;
  566. private System.Windows.Forms.Button bt_calcTTC;
  567. private System.Windows.Forms.DataGridView dg_presta;
  568. private System.Windows.Forms.SplitContainer splitContainer4;
  569. private System.Windows.Forms.Button t_facture;
  570. private System.Windows.Forms.DataGridView dg_vente;
  571. private System.Windows.Forms.DataGridViewTextBoxColumn dg_presta_ttc;
  572. private System.Windows.Forms.DataGridViewTextBoxColumn dg_presta_tva;
  573. private System.Windows.Forms.DataGridViewTextBoxColumn dg_presta_pu;
  574. private System.Windows.Forms.DataGridViewTextBoxColumn dg_presta_unit;
  575. private System.Windows.Forms.DataGridViewTextBoxColumn dg_presta_kind;
  576. private System.Windows.Forms.DataGridViewComboBoxColumn dg_presta_prod;
  577. private System.Windows.Forms.DataGridViewTextBoxColumn dg_presta_Sta;
  578. private System.Windows.Forms.CheckBox chk_modif;
  579. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_epr;
  580. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_sta;
  581. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_vehi;
  582. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_prod;
  583. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_date;
  584. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_qtt;
  585. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_pu;
  586. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_tva;
  587. private System.Windows.Forms.DataGridViewTextBoxColumn dg_ht_vt;
  588. private System.Windows.Forms.DataGridViewTextBoxColumn dg_vt_ttc;
  589. }
  590. }