Search Results for

    Show / Hide Table of Contents

    Class OpenCommand

    Represents the "File|Open..." command. Also can be used for loading a file from the recent files list.

    Inheritance
    System.Object
    DesignerCommand
    OpenCommand
    Inherited Members
    DesignerCommand.Enabled
    DesignerCommand.CustomAction
    DesignerCommand.Invoke(Object, EventArgs)
    Namespace: FastReport.Design
    Assembly: FastReport.dll
    Syntax
    public class OpenCommand : DesignerCommand

    Methods

    GetEnabled()

    Gets a value for the Enabled property.

    Declaration
    protected override bool GetEnabled()
    Returns
    Type Description
    System.Boolean

    true if command is enabled.

    Overrides
    DesignerCommand.GetEnabled()

    Invoke()

    Invokes the command.

    Declaration
    public override void Invoke()
    Overrides
    DesignerCommand.Invoke()

    LoadFile(String, Boolean)

    Loads a specified report file.

    Declaration
    public void LoadFile(string fileName, bool silent = false)
    Parameters
    Type Name Description
    System.String fileName

    File to load.

    System.Boolean silent

    true to suppress message dialog if load is failed.

    Back to top © 1998-2025 Copyright Fast Reports Inc.