PageRenderTime 59ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/Katmai_October2009_Refresh3/Merge/SalesOrders/CS/SalesOrders/SalesOrders.Designer.cs

#
C# | 711 lines | 487 code | 7 blank | 217 comment | 3 complexity | f3cf50cf32e00df2be23218bc469acfc MD5 | raw file
  1. namespace Microsoft.Samples.SqlServer
  2. {
  3. partial class SalesOrders
  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. protected override void Dispose(bool disposing)
  13. {
  14. if (disposing && (components != null))
  15. {
  16. components.Dispose();
  17. }
  18. base.Dispose(disposing);
  19. }
  20. #region Windows Form Designer generated code
  21. /// <summary>
  22. /// Required method for Designer support - do not modify
  23. /// the contents of this method with the code editor.
  24. /// </summary>
  25. private void InitializeComponent()
  26. {
  27. this.components = new System.ComponentModel.Container();
  28. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesOrders));
  29. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  33. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  34. this.TaxTextbox = new System.Windows.Forms.TextBox();
  35. this.uspSalesOrderHeaderSelectCommandBindingSource = new System.Windows.Forms.BindingSource(this.components);
  36. this.uspStoreSelectCommandBindingSource = new System.Windows.Forms.BindingSource(this.components);
  37. this.adventureWorksLocalDataSet = new Microsoft.Samples.SqlServer.AdventureWorksLocalDataSet();
  38. this.FreightTextbox = new System.Windows.Forms.TextBox();
  39. this.SubTotalTextbox = new System.Windows.Forms.TextBox();
  40. this.ModifiedTextbox = new System.Windows.Forms.TextBox();
  41. this.ShipDateTextbox = new System.Windows.Forms.TextBox();
  42. this.TotalTextbox = new System.Windows.Forms.TextBox();
  43. this.OrderInformationLabel = new System.Windows.Forms.Label();
  44. this.PONumberLabel = new System.Windows.Forms.Label();
  45. this.CommentTextbox = new System.Windows.Forms.TextBox();
  46. this.mnuFile = new System.Windows.Forms.MenuItem();
  47. this.mnuFileExit = new System.Windows.Forms.MenuItem();
  48. this.mnuOrder = new System.Windows.Forms.MenuItem();
  49. this.mnuOrderNew = new System.Windows.Forms.MenuItem();
  50. this.mnuOrderEdit = new System.Windows.Forms.MenuItem();
  51. this.mnuSynchronize = new System.Windows.Forms.MenuItem();
  52. this.mnuSynchronizeAllData = new System.Windows.Forms.MenuItem();
  53. this.mnuSynchronizeOnlyUploadData = new System.Windows.Forms.MenuItem();
  54. this.mnuSyncWhenConnected = new System.Windows.Forms.MenuItem();
  55. this.mnuSynchronizeAdvanced = new System.Windows.Forms.MenuItem();
  56. this.mnuSynchronizeAdvancedReinitializeData = new System.Windows.Forms.MenuItem();
  57. this.mnuSynchronizeAdvancedUploadAndReinitializeData = new System.Windows.Forms.MenuItem();
  58. this.mnuWebSync = new System.Windows.Forms.MenuItem();
  59. this.mnuSubscriptionStatus = new System.Windows.Forms.MenuItem();
  60. this.PONumberTextbox = new System.Windows.Forms.TextBox();
  61. this.CreatedTextbox = new System.Windows.Forms.TextBox();
  62. this.salesOrderDetailDataGridView = new System.Windows.Forms.DataGridView();
  63. this.SalesOrderDetailIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  64. this.ProductNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  65. this.ProductNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  66. this.UnitPriceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  67. this.OrderQtyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  68. this.DescriptionDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  69. this.uspSalesOrderDetailSelectCommandBindingSource = new System.Windows.Forms.BindingSource(this.components);
  70. this.StatusComboBox = new System.Windows.Forms.ComboBox();
  71. this.ufnGetStatusTextTableBindingSource = new System.Windows.Forms.BindingSource(this.components);
  72. this.TaxLabel = new System.Windows.Forms.Label();
  73. this.FreightLabel = new System.Windows.Forms.Label();
  74. this.logoPictureBox = new System.Windows.Forms.PictureBox();
  75. this.CustomerLabel = new System.Windows.Forms.Label();
  76. this.orderLabel = new System.Windows.Forms.Label();
  77. this.CommentLabel = new System.Windows.Forms.Label();
  78. this.StatusLabel = new System.Windows.Forms.Label();
  79. this.CreatedLabel = new System.Windows.Forms.Label();
  80. this.ShipDateLabel = new System.Windows.Forms.Label();
  81. this.ModifiedLabel = new System.Windows.Forms.Label();
  82. this.SubTotalLabel = new System.Windows.Forms.Label();
  83. this.TotalLabel = new System.Windows.Forms.Label();
  84. this.NewOrderButton = new System.Windows.Forms.Button();
  85. this.EditOrderButton = new System.Windows.Forms.Button();
  86. this.OrderItemsLabel = new System.Windows.Forms.Label();
  87. this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components);
  88. this.mnuHelp = new System.Windows.Forms.MenuItem();
  89. this.mnuAbout = new System.Windows.Forms.MenuItem();
  90. this.SalesOrderIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  91. this.syncTimer = new System.Timers.Timer();
  92. this.syncWhenConnectedStrip = new System.Windows.Forms.StatusStrip();
  93. this.syncWhenConnectedIcon = new System.Windows.Forms.ToolStripStatusLabel();
  94. this.syncWhenConnectedStatus = new System.Windows.Forms.ToolStripProgressBar();
  95. this.syncWhenConnectedText = new System.Windows.Forms.ToolStripStatusLabel();
  96. this.CustomerCombobox = new System.Windows.Forms.ComboBox();
  97. this.SalesOrderComboBox = new System.Windows.Forms.ComboBox();
  98. this.uspStoreSelectCommandTableAdapter = new Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.uspStoreSelectCommandTableAdapter();
  99. this.uspSalesOrderHeaderSelectCommandTableAdapter = new Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.uspSalesOrderHeaderSelectCommandTableAdapter();
  100. this.uspSalesOrderDetailSelectCommandTableAdapter = new Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.uspSalesOrderDetailSelectCommandTableAdapter();
  101. this.ufnGetStatusTextTableTableAdapter = new Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.ufnGetStatusTextTableTableAdapter();
  102. ((System.ComponentModel.ISupportInitialize)(this.uspSalesOrderHeaderSelectCommandBindingSource)).BeginInit();
  103. ((System.ComponentModel.ISupportInitialize)(this.uspStoreSelectCommandBindingSource)).BeginInit();
  104. ((System.ComponentModel.ISupportInitialize)(this.adventureWorksLocalDataSet)).BeginInit();
  105. ((System.ComponentModel.ISupportInitialize)(this.salesOrderDetailDataGridView)).BeginInit();
  106. ((System.ComponentModel.ISupportInitialize)(this.uspSalesOrderDetailSelectCommandBindingSource)).BeginInit();
  107. ((System.ComponentModel.ISupportInitialize)(this.ufnGetStatusTextTableBindingSource)).BeginInit();
  108. ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).BeginInit();
  109. ((System.ComponentModel.ISupportInitialize)(this.syncTimer)).BeginInit();
  110. this.syncWhenConnectedStrip.SuspendLayout();
  111. this.SuspendLayout();
  112. //
  113. // TaxTextbox
  114. //
  115. this.TaxTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "TaxAmt", true));
  116. resources.ApplyResources(this.TaxTextbox, "TaxTextbox");
  117. this.TaxTextbox.Name = "TaxTextbox";
  118. this.TaxTextbox.ReadOnly = true;
  119. //
  120. // uspSalesOrderHeaderSelectCommandBindingSource
  121. //
  122. this.uspSalesOrderHeaderSelectCommandBindingSource.DataMember = "FK_uspStoreSelectCommand_uspSalesOrderHeaderSelectCommand";
  123. this.uspSalesOrderHeaderSelectCommandBindingSource.DataSource = this.uspStoreSelectCommandBindingSource;
  124. //
  125. // uspStoreSelectCommandBindingSource
  126. //
  127. this.uspStoreSelectCommandBindingSource.DataMember = "uspStoreSelectCommand";
  128. this.uspStoreSelectCommandBindingSource.DataSource = this.adventureWorksLocalDataSet;
  129. //
  130. // adventureWorksLocalDataSet
  131. //
  132. this.adventureWorksLocalDataSet.DataSetName = "AdventureWorksLocalDataSet";
  133. this.adventureWorksLocalDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
  134. //
  135. // FreightTextbox
  136. //
  137. this.FreightTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "Freight", true));
  138. resources.ApplyResources(this.FreightTextbox, "FreightTextbox");
  139. this.FreightTextbox.Name = "FreightTextbox";
  140. this.FreightTextbox.ReadOnly = true;
  141. //
  142. // SubTotalTextbox
  143. //
  144. this.SubTotalTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "SubTotal", true));
  145. resources.ApplyResources(this.SubTotalTextbox, "SubTotalTextbox");
  146. this.SubTotalTextbox.Name = "SubTotalTextbox";
  147. this.SubTotalTextbox.ReadOnly = true;
  148. //
  149. // ModifiedTextbox
  150. //
  151. this.ModifiedTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "ModifiedDate", true));
  152. resources.ApplyResources(this.ModifiedTextbox, "ModifiedTextbox");
  153. this.ModifiedTextbox.Name = "ModifiedTextbox";
  154. this.ModifiedTextbox.ReadOnly = true;
  155. //
  156. // ShipDateTextbox
  157. //
  158. this.ShipDateTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "ShipDate", true));
  159. resources.ApplyResources(this.ShipDateTextbox, "ShipDateTextbox");
  160. this.ShipDateTextbox.Name = "ShipDateTextbox";
  161. this.ShipDateTextbox.ReadOnly = true;
  162. //
  163. // TotalTextbox
  164. //
  165. this.TotalTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "TotalDue", true));
  166. resources.ApplyResources(this.TotalTextbox, "TotalTextbox");
  167. this.TotalTextbox.Name = "TotalTextbox";
  168. this.TotalTextbox.ReadOnly = true;
  169. //
  170. // OrderInformationLabel
  171. //
  172. resources.ApplyResources(this.OrderInformationLabel, "OrderInformationLabel");
  173. this.OrderInformationLabel.Name = "OrderInformationLabel";
  174. //
  175. // PONumberLabel
  176. //
  177. resources.ApplyResources(this.PONumberLabel, "PONumberLabel");
  178. this.PONumberLabel.Name = "PONumberLabel";
  179. //
  180. // CommentTextbox
  181. //
  182. this.CommentTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "Comment", true));
  183. resources.ApplyResources(this.CommentTextbox, "CommentTextbox");
  184. this.CommentTextbox.Name = "CommentTextbox";
  185. this.CommentTextbox.ReadOnly = true;
  186. //
  187. // mnuFile
  188. //
  189. this.mnuFile.Index = 0;
  190. this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
  191. this.mnuFileExit});
  192. resources.ApplyResources(this.mnuFile, "mnuFile");
  193. //
  194. // mnuFileExit
  195. //
  196. this.mnuFileExit.Index = 0;
  197. resources.ApplyResources(this.mnuFileExit, "mnuFileExit");
  198. this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click);
  199. //
  200. // mnuOrder
  201. //
  202. this.mnuOrder.Index = 1;
  203. this.mnuOrder.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
  204. this.mnuOrderNew,
  205. this.mnuOrderEdit});
  206. resources.ApplyResources(this.mnuOrder, "mnuOrder");
  207. //
  208. // mnuOrderNew
  209. //
  210. this.mnuOrderNew.Index = 0;
  211. resources.ApplyResources(this.mnuOrderNew, "mnuOrderNew");
  212. this.mnuOrderNew.Click += new System.EventHandler(this.mnuOrderNew_Click);
  213. //
  214. // mnuOrderEdit
  215. //
  216. this.mnuOrderEdit.Index = 1;
  217. resources.ApplyResources(this.mnuOrderEdit, "mnuOrderEdit");
  218. this.mnuOrderEdit.Click += new System.EventHandler(this.mnuOrderEdit_Click);
  219. //
  220. // mnuSynchronize
  221. //
  222. this.mnuSynchronize.Index = 2;
  223. this.mnuSynchronize.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
  224. this.mnuSynchronizeAllData,
  225. this.mnuSynchronizeOnlyUploadData,
  226. this.mnuSyncWhenConnected,
  227. this.mnuSynchronizeAdvanced});
  228. resources.ApplyResources(this.mnuSynchronize, "mnuSynchronize");
  229. //
  230. // mnuSynchronizeAllData
  231. //
  232. this.mnuSynchronizeAllData.DefaultItem = true;
  233. this.mnuSynchronizeAllData.Index = 0;
  234. resources.ApplyResources(this.mnuSynchronizeAllData, "mnuSynchronizeAllData");
  235. this.mnuSynchronizeAllData.Click += new System.EventHandler(this.mnuSynchronizeAllData_Click);
  236. //
  237. // mnuSynchronizeOnlyUploadData
  238. //
  239. this.mnuSynchronizeOnlyUploadData.Index = 1;
  240. resources.ApplyResources(this.mnuSynchronizeOnlyUploadData, "mnuSynchronizeOnlyUploadData");
  241. this.mnuSynchronizeOnlyUploadData.Click += new System.EventHandler(this.mnuSynchronizeOnlyUploadData_Click);
  242. //
  243. // mnuSyncWhenConnected
  244. //
  245. this.mnuSyncWhenConnected.Index = 2;
  246. resources.ApplyResources(this.mnuSyncWhenConnected, "mnuSyncWhenConnected");
  247. this.mnuSyncWhenConnected.Click += new System.EventHandler(this.mnuSyncWhenConnected_Click);
  248. //
  249. // mnuSynchronizeAdvanced
  250. //
  251. this.mnuSynchronizeAdvanced.Index = 3;
  252. this.mnuSynchronizeAdvanced.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
  253. this.mnuSynchronizeAdvancedReinitializeData,
  254. this.mnuSynchronizeAdvancedUploadAndReinitializeData,
  255. this.mnuWebSync,
  256. this.mnuSubscriptionStatus});
  257. resources.ApplyResources(this.mnuSynchronizeAdvanced, "mnuSynchronizeAdvanced");
  258. //
  259. // mnuSynchronizeAdvancedReinitializeData
  260. //
  261. this.mnuSynchronizeAdvancedReinitializeData.Index = 0;
  262. resources.ApplyResources(this.mnuSynchronizeAdvancedReinitializeData, "mnuSynchronizeAdvancedReinitializeData");
  263. this.mnuSynchronizeAdvancedReinitializeData.Click += new System.EventHandler(this.mnuSynchronizeAdvancedReinitializeData_Click);
  264. //
  265. // mnuSynchronizeAdvancedUploadAndReinitializeData
  266. //
  267. this.mnuSynchronizeAdvancedUploadAndReinitializeData.Index = 1;
  268. resources.ApplyResources(this.mnuSynchronizeAdvancedUploadAndReinitializeData, "mnuSynchronizeAdvancedUploadAndReinitializeData");
  269. this.mnuSynchronizeAdvancedUploadAndReinitializeData.Click += new System.EventHandler(this.mnuSynchronizeAdvancedUploadAndReinitializeData_Click);
  270. //
  271. // mnuWebSync
  272. //
  273. this.mnuWebSync.Index = 2;
  274. resources.ApplyResources(this.mnuWebSync, "mnuWebSync");
  275. this.mnuWebSync.Click += new System.EventHandler(this.mnuWebSync_Click);
  276. //
  277. // mnuSubscriptionStatus
  278. //
  279. this.mnuSubscriptionStatus.Index = 3;
  280. resources.ApplyResources(this.mnuSubscriptionStatus, "mnuSubscriptionStatus");
  281. this.mnuSubscriptionStatus.Click += new System.EventHandler(this.mnuSubscriptionStatus_Click);
  282. //
  283. // PONumberTextbox
  284. //
  285. this.PONumberTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "PurchaseOrderNumber", true));
  286. resources.ApplyResources(this.PONumberTextbox, "PONumberTextbox");
  287. this.PONumberTextbox.Name = "PONumberTextbox";
  288. this.PONumberTextbox.ReadOnly = true;
  289. //
  290. // CreatedTextbox
  291. //
  292. this.CreatedTextbox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.uspSalesOrderHeaderSelectCommandBindingSource, "OrderDate", true));
  293. resources.ApplyResources(this.CreatedTextbox, "CreatedTextbox");
  294. this.CreatedTextbox.Name = "CreatedTextbox";
  295. this.CreatedTextbox.ReadOnly = true;
  296. //
  297. // salesOrderDetailDataGridView
  298. //
  299. this.salesOrderDetailDataGridView.AllowUserToAddRows = false;
  300. this.salesOrderDetailDataGridView.AllowUserToDeleteRows = false;
  301. resources.ApplyResources(this.salesOrderDetailDataGridView, "salesOrderDetailDataGridView");
  302. this.salesOrderDetailDataGridView.AutoGenerateColumns = false;
  303. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  304. dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
  305. dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  306. dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
  307. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  308. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  309. dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
  310. this.salesOrderDetailDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
  311. this.salesOrderDetailDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  312. this.SalesOrderDetailIDDataGridViewTextBoxColumn,
  313. this.ProductNumberDataGridViewTextBoxColumn,
  314. this.ProductNameDataGridViewTextBoxColumn,
  315. this.UnitPriceDataGridViewTextBoxColumn,
  316. this.OrderQtyDataGridViewTextBoxColumn,
  317. this.DescriptionDataGridViewTextBoxColumn});
  318. this.salesOrderDetailDataGridView.DataSource = this.uspSalesOrderDetailSelectCommandBindingSource;
  319. dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  320. dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
  321. dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  322. dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
  323. dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  324. dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  325. dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
  326. this.salesOrderDetailDataGridView.DefaultCellStyle = dataGridViewCellStyle4;
  327. this.salesOrderDetailDataGridView.MultiSelect = false;
  328. this.salesOrderDetailDataGridView.Name = "salesOrderDetailDataGridView";
  329. this.salesOrderDetailDataGridView.ReadOnly = true;
  330. dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  331. dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
  332. dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  333. dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
  334. dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  335. dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  336. dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  337. this.salesOrderDetailDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
  338. this.salesOrderDetailDataGridView.RowTemplate.Height = 18;
  339. this.salesOrderDetailDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  340. this.salesOrderDetailDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.salesOrderDetailDataGridView_CellContentClick);
  341. //
  342. // SalesOrderDetailIDDataGridViewTextBoxColumn
  343. //
  344. this.SalesOrderDetailIDDataGridViewTextBoxColumn.DataPropertyName = "SalesOrderDetailID";
  345. resources.ApplyResources(this.SalesOrderDetailIDDataGridViewTextBoxColumn, "SalesOrderDetailIDDataGridViewTextBoxColumn");
  346. this.SalesOrderDetailIDDataGridViewTextBoxColumn.Name = "SalesOrderDetailIDDataGridViewTextBoxColumn";
  347. this.SalesOrderDetailIDDataGridViewTextBoxColumn.ReadOnly = true;
  348. //
  349. // ProductNumberDataGridViewTextBoxColumn
  350. //
  351. this.ProductNumberDataGridViewTextBoxColumn.DataPropertyName = "ProductNumber";
  352. resources.ApplyResources(this.ProductNumberDataGridViewTextBoxColumn, "ProductNumberDataGridViewTextBoxColumn");
  353. this.ProductNumberDataGridViewTextBoxColumn.Name = "ProductNumberDataGridViewTextBoxColumn";
  354. this.ProductNumberDataGridViewTextBoxColumn.ReadOnly = true;
  355. //
  356. // ProductNameDataGridViewTextBoxColumn
  357. //
  358. this.ProductNameDataGridViewTextBoxColumn.DataPropertyName = "Name";
  359. resources.ApplyResources(this.ProductNameDataGridViewTextBoxColumn, "ProductNameDataGridViewTextBoxColumn");
  360. this.ProductNameDataGridViewTextBoxColumn.Name = "ProductNameDataGridViewTextBoxColumn";
  361. this.ProductNameDataGridViewTextBoxColumn.ReadOnly = true;
  362. //
  363. // UnitPriceDataGridViewTextBoxColumn
  364. //
  365. this.UnitPriceDataGridViewTextBoxColumn.DataPropertyName = "UnitPrice";
  366. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  367. this.UnitPriceDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2;
  368. resources.ApplyResources(this.UnitPriceDataGridViewTextBoxColumn, "UnitPriceDataGridViewTextBoxColumn");
  369. this.UnitPriceDataGridViewTextBoxColumn.Name = "UnitPriceDataGridViewTextBoxColumn";
  370. this.UnitPriceDataGridViewTextBoxColumn.ReadOnly = true;
  371. //
  372. // OrderQtyDataGridViewTextBoxColumn
  373. //
  374. this.OrderQtyDataGridViewTextBoxColumn.DataPropertyName = "OrderQty";
  375. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
  376. this.OrderQtyDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
  377. resources.ApplyResources(this.OrderQtyDataGridViewTextBoxColumn, "OrderQtyDataGridViewTextBoxColumn");
  378. this.OrderQtyDataGridViewTextBoxColumn.Name = "OrderQtyDataGridViewTextBoxColumn";
  379. this.OrderQtyDataGridViewTextBoxColumn.ReadOnly = true;
  380. //
  381. // DescriptionDataGridViewTextBoxColumn
  382. //
  383. this.DescriptionDataGridViewTextBoxColumn.DataPropertyName = "Description";
  384. resources.ApplyResources(this.DescriptionDataGridViewTextBoxColumn, "DescriptionDataGridViewTextBoxColumn");
  385. this.DescriptionDataGridViewTextBoxColumn.Name = "DescriptionDataGridViewTextBoxColumn";
  386. this.DescriptionDataGridViewTextBoxColumn.ReadOnly = true;
  387. //
  388. // uspSalesOrderDetailSelectCommandBindingSource
  389. //
  390. this.uspSalesOrderDetailSelectCommandBindingSource.DataMember = "FK_uspSalesOrderHeaderSelectCommand_uspSalesOrderDetailSelectCommand";
  391. this.uspSalesOrderDetailSelectCommandBindingSource.DataSource = this.uspSalesOrderHeaderSelectCommandBindingSource;
  392. //
  393. // StatusComboBox
  394. //
  395. this.StatusComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.uspSalesOrderHeaderSelectCommandBindingSource, "Status", true));
  396. this.StatusComboBox.DataSource = this.ufnGetStatusTextTableBindingSource;
  397. this.StatusComboBox.DisplayMember = "StatusText";
  398. this.StatusComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  399. resources.ApplyResources(this.StatusComboBox, "StatusComboBox");
  400. this.StatusComboBox.FormattingEnabled = true;
  401. this.StatusComboBox.Name = "StatusComboBox";
  402. this.StatusComboBox.ValueMember = "StatusID";
  403. //
  404. // ufnGetStatusTextTableBindingSource
  405. //
  406. this.ufnGetStatusTextTableBindingSource.DataMember = "ufnGetStatusTextTable";
  407. this.ufnGetStatusTextTableBindingSource.DataSource = this.adventureWorksLocalDataSet;
  408. //
  409. // TaxLabel
  410. //
  411. resources.ApplyResources(this.TaxLabel, "TaxLabel");
  412. this.TaxLabel.Name = "TaxLabel";
  413. //
  414. // FreightLabel
  415. //
  416. resources.ApplyResources(this.FreightLabel, "FreightLabel");
  417. this.FreightLabel.Name = "FreightLabel";
  418. //
  419. // logoPictureBox
  420. //
  421. this.logoPictureBox.BackColor = System.Drawing.Color.White;
  422. this.logoPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  423. resources.ApplyResources(this.logoPictureBox, "logoPictureBox");
  424. this.logoPictureBox.Name = "logoPictureBox";
  425. this.logoPictureBox.TabStop = false;
  426. //
  427. // CustomerLabel
  428. //
  429. resources.ApplyResources(this.CustomerLabel, "CustomerLabel");
  430. this.CustomerLabel.Name = "CustomerLabel";
  431. //
  432. // orderLabel
  433. //
  434. resources.ApplyResources(this.orderLabel, "orderLabel");
  435. this.orderLabel.Name = "orderLabel";
  436. //
  437. // CommentLabel
  438. //
  439. resources.ApplyResources(this.CommentLabel, "CommentLabel");
  440. this.CommentLabel.Name = "CommentLabel";
  441. //
  442. // StatusLabel
  443. //
  444. resources.ApplyResources(this.StatusLabel, "StatusLabel");
  445. this.StatusLabel.Name = "StatusLabel";
  446. //
  447. // CreatedLabel
  448. //
  449. resources.ApplyResources(this.CreatedLabel, "CreatedLabel");
  450. this.CreatedLabel.Name = "CreatedLabel";
  451. //
  452. // ShipDateLabel
  453. //
  454. resources.ApplyResources(this.ShipDateLabel, "ShipDateLabel");
  455. this.ShipDateLabel.Name = "ShipDateLabel";
  456. //
  457. // ModifiedLabel
  458. //
  459. resources.ApplyResources(this.ModifiedLabel, "ModifiedLabel");
  460. this.ModifiedLabel.Name = "ModifiedLabel";
  461. //
  462. // SubTotalLabel
  463. //
  464. resources.ApplyResources(this.SubTotalLabel, "SubTotalLabel");
  465. this.SubTotalLabel.Name = "SubTotalLabel";
  466. //
  467. // TotalLabel
  468. //
  469. resources.ApplyResources(this.TotalLabel, "TotalLabel");
  470. this.TotalLabel.Name = "TotalLabel";
  471. //
  472. // NewOrderButton
  473. //
  474. resources.ApplyResources(this.NewOrderButton, "NewOrderButton");
  475. this.NewOrderButton.Name = "NewOrderButton";
  476. this.NewOrderButton.Click += new System.EventHandler(this.NewOrderButton_Click);
  477. //
  478. // EditOrderButton
  479. //
  480. resources.ApplyResources(this.EditOrderButton, "EditOrderButton");
  481. this.EditOrderButton.Name = "EditOrderButton";
  482. this.EditOrderButton.Click += new System.EventHandler(this.EditOrderButton_Click);
  483. //
  484. // OrderItemsLabel
  485. //
  486. resources.ApplyResources(this.OrderItemsLabel, "OrderItemsLabel");
  487. this.OrderItemsLabel.Name = "OrderItemsLabel";
  488. //
  489. // mainMenu1
  490. //
  491. this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
  492. this.mnuFile,
  493. this.mnuOrder,
  494. this.mnuSynchronize,
  495. this.mnuHelp});
  496. //
  497. // mnuHelp
  498. //
  499. this.mnuHelp.Index = 3;
  500. this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
  501. this.mnuAbout});
  502. resources.ApplyResources(this.mnuHelp, "mnuHelp");
  503. //
  504. // mnuAbout
  505. //
  506. this.mnuAbout.Index = 0;
  507. resources.ApplyResources(this.mnuAbout, "mnuAbout");
  508. this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
  509. //
  510. // SalesOrderIDDataGridViewTextBoxColumn
  511. //
  512. this.SalesOrderIDDataGridViewTextBoxColumn.DataPropertyName = "SalesOrderID";
  513. resources.ApplyResources(this.SalesOrderIDDataGridViewTextBoxColumn, "SalesOrderIDDataGridViewTextBoxColumn");
  514. this.SalesOrderIDDataGridViewTextBoxColumn.Name = "SalesOrderIDDataGridViewTextBoxColumn";
  515. //
  516. // syncTimer
  517. //
  518. this.syncTimer.Interval = 1000;
  519. this.syncTimer.SynchronizingObject = this;
  520. this.syncTimer.Elapsed += new System.Timers.ElapsedEventHandler(this.syncTimer_Elapsed);
  521. //
  522. // syncWhenConnectedStrip
  523. //
  524. this.syncWhenConnectedStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  525. this.syncWhenConnectedIcon,
  526. this.syncWhenConnectedStatus,
  527. this.syncWhenConnectedText});
  528. resources.ApplyResources(this.syncWhenConnectedStrip, "syncWhenConnectedStrip");
  529. this.syncWhenConnectedStrip.Name = "syncWhenConnectedStrip";
  530. //
  531. // syncWhenConnectedIcon
  532. //
  533. resources.ApplyResources(this.syncWhenConnectedIcon, "syncWhenConnectedIcon");
  534. this.syncWhenConnectedIcon.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  535. this.syncWhenConnectedIcon.Image = global::Microsoft.Samples.SqlServer.Properties.Resources.disconnected;
  536. this.syncWhenConnectedIcon.Name = "syncWhenConnectedIcon";
  537. this.syncWhenConnectedIcon.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;
  538. //
  539. // syncWhenConnectedStatus
  540. //
  541. this.syncWhenConnectedStatus.Name = "syncWhenConnectedStatus";
  542. resources.ApplyResources(this.syncWhenConnectedStatus, "syncWhenConnectedStatus");
  543. //
  544. // syncWhenConnectedText
  545. //
  546. this.syncWhenConnectedText.Name = "syncWhenConnectedText";
  547. resources.ApplyResources(this.syncWhenConnectedText, "syncWhenConnectedText");
  548. this.syncWhenConnectedText.Click += new System.EventHandler(this.syncWhenConnectedText_Click);
  549. //
  550. // CustomerCombobox
  551. //
  552. this.CustomerCombobox.DataSource = this.uspStoreSelectCommandBindingSource;
  553. this.CustomerCombobox.DisplayMember = "Name";
  554. this.CustomerCombobox.FormattingEnabled = true;
  555. resources.ApplyResources(this.CustomerCombobox, "CustomerCombobox");
  556. this.CustomerCombobox.Name = "CustomerCombobox";
  557. this.CustomerCombobox.ValueMember = "CustomerID";
  558. //
  559. // SalesOrderComboBox
  560. //
  561. this.SalesOrderComboBox.DataSource = this.uspSalesOrderHeaderSelectCommandBindingSource;
  562. this.SalesOrderComboBox.DisplayMember = "SalesOrderID";
  563. this.SalesOrderComboBox.FormattingEnabled = true;
  564. resources.ApplyResources(this.SalesOrderComboBox, "SalesOrderComboBox");
  565. this.SalesOrderComboBox.Name = "SalesOrderComboBox";
  566. this.SalesOrderComboBox.ValueMember = "SalesOrderID";
  567. //
  568. // uspStoreSelectCommandTableAdapter
  569. //
  570. this.uspStoreSelectCommandTableAdapter.ClearBeforeFill = true;
  571. //
  572. // uspSalesOrderHeaderSelectCommandTableAdapter
  573. //
  574. this.uspSalesOrderHeaderSelectCommandTableAdapter.ClearBeforeFill = true;
  575. //
  576. // uspSalesOrderDetailSelectCommandTableAdapter
  577. //
  578. this.uspSalesOrderDetailSelectCommandTableAdapter.ClearBeforeFill = true;
  579. //
  580. // ufnGetStatusTextTableTableAdapter
  581. //
  582. this.ufnGetStatusTextTableTableAdapter.ClearBeforeFill = true;
  583. //
  584. // SalesOrders
  585. //
  586. resources.ApplyResources(this, "$this");
  587. this.Controls.Add(this.SalesOrderComboBox);
  588. this.Controls.Add(this.CustomerCombobox);
  589. this.Controls.Add(this.OrderInformationLabel);
  590. this.Controls.Add(this.PONumberLabel);
  591. this.Controls.Add(this.CommentTextbox);
  592. this.Controls.Add(this.PONumberTextbox);
  593. this.Controls.Add(this.CreatedTextbox);
  594. this.Controls.Add(this.salesOrderDetailDataGridView);
  595. this.Controls.Add(this.StatusComboBox);
  596. this.Controls.Add(this.TaxLabel);
  597. this.Controls.Add(this.FreightLabel);
  598. this.Controls.Add(this.logoPictureBox);
  599. this.Controls.Add(this.CustomerLabel);
  600. this.Controls.Add(this.orderLabel);
  601. this.Controls.Add(this.CommentLabel);
  602. this.Controls.Add(this.StatusLabel);
  603. this.Controls.Add(this.CreatedLabel);
  604. this.Controls.Add(this.ShipDateLabel);
  605. this.Controls.Add(this.ModifiedLabel);
  606. this.Controls.Add(this.SubTotalLabel);
  607. this.Controls.Add(this.TotalLabel);
  608. this.Controls.Add(this.NewOrderButton);
  609. this.Controls.Add(this.EditOrderButton);
  610. this.Controls.Add(this.OrderItemsLabel);
  611. this.Controls.Add(this.TaxTextbox);
  612. this.Controls.Add(this.FreightTextbox);
  613. this.Controls.Add(this.SubTotalTextbox);
  614. this.Controls.Add(this.ModifiedTextbox);
  615. this.Controls.Add(this.ShipDateTextbox);
  616. this.Controls.Add(this.TotalTextbox);
  617. this.Controls.Add(this.syncWhenConnectedStrip);
  618. this.Menu = this.mainMenu1;
  619. this.Name = "SalesOrders";
  620. this.Load += new System.EventHandler(this.SalesOrders_Load);
  621. ((System.ComponentModel.ISupportInitialize)(this.uspSalesOrderHeaderSelectCommandBindingSource)).EndInit();
  622. ((System.ComponentModel.ISupportInitialize)(this.uspStoreSelectCommandBindingSource)).EndInit();
  623. ((System.ComponentModel.ISupportInitialize)(this.adventureWorksLocalDataSet)).EndInit();
  624. ((System.ComponentModel.ISupportInitialize)(this.salesOrderDetailDataGridView)).EndInit();
  625. ((System.ComponentModel.ISupportInitialize)(this.uspSalesOrderDetailSelectCommandBindingSource)).EndInit();
  626. ((System.ComponentModel.ISupportInitialize)(this.ufnGetStatusTextTableBindingSource)).EndInit();
  627. ((System.ComponentModel.ISupportInitialize)(this.logoPictureBox)).EndInit();
  628. ((System.ComponentModel.ISupportInitialize)(this.syncTimer)).EndInit();
  629. this.syncWhenConnectedStrip.ResumeLayout(false);
  630. this.syncWhenConnectedStrip.PerformLayout();
  631. this.ResumeLayout(false);
  632. this.PerformLayout();
  633. }
  634. #endregion
  635. private System.Windows.Forms.TextBox TaxTextbox;
  636. private System.Windows.Forms.TextBox FreightTextbox;
  637. private System.Windows.Forms.TextBox SubTotalTextbox;
  638. private System.Windows.Forms.TextBox ModifiedTextbox;
  639. private System.Windows.Forms.TextBox ShipDateTextbox;
  640. private System.Windows.Forms.TextBox TotalTextbox;
  641. private System.Windows.Forms.Label OrderInformationLabel;
  642. private System.Windows.Forms.Label PONumberLabel;
  643. private System.Windows.Forms.TextBox CommentTextbox;
  644. private System.Windows.Forms.MainMenu mainMenu1;
  645. private System.Windows.Forms.MenuItem mnuFile;
  646. private System.Windows.Forms.MenuItem mnuFileExit;
  647. private System.Windows.Forms.MenuItem mnuOrder;
  648. private System.Windows.Forms.MenuItem mnuOrderNew;
  649. private System.Windows.Forms.MenuItem mnuOrderEdit;
  650. private System.Windows.Forms.MenuItem mnuSynchronize;
  651. private System.Windows.Forms.MenuItem mnuSynchronizeAllData;
  652. private System.Windows.Forms.MenuItem mnuSynchronizeOnlyUploadData;
  653. private System.Windows.Forms.MenuItem mnuSynchronizeAdvanced;
  654. private System.Windows.Forms.MenuItem mnuSynchronizeAdvancedReinitializeData;
  655. private System.Windows.Forms.MenuItem mnuSynchronizeAdvancedUploadAndReinitializeData;
  656. private System.Windows.Forms.TextBox PONumberTextbox;
  657. private System.Windows.Forms.TextBox CreatedTextbox;
  658. private System.Windows.Forms.DataGridView salesOrderDetailDataGridView;
  659. private System.Windows.Forms.ComboBox StatusComboBox;
  660. private System.Windows.Forms.Label TaxLabel;
  661. private System.Windows.Forms.Label FreightLabel;
  662. private System.Windows.Forms.PictureBox logoPictureBox;
  663. private System.Windows.Forms.Label CustomerLabel;
  664. private System.Windows.Forms.Label orderLabel;
  665. private System.Windows.Forms.Label CommentLabel;
  666. private System.Windows.Forms.Label StatusLabel;
  667. private System.Windows.Forms.Label CreatedLabel;
  668. private System.Windows.Forms.Label ShipDateLabel;
  669. private System.Windows.Forms.Label ModifiedLabel;
  670. private System.Windows.Forms.Label SubTotalLabel;
  671. private System.Windows.Forms.Label TotalLabel;
  672. private System.Windows.Forms.Button NewOrderButton;
  673. private System.Windows.Forms.Button EditOrderButton;
  674. private System.Windows.Forms.Label OrderItemsLabel;
  675. private System.Windows.Forms.MenuItem mnuWebSync;
  676. private System.Windows.Forms.MenuItem mnuSyncWhenConnected;
  677. private System.Windows.Forms.MenuItem mnuSubscriptionStatus;
  678. private System.Timers.Timer syncTimer;
  679. private System.Windows.Forms.StatusStrip syncWhenConnectedStrip;
  680. private System.Windows.Forms.BindingSource uspSalesOrderHeaderSelectCommandBindingSource;
  681. private System.Windows.Forms.BindingSource uspSalesOrderDetailSelectCommandBindingSource;
  682. private System.Windows.Forms.ComboBox SalesOrderComboBox;
  683. private System.Windows.Forms.ComboBox CustomerCombobox;
  684. private System.Windows.Forms.MenuItem mnuHelp;
  685. private System.Windows.Forms.MenuItem mnuAbout;
  686. private System.Windows.Forms.BindingSource uspStoreSelectCommandBindingSource;
  687. private AdventureWorksLocalDataSet adventureWorksLocalDataSet;
  688. private System.Windows.Forms.BindingSource ufnGetStatusTextTableBindingSource;
  689. private Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.uspStoreSelectCommandTableAdapter uspStoreSelectCommandTableAdapter;
  690. private Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.uspSalesOrderHeaderSelectCommandTableAdapter uspSalesOrderHeaderSelectCommandTableAdapter;
  691. private Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.uspSalesOrderDetailSelectCommandTableAdapter uspSalesOrderDetailSelectCommandTableAdapter;
  692. private Microsoft.Samples.SqlServer.AdventureWorksLocalDataSetTableAdapters.ufnGetStatusTextTableTableAdapter ufnGetStatusTextTableTableAdapter;
  693. private System.Windows.Forms.ToolStripStatusLabel syncWhenConnectedIcon;
  694. private System.Windows.Forms.ToolStripStatusLabel syncWhenConnectedText;
  695. private System.Windows.Forms.ToolStripProgressBar syncWhenConnectedStatus;
  696. private System.Windows.Forms.DataGridViewTextBoxColumn SalesOrderIDDataGridViewTextBoxColumn;
  697. private System.Windows.Forms.DataGridViewTextBoxColumn DescriptionDataGridViewTextBoxColumn;
  698. private System.Windows.Forms.DataGridViewTextBoxColumn SalesOrderDetailIDDataGridViewTextBoxColumn;
  699. private System.Windows.Forms.DataGridViewTextBoxColumn ProductNumberDataGridViewTextBoxColumn;
  700. private System.Windows.Forms.DataGridViewTextBoxColumn ProductNameDataGridViewTextBoxColumn;
  701. private System.Windows.Forms.DataGridViewTextBoxColumn UnitPriceDataGridViewTextBoxColumn;
  702. private System.Windows.Forms.DataGridViewTextBoxColumn OrderQtyDataGridViewTextBoxColumn;
  703. }
  704. }