BASS.NET API for the Un4seen BASS Audio LibraryBassNetShowSplash Method BASS.NET API for the Un4seen BASS Audio Library
Shows the splash screen, even if you have registered BASS.NET.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static void ShowSplash(
	Form owner,
	int wait,
	double opacity,
	int pos
)

Parameters

owner
Type: System.Windows.FormsForm
The owner of the splash screen (or ).
wait
Type: SystemInt32
The number of milliseconds to show the splash screen (use -1 to show infinit until the uses closes the splash or pressed ESC).
opacity
Type: SystemDouble
The opacity of the splash screen (1.0 = no opacity, 0.0 = fully transparent).
pos
Type: SystemInt32
Defines where the splash screen should be shown:

0 = CenterScreen

1 = WindowsDefaultLocation

2 = CenterParent

Examples

Register BASS.NET, but show splash anyhow (for 30sec., center parent, 5% transparent):
BassNet.Registration("your email", "your registration code");
BassNet.ShowSplash(this, 30000, 0.95, 2);
...
Bass.Init(...);
Show splash (infinit until closed, center screen):
BassNet.Registration("your email", "your registration code");
BassNet.ShowSplash(null, -1, 1.0, 0);
...
Bass.Init(...);
See Also

Reference