PageRenderTime 31ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 1ms

/WcfPerfTest/WcfClient/Form1.Designer.cs

https://gitlab.com/meermalik/protobuf-net
C# | 267 lines | 195 code | 7 blank | 65 comment | 3 complexity | f16acf8dfdf16980fff9f25342067bb2 MD5 | raw file
  1. namespace WcfClient
  2. {
  3. partial class Form1
  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. this.button2 = new System.Windows.Forms.Button();
  30. this.nwindSource = new System.Windows.Forms.BindingSource(this.components);
  31. this.listBox1 = new System.Windows.Forms.ListBox();
  32. this.dataGridView1 = new System.Windows.Forms.DataGridView();
  33. this.orderIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  34. this.productIDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  35. this.unitPriceDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  36. this.quantityDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  37. this.discountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
  38. this.orderDetailsBindingSource = new System.Windows.Forms.BindingSource(this.components);
  39. this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
  40. this.button3 = new System.Windows.Forms.Button();
  41. this.button4 = new System.Windows.Forms.Button();
  42. this.checkBox1 = new System.Windows.Forms.CheckBox();
  43. this.progressBar1 = new System.Windows.Forms.ProgressBar();
  44. this.checkBox2 = new System.Windows.Forms.CheckBox();
  45. this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
  46. ((System.ComponentModel.ISupportInitialize)(this.nwindSource)).BeginInit();
  47. ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
  48. ((System.ComponentModel.ISupportInitialize)(this.orderDetailsBindingSource)).BeginInit();
  49. ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
  50. this.SuspendLayout();
  51. //
  52. // button2
  53. //
  54. this.button2.Location = new System.Drawing.Point(192, 13);
  55. this.button2.Name = "button2";
  56. this.button2.Size = new System.Drawing.Size(46, 23);
  57. this.button2.TabIndex = 1;
  58. this.button2.Text = "Stress";
  59. this.button2.UseVisualStyleBackColor = true;
  60. this.button2.Click += new System.EventHandler(this.button2_Click);
  61. //
  62. // nwindSource
  63. //
  64. this.nwindSource.DataMember = "Orders";
  65. this.nwindSource.DataSource = typeof(WcfClient.NWind.OrderSet);
  66. //
  67. // listBox1
  68. //
  69. this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  70. | System.Windows.Forms.AnchorStyles.Left)));
  71. this.listBox1.DataSource = this.nwindSource;
  72. this.listBox1.DisplayMember = "OrderID";
  73. this.listBox1.FormattingEnabled = true;
  74. this.listBox1.Location = new System.Drawing.Point(12, 42);
  75. this.listBox1.Name = "listBox1";
  76. this.listBox1.Size = new System.Drawing.Size(157, 264);
  77. this.listBox1.TabIndex = 2;
  78. //
  79. // dataGridView1
  80. //
  81. this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  82. | System.Windows.Forms.AnchorStyles.Left)
  83. | System.Windows.Forms.AnchorStyles.Right)));
  84. this.dataGridView1.AutoGenerateColumns = false;
  85. this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  86. this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  87. this.orderIDDataGridViewTextBoxColumn,
  88. this.productIDDataGridViewTextBoxColumn,
  89. this.unitPriceDataGridViewTextBoxColumn,
  90. this.quantityDataGridViewTextBoxColumn,
  91. this.discountDataGridViewTextBoxColumn});
  92. this.dataGridView1.DataSource = this.orderDetailsBindingSource;
  93. this.dataGridView1.Location = new System.Drawing.Point(175, 42);
  94. this.dataGridView1.Name = "dataGridView1";
  95. this.dataGridView1.ReadOnly = true;
  96. this.dataGridView1.Size = new System.Drawing.Size(521, 265);
  97. this.dataGridView1.TabIndex = 3;
  98. //
  99. // orderIDDataGridViewTextBoxColumn
  100. //
  101. this.orderIDDataGridViewTextBoxColumn.DataPropertyName = "OrderID";
  102. this.orderIDDataGridViewTextBoxColumn.HeaderText = "OrderID";
  103. this.orderIDDataGridViewTextBoxColumn.Name = "orderIDDataGridViewTextBoxColumn";
  104. this.orderIDDataGridViewTextBoxColumn.ReadOnly = true;
  105. //
  106. // productIDDataGridViewTextBoxColumn
  107. //
  108. this.productIDDataGridViewTextBoxColumn.DataPropertyName = "ProductID";
  109. this.productIDDataGridViewTextBoxColumn.HeaderText = "ProductID";
  110. this.productIDDataGridViewTextBoxColumn.Name = "productIDDataGridViewTextBoxColumn";
  111. this.productIDDataGridViewTextBoxColumn.ReadOnly = true;
  112. //
  113. // unitPriceDataGridViewTextBoxColumn
  114. //
  115. this.unitPriceDataGridViewTextBoxColumn.DataPropertyName = "UnitPrice";
  116. this.unitPriceDataGridViewTextBoxColumn.HeaderText = "UnitPrice";
  117. this.unitPriceDataGridViewTextBoxColumn.Name = "unitPriceDataGridViewTextBoxColumn";
  118. this.unitPriceDataGridViewTextBoxColumn.ReadOnly = true;
  119. //
  120. // quantityDataGridViewTextBoxColumn
  121. //
  122. this.quantityDataGridViewTextBoxColumn.DataPropertyName = "Quantity";
  123. this.quantityDataGridViewTextBoxColumn.HeaderText = "Quantity";
  124. this.quantityDataGridViewTextBoxColumn.Name = "quantityDataGridViewTextBoxColumn";
  125. this.quantityDataGridViewTextBoxColumn.ReadOnly = true;
  126. //
  127. // discountDataGridViewTextBoxColumn
  128. //
  129. this.discountDataGridViewTextBoxColumn.DataPropertyName = "Discount";
  130. this.discountDataGridViewTextBoxColumn.HeaderText = "Discount";
  131. this.discountDataGridViewTextBoxColumn.Name = "discountDataGridViewTextBoxColumn";
  132. this.discountDataGridViewTextBoxColumn.ReadOnly = true;
  133. //
  134. // orderDetailsBindingSource
  135. //
  136. this.orderDetailsBindingSource.DataMember = "Order_Details";
  137. this.orderDetailsBindingSource.DataSource = this.nwindSource;
  138. //
  139. // backgroundWorker1
  140. //
  141. this.backgroundWorker1.WorkerReportsProgress = true;
  142. this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
  143. this.backgroundWorker1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
  144. this.backgroundWorker1.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker1_ProgressChanged);
  145. //
  146. // button3
  147. //
  148. this.button3.Location = new System.Drawing.Point(12, 13);
  149. this.button3.Name = "button3";
  150. this.button3.Size = new System.Drawing.Size(83, 23);
  151. this.button3.TabIndex = 5;
  152. this.button3.Text = "vanilla WCF";
  153. this.button3.UseVisualStyleBackColor = true;
  154. this.button3.Click += new System.EventHandler(this.button3_Click);
  155. //
  156. // button4
  157. //
  158. this.button4.Location = new System.Drawing.Point(101, 13);
  159. this.button4.Name = "button4";
  160. this.button4.Size = new System.Drawing.Size(85, 23);
  161. this.button4.TabIndex = 6;
  162. this.button4.Text = "protobuf-net";
  163. this.button4.UseVisualStyleBackColor = true;
  164. this.button4.Click += new System.EventHandler(this.button4_Click);
  165. //
  166. // checkBox1
  167. //
  168. this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  169. this.checkBox1.AutoSize = true;
  170. this.checkBox1.Location = new System.Drawing.Point(644, 17);
  171. this.checkBox1.Name = "checkBox1";
  172. this.checkBox1.Size = new System.Drawing.Size(52, 17);
  173. this.checkBox1.TabIndex = 7;
  174. this.checkBox1.Text = "Mtom";
  175. this.checkBox1.UseVisualStyleBackColor = true;
  176. //
  177. // progressBar1
  178. //
  179. this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  180. | System.Windows.Forms.AnchorStyles.Right)));
  181. this.progressBar1.Location = new System.Drawing.Point(244, 13);
  182. this.progressBar1.Name = "progressBar1";
  183. this.progressBar1.Size = new System.Drawing.Size(279, 22);
  184. this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
  185. this.progressBar1.TabIndex = 8;
  186. this.progressBar1.Value = 25;
  187. this.progressBar1.Visible = false;
  188. //
  189. // checkBox2
  190. //
  191. this.checkBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  192. this.checkBox2.AutoSize = true;
  193. this.checkBox2.Location = new System.Drawing.Point(575, 17);
  194. this.checkBox2.Name = "checkBox2";
  195. this.checkBox2.Size = new System.Drawing.Size(63, 17);
  196. this.checkBox2.TabIndex = 9;
  197. this.checkBox2.Text = "Remote";
  198. this.checkBox2.UseVisualStyleBackColor = true;
  199. //
  200. // numericUpDown1
  201. //
  202. this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  203. this.numericUpDown1.Location = new System.Drawing.Point(529, 14);
  204. this.numericUpDown1.Maximum = new decimal(new int[] {
  205. 150,
  206. 0,
  207. 0,
  208. 0});
  209. this.numericUpDown1.Name = "numericUpDown1";
  210. this.numericUpDown1.Size = new System.Drawing.Size(40, 20);
  211. this.numericUpDown1.TabIndex = 10;
  212. this.numericUpDown1.Value = new decimal(new int[] {
  213. 75,
  214. 0,
  215. 0,
  216. 0});
  217. //
  218. // Form1
  219. //
  220. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  221. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  222. this.ClientSize = new System.Drawing.Size(708, 319);
  223. this.Controls.Add(this.numericUpDown1);
  224. this.Controls.Add(this.checkBox2);
  225. this.Controls.Add(this.progressBar1);
  226. this.Controls.Add(this.checkBox1);
  227. this.Controls.Add(this.button4);
  228. this.Controls.Add(this.button3);
  229. this.Controls.Add(this.dataGridView1);
  230. this.Controls.Add(this.listBox1);
  231. this.Controls.Add(this.button2);
  232. this.Name = "Form1";
  233. this.Text = "WCF / LINQ client";
  234. ((System.ComponentModel.ISupportInitialize)(this.nwindSource)).EndInit();
  235. ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
  236. ((System.ComponentModel.ISupportInitialize)(this.orderDetailsBindingSource)).EndInit();
  237. ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
  238. this.ResumeLayout(false);
  239. this.PerformLayout();
  240. }
  241. #endregion
  242. private System.Windows.Forms.Button button2;
  243. private System.Windows.Forms.BindingSource nwindSource;
  244. private System.Windows.Forms.ListBox listBox1;
  245. private System.Windows.Forms.DataGridView dataGridView1;
  246. private System.Windows.Forms.DataGridViewTextBoxColumn orderIDDataGridViewTextBoxColumn;
  247. private System.Windows.Forms.DataGridViewTextBoxColumn productIDDataGridViewTextBoxColumn;
  248. private System.Windows.Forms.DataGridViewTextBoxColumn unitPriceDataGridViewTextBoxColumn;
  249. private System.Windows.Forms.DataGridViewTextBoxColumn quantityDataGridViewTextBoxColumn;
  250. private System.Windows.Forms.DataGridViewTextBoxColumn discountDataGridViewTextBoxColumn;
  251. private System.Windows.Forms.BindingSource orderDetailsBindingSource;
  252. private System.ComponentModel.BackgroundWorker backgroundWorker1;
  253. private System.Windows.Forms.Button button3;
  254. private System.Windows.Forms.Button button4;
  255. private System.Windows.Forms.CheckBox checkBox1;
  256. private System.Windows.Forms.ProgressBar progressBar1;
  257. private System.Windows.Forms.CheckBox checkBox2;
  258. private System.Windows.Forms.NumericUpDown numericUpDown1;
  259. }
  260. }