public class SplashForm : IDisposable
Public Class SplashForm
Implements IDisposable
Dim instance As SplashForm
public ref class SplashForm : IDisposable
type SplashForm =
class
interface IDisposable
end
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
Private Sub Test() Handles MyBase.Load
' Hide this form.
With Me
Me.Size = New Size(0, 0)
Me.Hide()
End With
' show the SplahForm.
Using splashForm As New SplashForm(New Bitmap("C:\Image.png"))
splashForm.Opacity = 255
splashForm.TimeOut = 2500
splashForm.DragEnabled = True
splashForm.ShowDialog()
End Using
' Restore this form.
With Me
Me.Size = New Size(640, 480)
Me.Show()
End With
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
SplashForm(Bitmap) | Initializes a new instance of the SplashForm class. |
SplashForm(Image) | Initializes a new instance of the SplashForm class. |
DragEnabled | Gets or sets a value indicating whether the image is draggable. |
Image | Gets the image to show. |
Opacity | Gets or sets the image opacity. |
TimeOut | Gets or sets the timeout to auto-close the image, in milliseconds. |
Dispose | Releases all the resources used by this SplashForm instance. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
Show | Displays the image. |
ShowDialog | Displays the image as a modal dialog box. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |