Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ToolbarBase"/> class with default settings.
        /// </summary>
        /// <param name="designer">The report designer.</param>
        /// <remarks>
        /// You don't need to call this constructor. The designer will do this automatically.
        /// </remarks>
        public ToolbarBase(Designer designer) : base()
        {
            FDesigner       = designer as DesignerControl;
            Font            = DrawUtils.Default96Font;
            GrabHandleStyle = eGrabHandleStyle.Office2003;

            FCustomizeItem = new CustomizeItem();
            FCustomizeItem.CustomizeItemVisible = false;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new instance of the <see cref="DesignerForm"/> class with default settings.
        /// </summary>
        public DesignerForm()
        {
            InitializeComponent();

            FDesigner         = new DesignerControl();
            FDesigner.Dock    = DockStyle.Fill;
            FDesigner.UIStyle = Config.UIStyle;
            Controls.Add(FDesigner);

            Font = DrawUtils.DefaultFont;
            Icon = Config.DesignerSettings.Icon;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Creates a new instance of the <see cref="DesignerForm"/> class with default settings.
        /// </summary>
        public Office2007DesignerForm()
        {
            InitializeComponent();

            FDesigner         = new DesignerControl();
            FDesigner.Dock    = DockStyle.Fill;
            FDesigner.UIStyle = Config.UIStyle;
            Controls.Add(FDesigner);

            Font        = DrawUtils.DefaultFont;
            Icon        = Config.DesignerSettings.Icon;
            EnableGlass = false;
            Name        = "DesignerForm";
        }