コード例 #1
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TeamFoundBar));
     this.ctxServer        = new System.Windows.Forms.ContextMenu();
     this.btnAdd           = new Joaqs.UI.XpButton();
     this.btnSearch        = new Joaqs.UI.XpButton();
     this.btnSettings      = new Joaqs.UI.XpButton();
     this.cbbSearch        = new Joaqs.UI.XpComboBox();
     this.btnCategory      = new Joaqs.UI.XpButton();
     this.xpButton1        = new Joaqs.UI.XpButton();
     this.projectsComboBox = new Joaqs.UI.XpComboBox();
     this.SuspendLayout();
     //
     // ctxServer
     //
     this.ctxServer.Popup += new System.EventHandler(this.ctxServer_Popup);
     //
     // btnAdd
     //
     this.btnAdd.BackColor = System.Drawing.Color.Transparent;
     this.btnAdd.Location  = new System.Drawing.Point(265, 0);
     this.btnAdd.Name      = "btnAdd";
     this.btnAdd.Size      = new System.Drawing.Size(72, 23);
     this.btnAdd.TabIndex  = 9;
     this.btnAdd.Text      = "Hinzufügen";
     this.btnAdd.UseVisualStyleBackColor = false;
     this.btnAdd.Click += new System.EventHandler(this.btnAddPage_Click);
     //
     // btnSearch
     //
     this.btnSearch.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSearch.Location = new System.Drawing.Point(609, 0);
     this.btnSearch.Name     = "btnSearch";
     this.btnSearch.Size     = new System.Drawing.Size(75, 23);
     this.btnSearch.TabIndex = 10;
     this.btnSearch.Text     = "Suche";
     this.btnSearch.Click   += new System.EventHandler(this.btnSearch_Click);
     //
     // btnSettings
     //
     this.btnSettings.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSettings.Location = new System.Drawing.Point(689, 0);
     this.btnSettings.Name     = "btnSettings";
     this.btnSettings.Size     = new System.Drawing.Size(80, 23);
     this.btnSettings.TabIndex = 11;
     this.btnSettings.Text     = "Einstellungen";
     this.btnSettings.Click   += new System.EventHandler(this.btnSettings_Click);
     //
     // cbbSearch
     //
     this.cbbSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cbbSearch.Location = new System.Drawing.Point(343, 1);
     this.cbbSearch.Name     = "cbbSearch";
     this.cbbSearch.Size     = new System.Drawing.Size(258, 21);
     this.cbbSearch.TabIndex = 12;
     this.cbbSearch.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.cbbSearch_KeyUp);
     //
     // btnCategory
     //
     this.btnCategory.BackColor               = System.Drawing.Color.Transparent;
     this.btnCategory.Image                   = ((System.Drawing.Image)(resources.GetObject("btnCategory.Image")));
     this.btnCategory.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCategory.Location                = new System.Drawing.Point(195, 0);
     this.btnCategory.Name                    = "btnCategory";
     this.btnCategory.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.btnCategory.Size                    = new System.Drawing.Size(64, 23);
     this.btnCategory.TabIndex                = 13;
     this.btnCategory.Text                    = "Kategorie";
     this.btnCategory.UseVisualStyleBackColor = false;
     this.btnCategory.Click                  += new System.EventHandler(this.btnDropDownCategory_Click);
     //
     // xpButton1
     //
     this.xpButton1.BackColor               = System.Drawing.Color.Transparent;
     this.xpButton1.Image                   = ((System.Drawing.Image)(resources.GetObject("xpButton1.Image")));
     this.xpButton1.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.xpButton1.Location                = new System.Drawing.Point(3, 0);
     this.xpButton1.Name                    = "xpButton1";
     this.xpButton1.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.xpButton1.Size                    = new System.Drawing.Size(64, 23);
     this.xpButton1.TabIndex                = 14;
     this.xpButton1.Text                    = "Server";
     this.xpButton1.UseVisualStyleBackColor = false;
     this.xpButton1.Click                  += new System.EventHandler(this.xpButton1_Click);
     //
     // projectsComboBox
     //
     this.projectsComboBox.Location              = new System.Drawing.Point(73, 1);
     this.projectsComboBox.Name                  = "projectsComboBox";
     this.projectsComboBox.Size                  = new System.Drawing.Size(116, 21);
     this.projectsComboBox.TabIndex              = 15;
     this.projectsComboBox.SelectedIndexChanged += new System.EventHandler(this.projectsComboBox_SelectedIndexChanged);
     this.projectsComboBox.DropDown             += new System.EventHandler(this.projectsComboBox_DropDown);
     //
     // TeamFoundBar
     //
     this.BackColor = System.Drawing.Color.Gainsboro;
     this.Controls.Add(this.projectsComboBox);
     this.Controls.Add(this.xpButton1);
     this.Controls.Add(this.btnCategory);
     this.Controls.Add(this.cbbSearch);
     this.Controls.Add(this.btnSettings);
     this.Controls.Add(this.btnSearch);
     this.Controls.Add(this.btnAdd);
     this.IntegralSize = new System.Drawing.Size(-1, 23);
     this.Margin       = new System.Windows.Forms.Padding(3, 0, 3, 0);
     this.MaximumSize  = new System.Drawing.Size(10000, 23);
     this.MaxSize      = new System.Drawing.Size(10000, 23);
     this.MinSize      = new System.Drawing.Size(700, 23);
     this.Name         = "TeamFoundBar";
     this.Size         = new System.Drawing.Size(777, 23);
     this.Title        = "TeamFound";
     this.Resize      += new System.EventHandler(this.TeamFoundBar_Resize);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TeamFoundBar));
     this.ctxServer = new System.Windows.Forms.ContextMenu();
     this.btnAdd = new Joaqs.UI.XpButton();
     this.btnSearch = new Joaqs.UI.XpButton();
     this.btnSettings = new Joaqs.UI.XpButton();
     this.cbbSearch = new Joaqs.UI.XpComboBox();
     this.btnCategory = new Joaqs.UI.XpButton();
     this.xpButton1 = new Joaqs.UI.XpButton();
     this.projectsComboBox = new Joaqs.UI.XpComboBox();
     this.SuspendLayout();
     //
     // ctxServer
     //
     this.ctxServer.Popup += new System.EventHandler(this.ctxServer_Popup);
     //
     // btnAdd
     //
     this.btnAdd.BackColor = System.Drawing.Color.Transparent;
     this.btnAdd.Location = new System.Drawing.Point(265, 0);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(72, 23);
     this.btnAdd.TabIndex = 9;
     this.btnAdd.Text = "Hinzufügen";
     this.btnAdd.UseVisualStyleBackColor = false;
     this.btnAdd.Click += new System.EventHandler(this.btnAddPage_Click);
     //
     // btnSearch
     //
     this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSearch.Location = new System.Drawing.Point(609, 0);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new System.Drawing.Size(75, 23);
     this.btnSearch.TabIndex = 10;
     this.btnSearch.Text = "Suche";
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     //
     // btnSettings
     //
     this.btnSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSettings.Location = new System.Drawing.Point(689, 0);
     this.btnSettings.Name = "btnSettings";
     this.btnSettings.Size = new System.Drawing.Size(80, 23);
     this.btnSettings.TabIndex = 11;
     this.btnSettings.Text = "Einstellungen";
     this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click);
     //
     // cbbSearch
     //
     this.cbbSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.cbbSearch.Location = new System.Drawing.Point(343, 1);
     this.cbbSearch.Name = "cbbSearch";
     this.cbbSearch.Size = new System.Drawing.Size(258, 21);
     this.cbbSearch.TabIndex = 12;
     this.cbbSearch.KeyUp += new System.Windows.Forms.KeyEventHandler(this.cbbSearch_KeyUp);
     //
     // btnCategory
     //
     this.btnCategory.BackColor = System.Drawing.Color.Transparent;
     this.btnCategory.Image = ((System.Drawing.Image)(resources.GetObject("btnCategory.Image")));
     this.btnCategory.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnCategory.Location = new System.Drawing.Point(195, 0);
     this.btnCategory.Name = "btnCategory";
     this.btnCategory.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.btnCategory.Size = new System.Drawing.Size(64, 23);
     this.btnCategory.TabIndex = 13;
     this.btnCategory.Text = "Kategorie";
     this.btnCategory.UseVisualStyleBackColor = false;
     this.btnCategory.Click += new System.EventHandler(this.btnDropDownCategory_Click);
     //
     // xpButton1
     //
     this.xpButton1.BackColor = System.Drawing.Color.Transparent;
     this.xpButton1.Image = ((System.Drawing.Image)(resources.GetObject("xpButton1.Image")));
     this.xpButton1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.xpButton1.Location = new System.Drawing.Point(3, 0);
     this.xpButton1.Name = "xpButton1";
     this.xpButton1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.xpButton1.Size = new System.Drawing.Size(64, 23);
     this.xpButton1.TabIndex = 14;
     this.xpButton1.Text = "Server";
     this.xpButton1.UseVisualStyleBackColor = false;
     this.xpButton1.Click += new System.EventHandler(this.xpButton1_Click);
     //
     // projectsComboBox
     //
     this.projectsComboBox.Location = new System.Drawing.Point(73, 1);
     this.projectsComboBox.Name = "projectsComboBox";
     this.projectsComboBox.Size = new System.Drawing.Size(116, 21);
     this.projectsComboBox.TabIndex = 15;
     this.projectsComboBox.SelectedIndexChanged += new System.EventHandler(this.projectsComboBox_SelectedIndexChanged);
     this.projectsComboBox.DropDown += new System.EventHandler(this.projectsComboBox_DropDown);
     //
     // TeamFoundBar
     //
     this.BackColor = System.Drawing.Color.Gainsboro;
     this.Controls.Add(this.projectsComboBox);
     this.Controls.Add(this.xpButton1);
     this.Controls.Add(this.btnCategory);
     this.Controls.Add(this.cbbSearch);
     this.Controls.Add(this.btnSettings);
     this.Controls.Add(this.btnSearch);
     this.Controls.Add(this.btnAdd);
     this.IntegralSize = new System.Drawing.Size(-1, 23);
     this.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);
     this.MaximumSize = new System.Drawing.Size(10000, 23);
     this.MaxSize = new System.Drawing.Size(10000, 23);
     this.MinSize = new System.Drawing.Size(700, 23);
     this.Name = "TeamFoundBar";
     this.Size = new System.Drawing.Size(777, 23);
     this.Title = "TeamFound";
     this.Resize += new System.EventHandler(this.TeamFoundBar_Resize);
     this.ResumeLayout(false);
 }