Click here to Skip to main content
15,884,176 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 SubscriberDialog
    {
        /// <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(SubscriberDialog));
            this.labelNamespace = new System.Windows.Forms.Label();
            this.comboBoxNamespace = new System.Windows.Forms.ComboBox();
            this.labelTopic = new System.Windows.Forms.Label();
            this.comboBoxTopic = new System.Windows.Forms.ComboBox();
            this.labelSubscription = new System.Windows.Forms.Label();
            this.comboBoxSubscription = 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.checkedListBoxSubscriptionOptions = new System.Windows.Forms.CheckedListBox();
            this.groupBoxSubscription = new System.Windows.Forms.GroupBox();
            this.dataGridViewRules = new System.Windows.Forms.DataGridView();
            this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.ColumnFilter = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.ColumnAction = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.comboBoxType = new System.Windows.Forms.ComboBox();
            this.labelCT = new System.Windows.Forms.Label();
            this.buttonRental = new System.Windows.Forms.Button();
            this.textBoxRental = new System.Windows.Forms.TextBox();
            this.labelRental = new System.Windows.Forms.Label();
            this.groupBoxRental = new System.Windows.Forms.GroupBox();
            this.textBoxName = new System.Windows.Forms.TextBox();
            this.labelRentalName = new System.Windows.Forms.Label();
            this.groupBoxSB.SuspendLayout();
            this.groupBoxSubscription.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRules)).BeginInit();
            this.groupBoxRental.SuspendLayout();
            this.SuspendLayout();
            // 
            // labelNamespace
            // 
            this.labelNamespace.AutoSize = true;
            this.labelNamespace.Location = new System.Drawing.Point(10, 21);
            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(83, 18);
            this.comboBoxNamespace.Name = "comboBoxNamespace";
            this.comboBoxNamespace.Size = new System.Drawing.Size(321, 21);
            this.comboBoxNamespace.TabIndex = 1;
            // 
            // labelTopic
            // 
            this.labelTopic.AutoSize = true;
            this.labelTopic.Location = new System.Drawing.Point(40, 48);
            this.labelTopic.Name = "labelTopic";
            this.labelTopic.Size = new System.Drawing.Size(37, 13);
            this.labelTopic.TabIndex = 0;
            this.labelTopic.Text = "Topic:";
            // 
            // comboBoxTopic
            // 
            this.comboBoxTopic.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxTopic.FormattingEnabled = true;
            this.comboBoxTopic.Location = new System.Drawing.Point(83, 45);
            this.comboBoxTopic.Name = "comboBoxTopic";
            this.comboBoxTopic.Size = new System.Drawing.Size(321, 21);
            this.comboBoxTopic.TabIndex = 1;
            // 
            // labelSubscription
            // 
            this.labelSubscription.AutoSize = true;
            this.labelSubscription.Location = new System.Drawing.Point(9, 75);
            this.labelSubscription.Name = "labelSubscription";
            this.labelSubscription.Size = new System.Drawing.Size(68, 13);
            this.labelSubscription.TabIndex = 0;
            this.labelSubscription.Text = "Subscription:";
            // 
            // comboBoxSubscription
            // 
            this.comboBoxSubscription.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxSubscription.FormattingEnabled = true;
            this.comboBoxSubscription.Location = new System.Drawing.Point(83, 72);
            this.comboBoxSubscription.Name = "comboBoxSubscription";
            this.comboBoxSubscription.Size = new System.Drawing.Size(321, 21);
            this.comboBoxSubscription.TabIndex = 1;
            // 
            // buttonCancel
            // 
            this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.buttonCancel.Location = new System.Drawing.Point(612, 296);
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.Size = new System.Drawing.Size(63, 23);
            this.buttonCancel.TabIndex = 2;
            this.buttonCancel.Text = "Cancel";
            this.buttonCancel.UseVisualStyleBackColor = true;
            // 
            // buttonOK
            // 
            this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.buttonOK.Location = new System.Drawing.Point(459, 296);
            this.buttonOK.Name = "buttonOK";
            this.buttonOK.Size = new System.Drawing.Size(63, 23);
            this.buttonOK.TabIndex = 2;
            this.buttonOK.Text = "OK";
            this.buttonOK.UseVisualStyleBackColor = true;
            // 
            // groupBoxSB
            // 
            this.groupBoxSB.Controls.Add(this.comboBoxSubscription);
            this.groupBoxSB.Controls.Add(this.labelSubscription);
            this.groupBoxSB.Controls.Add(this.labelNamespace);
            this.groupBoxSB.Controls.Add(this.comboBoxTopic);
            this.groupBoxSB.Controls.Add(this.comboBoxNamespace);
            this.groupBoxSB.Controls.Add(this.labelTopic);
            this.groupBoxSB.Location = new System.Drawing.Point(12, 5);
            this.groupBoxSB.Name = "groupBoxSB";
            this.groupBoxSB.Size = new System.Drawing.Size(410, 109);
            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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonRefresh.ImageIndex = 0;
            this.buttonRefresh.ImageList = this.imageListDialog;
            this.buttonRefresh.Location = new System.Drawing.Point(528, 296);
            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);
            // 
            // checkedListBoxSubscriptionOptions
            // 
            this.checkedListBoxSubscriptionOptions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.checkedListBoxSubscriptionOptions.ColumnWidth = 200;
            this.checkedListBoxSubscriptionOptions.Enabled = false;
            this.checkedListBoxSubscriptionOptions.FormattingEnabled = true;
            this.checkedListBoxSubscriptionOptions.Location = new System.Drawing.Point(6, 19);
            this.checkedListBoxSubscriptionOptions.MultiColumn = true;
            this.checkedListBoxSubscriptionOptions.Name = "checkedListBoxSubscriptionOptions";
            this.checkedListBoxSubscriptionOptions.SelectionMode = System.Windows.Forms.SelectionMode.None;
            this.checkedListBoxSubscriptionOptions.Size = new System.Drawing.Size(666, 34);
            this.checkedListBoxSubscriptionOptions.TabIndex = 5;
            this.checkedListBoxSubscriptionOptions.Resize += new System.EventHandler(this.checkedListBoxSubscriptionOptions_Resize);
            // 
            // groupBoxSubscription
            // 
            this.groupBoxSubscription.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBoxSubscription.Controls.Add(this.dataGridViewRules);
            this.groupBoxSubscription.Controls.Add(this.checkedListBoxSubscriptionOptions);
            this.groupBoxSubscription.Location = new System.Drawing.Point(3, 120);
            this.groupBoxSubscription.Name = "groupBoxSubscription";
            this.groupBoxSubscription.Size = new System.Drawing.Size(678, 170);
            this.groupBoxSubscription.TabIndex = 5;
            this.groupBoxSubscription.TabStop = false;
            this.groupBoxSubscription.Text = "Subscription";
            // 
            // dataGridViewRules
            // 
            this.dataGridViewRules.AllowUserToAddRows = false;
            this.dataGridViewRules.AllowUserToDeleteRows = false;
            this.dataGridViewRules.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.dataGridViewRules.BackgroundColor = System.Drawing.SystemColors.Window;
            this.dataGridViewRules.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dataGridViewRules.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridViewRules.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.ColumnName,
            this.ColumnFilter,
            this.ColumnAction});
            this.dataGridViewRules.Location = new System.Drawing.Point(6, 59);
            this.dataGridViewRules.MultiSelect = false;
            this.dataGridViewRules.Name = "dataGridViewRules";
            this.dataGridViewRules.ReadOnly = true;
            this.dataGridViewRules.RowHeadersVisible = false;
            this.dataGridViewRules.RowHeadersWidth = 25;
            this.dataGridViewRules.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewRules.Size = new System.Drawing.Size(666, 105);
            this.dataGridViewRules.TabIndex = 6;
            // 
            // ColumnName
            // 
            this.ColumnName.Frozen = true;
            this.ColumnName.HeaderText = "Name";
            this.ColumnName.Name = "ColumnName";
            this.ColumnName.ReadOnly = true;
            this.ColumnName.Width = 60;
            // 
            // ColumnFilter
            // 
            this.ColumnFilter.Frozen = true;
            this.ColumnFilter.HeaderText = "Filter";
            this.ColumnFilter.Name = "ColumnFilter";
            this.ColumnFilter.ReadOnly = true;
            this.ColumnFilter.Width = 200;
            // 
            // ColumnAction
            // 
            this.ColumnAction.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
            this.ColumnAction.HeaderText = "Action";
            this.ColumnAction.Name = "ColumnAction";
            this.ColumnAction.ReadOnly = true;
            // 
            // 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(46, 298);
            this.comboBoxType.Name = "comboBoxType";
            this.comboBoxType.Size = new System.Drawing.Size(148, 21);
            this.comboBoxType.TabIndex = 6;
            this.comboBoxType.Text = "application/soap+msbin1";
            // 
            // 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(6, 301);
            this.labelCT.Name = "labelCT";
            this.labelCT.Size = new System.Drawing.Size(34, 13);
            this.labelCT.TabIndex = 7;
            this.labelCT.Text = "Type:";
            // 
            // buttonRental
            // 
            this.buttonRental.Location = new System.Drawing.Point(184, 63);
            this.buttonRental.Name = "buttonRental";
            this.buttonRental.Size = new System.Drawing.Size(60, 23);
            this.buttonRental.TabIndex = 8;
            this.buttonRental.Text = "Create";
            this.buttonRental.UseVisualStyleBackColor = true;
            this.buttonRental.Click += new System.EventHandler(this.buttonRental_Click);
            // 
            // textBoxRental
            // 
            this.textBoxRental.Location = new System.Drawing.Point(65, 64);
            this.textBoxRental.Name = "textBoxRental";
            this.textBoxRental.Size = new System.Drawing.Size(113, 20);
            this.textBoxRental.TabIndex = 9;
            this.textBoxRental.Text = "00:05:00";
            // 
            // labelRental
            // 
            this.labelRental.AutoSize = true;
            this.labelRental.Location = new System.Drawing.Point(15, 68);
            this.labelRental.Name = "labelRental";
            this.labelRental.Size = new System.Drawing.Size(50, 13);
            this.labelRental.TabIndex = 10;
            this.labelRental.Text = "IdleTime:";
            // 
            // groupBoxRental
            // 
            this.groupBoxRental.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBoxRental.Controls.Add(this.labelRentalName);
            this.groupBoxRental.Controls.Add(this.labelRental);
            this.groupBoxRental.Controls.Add(this.buttonRental);
            this.groupBoxRental.Controls.Add(this.textBoxName);
            this.groupBoxRental.Controls.Add(this.textBoxRental);
            this.groupBoxRental.Enabled = false;
            this.groupBoxRental.Location = new System.Drawing.Point(428, 12);
            this.groupBoxRental.Name = "groupBoxRental";
            this.groupBoxRental.Size = new System.Drawing.Size(252, 102);
            this.groupBoxRental.TabIndex = 11;
            this.groupBoxRental.TabStop = false;
            this.groupBoxRental.Text = "CreateRentalSubscription";
            // 
            // textBoxName
            // 
            this.textBoxName.Location = new System.Drawing.Point(65, 39);
            this.textBoxName.Name = "textBoxName";
            this.textBoxName.Size = new System.Drawing.Size(179, 20);
            this.textBoxName.TabIndex = 9;
            this.textBoxName.Text = "sbTester.RK00001";
            // 
            // labelRentalName
            // 
            this.labelRentalName.AutoSize = true;
            this.labelRentalName.Location = new System.Drawing.Point(6, 42);
            this.labelRentalName.Name = "labelRentalName";
            this.labelRentalName.Size = new System.Drawing.Size(59, 13);
            this.labelRentalName.TabIndex = 10;
            this.labelRentalName.Text = "PostName:";
            // 
            // SubscriberDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(684, 331);
            this.Controls.Add(this.groupBoxRental);
            this.Controls.Add(this.labelCT);
            this.Controls.Add(this.comboBoxType);
            this.Controls.Add(this.groupBoxSubscription);
            this.Controls.Add(this.groupBoxSB);
            this.Controls.Add(this.buttonRefresh);
            this.Controls.Add(this.buttonOK);
            this.Controls.Add(this.buttonCancel);
            this.MaximizeBox = false;
            this.MaximumSize = new System.Drawing.Size(700, 400);
            this.MinimizeBox = false;
            this.MinimumSize = new System.Drawing.Size(450, 350);
            this.Name = "SubscriberDialog";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "SubscriberDialog";
            this.groupBoxSB.ResumeLayout(false);
            this.groupBoxSB.PerformLayout();
            this.groupBoxSubscription.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRules)).EndInit();
            this.groupBoxRental.ResumeLayout(false);
            this.groupBoxRental.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Label labelNamespace;
        private System.Windows.Forms.ComboBox comboBoxNamespace;
        private System.Windows.Forms.Label labelTopic;
        private System.Windows.Forms.ComboBox comboBoxTopic;
        private System.Windows.Forms.Label labelSubscription;
        private System.Windows.Forms.ComboBox comboBoxSubscription;
        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 checkedListBoxSubscriptionOptions;
        private System.Windows.Forms.GroupBox groupBoxSubscription;
        private System.Windows.Forms.DataGridView dataGridViewRules;
        private System.Windows.Forms.ComboBox comboBoxType;
        private System.Windows.Forms.Label labelCT;
        private System.Windows.Forms.DataGridViewTextBoxColumn ColumnName;
        private System.Windows.Forms.DataGridViewTextBoxColumn ColumnFilter;
        private System.Windows.Forms.DataGridViewTextBoxColumn ColumnAction;
        private System.Windows.Forms.Button buttonRental;
        private System.Windows.Forms.TextBox textBoxRental;
        private System.Windows.Forms.Label labelRental;
        private System.Windows.Forms.GroupBox groupBoxRental;
        private System.Windows.Forms.Label labelRentalName;
        private System.Windows.Forms.TextBox textBoxName;
    }
}

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