Typical Tasks and Solutions in Scripts

Managing Visibility

Read the article

Managing Position

Read the article

Access to Application Logic

All objects from the application assemblies are available from scripts.

Sample demonstrating the use of application function: HostingApplicationExample.zip.
Sample is located in the folder {SharpShooter Collection Installation Directory}\Samples\SharpShooter Reports\CSharp\HostingApplicationExample.

GetString() function getting string “Hello from HostingApplicationExample.exe” is declared in the main form class.

    public static string GetString()
      return "Hello from HostingApplicationExample.exe";

In order to get access to the form class it is enough to add namespace the form is located in to the Document.Imports property.

GetString() function is called in the Value property of the textBox1 object.

Add Feedback