added samples
[windows-sources.git] / sdk / samples / FrameworkSamples / NETCF / Applications / MSMQSample / cs / deviceapp / ordersender.designer.cs
blobdaa4c62ffa86deb087e6333d3fd9b24fedc2e84b
1 //---------------------------------------------------------------------
2 // This file is part of the Microsoft .NET Framework SDK Code Samples.
3 //
4 // Copyright (C) Microsoft Corporation. All rights reserved.
5 //
6 //This source code is intended only as a supplement to Microsoft
7 //Development Tools and/or on-line documentation. See these other
8 //materials for detailed information regarding Microsoft code samples.
9 //
10 //THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
11 //KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
12 //IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
13 //PARTICULAR PURPOSE.
14 //---------------------------------------------------------------------
15 namespace Microsoft.Samples.MsmqSample
17 public partial class OrderSender : System.Windows.Forms.Form
19 /// <summary>
20 /// Required method for Designer support - do not modify
21 /// the contents of this method with the code editor.
22 /// </summary>
23 private void InitializeComponent()
25 this.mainMenu1 = new System.Windows.Forms.MainMenu();
26 this.menuItemExit = new System.Windows.Forms.MenuItem();
27 this.tabControl1 = new System.Windows.Forms.TabControl();
28 this.tabPageSend = new System.Windows.Forms.TabPage();
29 this.btnSubmit = new System.Windows.Forms.Button();
30 this.chkFast = new System.Windows.Forms.CheckBox();
31 this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
32 this.tBContact = new System.Windows.Forms.TextBox();
33 this.label4 = new System.Windows.Forms.Label();
34 this.tBCompName = new System.Windows.Forms.TextBox();
35 this.label3 = new System.Windows.Forms.Label();
36 this.tBQty = new System.Windows.Forms.TextBox();
37 this.label2 = new System.Windows.Forms.Label();
38 this.label1 = new System.Windows.Forms.Label();
39 this.comboCD = new System.Windows.Forms.ComboBox();
40 this.tabPageProcessed = new System.Windows.Forms.TabPage();
41 this.listBoxProc = new System.Windows.Forms.ListBox();
42 this.btnDisplay = new System.Windows.Forms.Button();
43 this.label5 = new System.Windows.Forms.Label();
44 this.mqdemoAck = new System.Messaging.MessageQueue();
45 this.textBoxServer = new System.Windows.Forms.TextBox();
46 this.label6 = new System.Windows.Forms.Label();
47 this.tabControl1.SuspendLayout();
48 this.tabPageSend.SuspendLayout();
49 this.tabPageProcessed.SuspendLayout();
50 this.SuspendLayout();
51 //
52 // mainMenu1
53 //
54 this.mainMenu1.MenuItems.Add(this.menuItemExit);
55 //
56 // menuItemExit
57 //
58 this.menuItemExit.Text = "Exit";
59 this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click);
60 //
61 // tabControl1
62 //
63 this.tabControl1.Controls.Add(this.tabPageSend);
64 this.tabControl1.Controls.Add(this.tabPageProcessed);
65 this.tabControl1.Location = new System.Drawing.Point(0, 0);
66 this.tabControl1.Name = "tabControl1";
67 this.tabControl1.SelectedIndex = 0;
68 this.tabControl1.Size = new System.Drawing.Size(240, 254);
69 this.tabControl1.TabIndex = 0;
70 //
71 // tabPageSend
72 //
73 this.tabPageSend.BackColor = System.Drawing.Color.Yellow;
74 this.tabPageSend.Controls.Add(this.label6);
75 this.tabPageSend.Controls.Add(this.btnSubmit);
76 this.tabPageSend.Controls.Add(this.textBoxServer);
77 this.tabPageSend.Controls.Add(this.chkFast);
78 this.tabPageSend.Controls.Add(this.dateTimePicker1);
79 this.tabPageSend.Controls.Add(this.tBContact);
80 this.tabPageSend.Controls.Add(this.label4);
81 this.tabPageSend.Controls.Add(this.tBCompName);
82 this.tabPageSend.Controls.Add(this.label3);
83 this.tabPageSend.Controls.Add(this.tBQty);
84 this.tabPageSend.Controls.Add(this.label2);
85 this.tabPageSend.Controls.Add(this.label1);
86 this.tabPageSend.Controls.Add(this.comboCD);
87 this.tabPageSend.Location = new System.Drawing.Point(0, 0);
88 this.tabPageSend.Name = "tabPageSend";
89 this.tabPageSend.Size = new System.Drawing.Size(240, 231);
90 this.tabPageSend.Text = "Send";
91 //
92 // btnSubmit
93 //
94 this.btnSubmit.Location = new System.Drawing.Point(129, 200);
95 this.btnSubmit.Name = "btnSubmit";
96 this.btnSubmit.TabIndex = 21;
97 this.btnSubmit.Text = "Submit";
98 this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click);
99 //
100 // chkFast
102 this.chkFast.BackColor = System.Drawing.Color.Yellow;
103 this.chkFast.Location = new System.Drawing.Point(10, 200);
104 this.chkFast.Name = "chkFast";
105 this.chkFast.Size = new System.Drawing.Size(94, 20);
106 this.chkFast.TabIndex = 20;
107 this.chkFast.Text = "Fast Order";
109 // dateTimePicker1
111 this.dateTimePicker1.Anchor = System.Windows.Forms.AnchorStyles.Top;
112 this.dateTimePicker1.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
113 this.dateTimePicker1.Location = new System.Drawing.Point(10, 161);
114 this.dateTimePicker1.Name = "dateTimePicker1";
115 this.dateTimePicker1.Size = new System.Drawing.Size(222, 22);
116 this.dateTimePicker1.TabIndex = 19;
118 // tBContact
120 this.tBContact.Location = new System.Drawing.Point(103, 126);
121 this.tBContact.Name = "tBContact";
122 this.tBContact.ScrollBars = System.Windows.Forms.ScrollBars.None;
123 this.tBContact.Size = new System.Drawing.Size(130, 21);
124 this.tBContact.TabIndex = 18;
126 // label4
128 this.label4.BackColor = System.Drawing.Color.Yellow;
129 this.label4.Location = new System.Drawing.Point(10, 126);
130 this.label4.Name = "label4";
131 this.label4.Size = new System.Drawing.Size(92, 20);
132 this.label4.Text = "Contact Name:";
134 // tBCompName
136 this.tBCompName.Location = new System.Drawing.Point(103, 93);
137 this.tBCompName.Name = "tBCompName";
138 this.tBCompName.ScrollBars = System.Windows.Forms.ScrollBars.None;
139 this.tBCompName.Size = new System.Drawing.Size(131, 21);
140 this.tBCompName.TabIndex = 17;
142 // label3
144 this.label3.BackColor = System.Drawing.Color.Yellow;
145 this.label3.Location = new System.Drawing.Point(7, 95);
146 this.label3.Name = "label3";
147 this.label3.Size = new System.Drawing.Size(95, 20);
148 this.label3.Text = "Company Name:";
150 // tBQty
152 this.tBQty.Location = new System.Drawing.Point(101, 60);
153 this.tBQty.Name = "tBQty";
154 this.tBQty.ScrollBars = System.Windows.Forms.ScrollBars.None;
155 this.tBQty.Size = new System.Drawing.Size(131, 21);
156 this.tBQty.TabIndex = 16;
158 // label2
160 this.label2.BackColor = System.Drawing.Color.Yellow;
161 this.label2.Location = new System.Drawing.Point(9, 61);
162 this.label2.Name = "label2";
163 this.label2.Size = new System.Drawing.Size(83, 20);
164 this.label2.Text = "Quantity:";
166 // label1
168 this.label1.BackColor = System.Drawing.Color.Yellow;
169 this.label1.Location = new System.Drawing.Point(9, 30);
170 this.label1.Name = "label1";
171 this.label1.Size = new System.Drawing.Size(86, 20);
172 this.label1.Text = "CD to Order:";
174 // comboCD
176 this.comboCD.Items.Add("Destiny Fulfilled");
177 this.comboCD.Items.Add("Stardust");
178 this.comboCD.Items.Add("Confessions");
179 this.comboCD.Items.Add("Blue Angel");
180 this.comboCD.Items.Add("Slow Jam");
181 this.comboCD.Location = new System.Drawing.Point(101, 28);
182 this.comboCD.Name = "comboCD";
183 this.comboCD.Size = new System.Drawing.Size(131, 22);
184 this.comboCD.TabIndex = 15;
186 // tabPageProcessed
188 this.tabPageProcessed.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
189 this.tabPageProcessed.Controls.Add(this.listBoxProc);
190 this.tabPageProcessed.Controls.Add(this.btnDisplay);
191 this.tabPageProcessed.Controls.Add(this.label5);
192 this.tabPageProcessed.Location = new System.Drawing.Point(0, 0);
193 this.tabPageProcessed.Name = "tabPageProcessed";
194 this.tabPageProcessed.Size = new System.Drawing.Size(192, 74);
195 this.tabPageProcessed.Text = "Processed";
197 // listBoxProc
199 this.listBoxProc.Location = new System.Drawing.Point(22, 30);
200 this.listBoxProc.Name = "listBoxProc";
201 this.listBoxProc.Size = new System.Drawing.Size(179, 142);
202 this.listBoxProc.TabIndex = 4;
204 // btnDisplay
206 this.btnDisplay.Location = new System.Drawing.Point(72, 185);
207 this.btnDisplay.Name = "btnDisplay";
208 this.btnDisplay.TabIndex = 2;
209 this.btnDisplay.Text = "Display";
210 this.btnDisplay.Click += new System.EventHandler(this.btnDisplay_Click);
212 // label5
214 this.label5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
215 this.label5.Location = new System.Drawing.Point(22, 7);
216 this.label5.Name = "label5";
217 this.label5.Size = new System.Drawing.Size(130, 20);
218 this.label5.Text = "Processed Orders";
220 // mqdemoAck
222 this.mqdemoAck.DefaultPropertiesToSend.AcknowledgeType = System.Messaging.AcknowledgeTypes.None;
223 this.mqdemoAck.DefaultPropertiesToSend.Priority = System.Messaging.MessagePriority.Normal;
224 this.mqdemoAck.Formatter = new System.Messaging.XmlMessageFormatter(new string[0]);
226 // textBoxServer
228 this.textBoxServer.Location = new System.Drawing.Point(101, 1);
229 this.textBoxServer.Name = "textBoxServer";
230 this.textBoxServer.ScrollBars = System.Windows.Forms.ScrollBars.None;
231 this.textBoxServer.Size = new System.Drawing.Size(100, 21);
232 this.textBoxServer.TabIndex = 1;
234 // label6
236 this.label6.BackColor = System.Drawing.Color.Aqua;
237 this.label6.Location = new System.Drawing.Point(34, 2);
238 this.label6.Name = "label6";
239 this.label6.Size = new System.Drawing.Size(45, 20);
240 this.label6.Text = "Server:";
242 // OrderSender
244 this.AutoScroll = true;
245 this.BackColor = System.Drawing.Color.Red;
246 this.ClientSize = new System.Drawing.Size(240, 268);
247 this.Controls.Add(this.tabControl1);
248 this.Menu = this.mainMenu1;
249 this.Name = "OrderSender";
250 this.Text = "CD Order";
251 this.tabControl1.ResumeLayout(false);
252 this.tabPageSend.ResumeLayout(false);
253 this.tabPageProcessed.ResumeLayout(false);
254 this.ResumeLayout(false);
258 /// <summary>
259 /// Clean up any resources being used.
260 /// </summary>
261 protected override void Dispose(bool disposing)
263 base.Dispose(disposing);
266 private System.Windows.Forms.MainMenu mainMenu1;
267 private System.Windows.Forms.MenuItem menuItemExit;
268 private System.Windows.Forms.TabControl tabControl1;
269 private System.Windows.Forms.TabPage tabPageSend;
270 private System.Windows.Forms.Button btnSubmit;
271 private System.Windows.Forms.CheckBox chkFast;
272 private System.Windows.Forms.DateTimePicker dateTimePicker1;
273 private System.Windows.Forms.TextBox tBContact;
274 private System.Windows.Forms.Label label4;
275 private System.Windows.Forms.TextBox tBCompName;
276 private System.Windows.Forms.Label label3;
277 private System.Windows.Forms.TextBox tBQty;
278 private System.Windows.Forms.Label label2;
279 private System.Windows.Forms.Label label1;
280 private System.Windows.Forms.ComboBox comboCD;
281 private System.Windows.Forms.TabPage tabPageProcessed;
282 private System.Windows.Forms.Label label5;
283 private System.Windows.Forms.Button btnDisplay;
284 private System.Messaging.MessageQueue mqdemoAck;
285 private System.Windows.Forms.ListBox listBoxProc;
286 private System.Windows.Forms.TextBox textBoxServer;
287 private System.Windows.Forms.Label label6;