/// <summary> /// Initializes the component's controls and other properties. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WixGroupBox)); this.groupLabel = new Microsoft.Tools.WindowsInstallerXml.VisualStudio.Controls.WixGroupLabel(); this.SuspendLayout(); // groupLabel resources.ApplyResources(this.groupLabel, "groupLabel"); this.groupLabel.Name = "groupLabel"; // WixGroupBox this.Controls.Add(this.groupLabel); resources.ApplyResources(this, "$this"); this.ResumeLayout(false); }
private void InitializeComponent() { this.SuspendLayout(); // set our properties this.Size = new Size(300, 200); // groupLabel this.groupLabel = new WixGroupLabel(); this.groupLabel.Location = new Point(-3, 0); this.groupLabel.Size = new Size(this.ClientSize.Width + 3, 100); this.groupLabel.Text = "Group Label"; // add the controls this.Controls.Add(this.groupLabel); this.ResumeLayout(false); }