/// <summary> /// Construction /// </summary> /// <param name="template">BackgroundTemplate to show up</param> /// <param name="location">Location fo the Preview group</param> /// <param name="size">Size of the Group</param> /// <param name="tabIndex">tab index</param> public BkgTemplatePreviewGroup(BackgroundPropertiesForm form, Point location, Size size, int tabIndex) { this.SuspendLayout(); this.FlatStyle = FlatStyle.System; this.Location = location; this.Size = size; this.TabIndex = tabIndex; this.Name = "BkgTemplatePreviewGroup"; this.TabStop = false; this.Text = Strings.Preview; this.m_PreviewPanel = new BkgTemplatePreviewPanel(form, new Point(20, 20), new Size(240, 180)); this.Controls.Add(this.m_PreviewPanel); this.ResumeLayout(); }
/// <summary> /// Construction /// </summary> /// <param name="template">BackgroundTemplate to show up</param> /// <param name="location">Location fo the Preview group</param> /// <param name="size">Size of the Group</param> /// <param name="tabIndex">tab index</param> public BkgTemplatePreviewGroup(BackgroundPropertiesForm form, Point location, Size size, int tabIndex) { this.SuspendLayout(); this.FlatStyle = FlatStyle.System; this.Location = location; this.Size = size; this.TabIndex = tabIndex; this.Name = "BkgTemplatePreviewGroup"; this.TabStop = false; this.Text = Strings.Preview; this.m_PreviewPanel = new BkgTemplatePreviewPanel(form, new Point(20, 20), new Size(240, 180)); this.Controls.Add(this.m_PreviewPanel); this.ResumeLayout(); }