public OutputMultiGridControl() { InitializeComponent(); Dock = DockStyle.Fill; AllowToSave = true; textEditHeader.Hide(); textEditHeader.Parent = gridControlPublication; ColumnsColumns = new ColumnsControl(this); AdNotes = new AdNotesControl(this); SlideBullets = new SlideBulletsControl(this); SlideBullets.checkEditColumnInches.Visible = false; SlideBullets.checkEditDimensions.Visible = false; SlideBullets.checkEditPageSize.Visible = false; SlideBullets.checkEditPercentOfPage.Visible = false; SlideBullets.checkEditDelivery.Visible = false; SlideBullets.checkEditReadership.Visible = false; SlideHeader = new SlideHeaderControl(this); SlideHeader.checkEditPublicationName.Visible = false; SlideHeader.checkEditLogo1.Visible = false; HelpToolTip = new SuperTooltipInfo("HELP", "", "Learn more about the Logo Grid", null, null, eTooltipColor.Gray); BusinessObjects.Instance.ScheduleManager.SettingsSaved += (sender, e) => Controller.Instance.FormMain.BeginInvoke((MethodInvoker)delegate() { if (sender != this) UpdateOutput(e.QuickSave); }); BusinessObjects.Instance.ThemeManager.ThemesChanged += (o, e) => { InitThemeSelector(); Controller.Instance.MultiGridThemeBar.RecalcLayout(); Controller.Instance.MultiGridPanel.PerformLayout(); }; }
public OutputDetailedGridControl() { InitializeComponent(); Dock = DockStyle.Fill; ColumnsColumns = new ColumnsControl(this); AdNotes = new AdNotesControl(this); SlideBullets = new SlideBulletsControl(this); SlideHeader = new SlideHeaderControl(this); SlideHeader.checkEditLogo1.Text = "Publication Logo"; HelpToolTip = new SuperTooltipInfo("HELP", "", "Help me understand how to use the Detailed Grid", null, null, eTooltipColor.Gray); BusinessObjects.Instance.ScheduleManager.SettingsSaved += (sender, e) => Controller.Instance.FormMain.BeginInvoke((MethodInvoker)delegate() { if (sender != this) UpdateOutput(e.QuickSave); }); BusinessObjects.Instance.ThemeManager.ThemesChanged += (o, e) => { InitThemeSelector(); Controller.Instance.DetailedGridThemeBar.RecalcLayout(); Controller.Instance.DetailedGridPanel.PerformLayout(); }; }