Click here to Skip to main content
15,886,026 members
Articles / Hosted Services / Azure

Azure Service Bus Tester

Rate me:
Please Sign up or sign in to vote.
4.96/5 (16 votes)
27 Dec 2014CPOL28 min read 89.9K   2.9K   24  
This article describes the design and implementation of the small tool, tester for Windows Azure Service Bus Messaging.
namespace RKiss.Tools.ServiceBusTester.Dialogs
{
    partial class ReceiverDialog
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReceiverDialog));
            this.labelNamespace = new System.Windows.Forms.Label();
            this.comboBoxNamespace = new System.Windows.Forms.ComboBox();
            this.labelQueue = new System.Windows.Forms.Label();
            this.comboBoxQueue = new System.Windows.Forms.ComboBox();
            this.buttonCancel = new System.Windows.Forms.Button();
            this.buttonOK = new System.Windows.Forms.Button();
            this.groupBoxSB = new System.Windows.Forms.GroupBox();
            this.imageListDialog = new System.Windows.Forms.ImageList(this.components);
            this.buttonRefresh = new System.Windows.Forms.Button();
            this.checkedListBoxQueueOptions = new System.Windows.Forms.CheckedListBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.textBoxLockDuration = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.textBoxMessageCount = new System.Windows.Forms.TextBox();
            this.textBoxMaxSizeInMB = new System.Windows.Forms.TextBox();
            this.textBoxMessageDeliveryCount = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.labelCT = new System.Windows.Forms.Label();
            this.comboBoxType = new System.Windows.Forms.ComboBox();
            this.groupBoxSB.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // labelNamespace
            // 
            this.labelNamespace.AutoSize = true;
            this.labelNamespace.Location = new System.Drawing.Point(11, 23);
            this.labelNamespace.Name = "labelNamespace";
            this.labelNamespace.Size = new System.Drawing.Size(67, 13);
            this.labelNamespace.TabIndex = 0;
            this.labelNamespace.Text = "Namespace:";
            // 
            // comboBoxNamespace
            // 
            this.comboBoxNamespace.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxNamespace.FormattingEnabled = true;
            this.comboBoxNamespace.Location = new System.Drawing.Point(84, 20);
            this.comboBoxNamespace.Name = "comboBoxNamespace";
            this.comboBoxNamespace.Size = new System.Drawing.Size(336, 21);
            this.comboBoxNamespace.TabIndex = 1;
            // 
            // labelQueue
            // 
            this.labelQueue.AutoSize = true;
            this.labelQueue.Location = new System.Drawing.Point(41, 50);
            this.labelQueue.Name = "labelQueue";
            this.labelQueue.Size = new System.Drawing.Size(42, 13);
            this.labelQueue.TabIndex = 0;
            this.labelQueue.Text = "Queue:";
            // 
            // comboBoxQueue
            // 
            this.comboBoxQueue.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxQueue.FormattingEnabled = true;
            this.comboBoxQueue.Location = new System.Drawing.Point(84, 47);
            this.comboBoxQueue.Name = "comboBoxQueue";
            this.comboBoxQueue.Size = new System.Drawing.Size(336, 21);
            this.comboBoxQueue.TabIndex = 1;
            // 
            // buttonCancel
            // 
            this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.buttonCancel.Location = new System.Drawing.Point(372, 227);
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.Size = new System.Drawing.Size(57, 23);
            this.buttonCancel.TabIndex = 2;
            this.buttonCancel.Text = "Cancel";
            this.buttonCancel.UseVisualStyleBackColor = true;
            // 
            // buttonOK
            // 
            this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.buttonOK.Location = new System.Drawing.Point(225, 227);
            this.buttonOK.Name = "buttonOK";
            this.buttonOK.Size = new System.Drawing.Size(57, 23);
            this.buttonOK.TabIndex = 2;
            this.buttonOK.Text = "OK";
            this.buttonOK.UseVisualStyleBackColor = true;
            // 
            // groupBoxSB
            // 
            this.groupBoxSB.Controls.Add(this.comboBoxQueue);
            this.groupBoxSB.Controls.Add(this.labelNamespace);
            this.groupBoxSB.Controls.Add(this.comboBoxNamespace);
            this.groupBoxSB.Controls.Add(this.labelQueue);
            this.groupBoxSB.Location = new System.Drawing.Point(5, 13);
            this.groupBoxSB.Name = "groupBoxSB";
            this.groupBoxSB.Size = new System.Drawing.Size(426, 82);
            this.groupBoxSB.TabIndex = 3;
            this.groupBoxSB.TabStop = false;
            this.groupBoxSB.Text = "ServiceBus";
            // 
            // imageListDialog
            // 
            this.imageListDialog.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListDialog.ImageStream")));
            this.imageListDialog.TransparentColor = System.Drawing.Color.Transparent;
            this.imageListDialog.Images.SetKeyName(0, "cloud16.ico");
            this.imageListDialog.Images.SetKeyName(1, "Rotate1.ico");
            this.imageListDialog.Images.SetKeyName(2, "Rotate2.ico");
            this.imageListDialog.Images.SetKeyName(3, "Rotate3.ico");
            this.imageListDialog.Images.SetKeyName(4, "Rotate4.ico");
            this.imageListDialog.Images.SetKeyName(5, "Rotate5.ico");
            this.imageListDialog.Images.SetKeyName(6, "Rotate6.ico");
            this.imageListDialog.Images.SetKeyName(7, "Rotate7.ico");
            this.imageListDialog.Images.SetKeyName(8, "Rotate8.ico");
            // 
            // buttonRefresh
            // 
            this.buttonRefresh.ImageIndex = 0;
            this.buttonRefresh.ImageList = this.imageListDialog;
            this.buttonRefresh.Location = new System.Drawing.Point(288, 227);
            this.buttonRefresh.Name = "buttonRefresh";
            this.buttonRefresh.Size = new System.Drawing.Size(78, 23);
            this.buttonRefresh.TabIndex = 4;
            this.buttonRefresh.Text = "Refresh";
            this.buttonRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.buttonRefresh.UseVisualStyleBackColor = true;
            this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click);
            // 
            // checkedListBoxQueueOptions
            // 
            this.checkedListBoxQueueOptions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkedListBoxQueueOptions.ColumnWidth = 200;
            this.checkedListBoxQueueOptions.Enabled = false;
            this.checkedListBoxQueueOptions.FormattingEnabled = true;
            this.checkedListBoxQueueOptions.Location = new System.Drawing.Point(6, 19);
            this.checkedListBoxQueueOptions.MultiColumn = true;
            this.checkedListBoxQueueOptions.Name = "checkedListBoxQueueOptions";
            this.checkedListBoxQueueOptions.SelectionMode = System.Windows.Forms.SelectionMode.None;
            this.checkedListBoxQueueOptions.Size = new System.Drawing.Size(414, 34);
            this.checkedListBoxQueueOptions.TabIndex = 6;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.textBoxLockDuration);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.textBoxMessageCount);
            this.groupBox1.Controls.Add(this.textBoxMaxSizeInMB);
            this.groupBox1.Controls.Add(this.textBoxMessageDeliveryCount);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.checkedListBoxQueueOptions);
            this.groupBox1.Location = new System.Drawing.Point(5, 101);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(426, 120);
            this.groupBox1.TabIndex = 7;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "QueueDescription";
            // 
            // textBoxLockDuration
            // 
            this.textBoxLockDuration.Location = new System.Drawing.Point(95, 94);
            this.textBoxLockDuration.Name = "textBoxLockDuration";
            this.textBoxLockDuration.ReadOnly = true;
            this.textBoxLockDuration.Size = new System.Drawing.Size(84, 20);
            this.textBoxLockDuration.TabIndex = 12;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(15, 97);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(74, 13);
            this.label5.TabIndex = 11;
            this.label5.Text = "LockDuration:";
            // 
            // textBoxMessageCount
            // 
            this.textBoxMessageCount.Location = new System.Drawing.Point(95, 59);
            this.textBoxMessageCount.Name = "textBoxMessageCount";
            this.textBoxMessageCount.ReadOnly = true;
            this.textBoxMessageCount.Size = new System.Drawing.Size(84, 20);
            this.textBoxMessageCount.TabIndex = 9;
            // 
            // textBoxMaxSizeInMB
            // 
            this.textBoxMaxSizeInMB.Location = new System.Drawing.Point(300, 90);
            this.textBoxMaxSizeInMB.Name = "textBoxMaxSizeInMB";
            this.textBoxMaxSizeInMB.ReadOnly = true;
            this.textBoxMaxSizeInMB.Size = new System.Drawing.Size(86, 20);
            this.textBoxMaxSizeInMB.TabIndex = 10;
            // 
            // textBoxMessageDeliveryCount
            // 
            this.textBoxMessageDeliveryCount.Location = new System.Drawing.Point(300, 59);
            this.textBoxMessageDeliveryCount.Name = "textBoxMessageDeliveryCount";
            this.textBoxMessageDeliveryCount.ReadOnly = true;
            this.textBoxMessageDeliveryCount.Size = new System.Drawing.Size(86, 20);
            this.textBoxMessageDeliveryCount.TabIndex = 10;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(219, 97);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(75, 13);
            this.label1.TabIndex = 8;
            this.label1.Text = "MaxSizeInMB:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(8, 67);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(81, 13);
            this.label2.TabIndex = 7;
            this.label2.Text = "MessageCount:";
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(198, 66);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(96, 13);
            this.label4.TabIndex = 8;
            this.label4.Text = "MaxDeliveryCount:";
            // 
            // labelCT
            // 
            this.labelCT.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.labelCT.AutoSize = true;
            this.labelCT.Location = new System.Drawing.Point(8, 232);
            this.labelCT.Name = "labelCT";
            this.labelCT.Size = new System.Drawing.Size(34, 13);
            this.labelCT.TabIndex = 9;
            this.labelCT.Text = "Type:";
            // 
            // comboBoxType
            // 
            this.comboBoxType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.comboBoxType.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
            this.comboBoxType.FormattingEnabled = true;
            this.comboBoxType.Items.AddRange(new object[] {
            "application/soap+msbin1",
            "application/soap+xml",
            "application/xml",
            "application/json",
            "text/plain"});
            this.comboBoxType.Location = new System.Drawing.Point(48, 229);
            this.comboBoxType.Name = "comboBoxType";
            this.comboBoxType.Size = new System.Drawing.Size(148, 21);
            this.comboBoxType.TabIndex = 8;
            this.comboBoxType.Text = "application/soap+msbin1";
            // 
            // ReceiverDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(434, 262);
            this.Controls.Add(this.labelCT);
            this.Controls.Add(this.comboBoxType);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.buttonRefresh);
            this.Controls.Add(this.buttonOK);
            this.Controls.Add(this.buttonCancel);
            this.Controls.Add(this.groupBoxSB);
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(450, 300);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(450, 300);
            this.Name = "ReceiverDialog";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "ReceiverDialog";
            this.groupBoxSB.ResumeLayout(false);
            this.groupBoxSB.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label labelNamespace;
        private System.Windows.Forms.ComboBox comboBoxNamespace;
        private System.Windows.Forms.Label labelQueue;
        private System.Windows.Forms.ComboBox comboBoxQueue;
        private System.Windows.Forms.Button buttonCancel;
        private System.Windows.Forms.Button buttonOK;
        private System.Windows.Forms.GroupBox groupBoxSB;
        private System.Windows.Forms.ImageList imageListDialog;
        private System.Windows.Forms.Button buttonRefresh;
        private System.Windows.Forms.CheckedListBox checkedListBoxQueueOptions;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.TextBox textBoxMessageCount;
        private System.Windows.Forms.TextBox textBoxMessageDeliveryCount;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox textBoxLockDuration;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox textBoxMaxSizeInMB;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label labelCT;
        private System.Windows.Forms.ComboBox comboBoxType;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions