ArcFM Engine Developer Guide
AssemblySplashScreenInfoAttribute Class
Members 


Product Availability
Required Licenses
.NET Assembly
A custom attribute that defines the splash screen information.
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class AssemblySplashScreenInfoAttribute 
   Inherits System.Attribute
'Usage
 
Dim instance As AssemblySplashScreenInfoAttribute
[AttributeUsage(ValidOn=AttributeTargets.Assembly, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class AssemblySplashScreenInfoAttribute : System.Attribute 
Remarks
Since the splash screen for the application is supplied by the framework, a means is needed to specify the information about the splash screen. The first parameter defines the name of the embedded bitmap resource in the main assembly that is to be used for the splash screen.

The splash screen usually contains three different pieces of text about the program: the name of the product, the version information, and the copyright information. The name of the product is assumed to be part of the bitmap and is not treated as text. The version and copyright information is text and is automatically obtained from the MainApp.AppInfo.ProductVersion and MainApp.AppInfo.Copyright properties, respectively. The default color for this text is the system HighlightText color. If the color in the bottom portion of the splash bitmap where the text is shown is such that this color does not show clearly, then the color of the text can be changed via the second parameter of this assembly attribute. If the versionTextColor string parameter of this attribute starts with the characters "rgb:", then the parameter is assumed to contain the standard three-color values delimited with commas. Otherwise, the value is assumed to be the name of one of the standard .NET colors.

Finally, sometimes it is desirable to put special information on the splash screen (e.g. Beta version). The last parameter of this attribute specifies the special text, if any. The text will appear in red in the upper right corner of the splash screen.

Inheritance Hierarchy

System.Object
   System.Attribute
      Miner.Windows.AssemblySplashScreenInfoAttribute

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

AssemblySplashScreenInfoAttribute Members
Miner.Windows Namespace

 

 


Send Comment