UtilFormsShakeForm Method
Shakes the window of a
Form during the specified amount of time.
Namespace: DevCase.Core.Application.FormsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void ShakeForm(
Form form,
int amplitudeFactor,
TimeSpan timespan
)
public:
static void ShakeForm(
Form^ form,
int amplitudeFactor,
TimeSpan timespan
)
static member ShakeForm :
form : Form *
amplitudeFactor : int *
timespan : TimeSpan -> unit
No code example is currently available or this language may not be supported.
Parameters
- form Form
-
The Form to shake.
- amplitudeFactor Int32
-
When bigger the value, bigger the effect amplitude.
Recommended value: 15
- timespan TimeSpan
-
The amount of time the effect will last.
This is a code example.
No code example is currently available or this language may not be supported.
ShakeForm(My.Forms.Form1, 15, TimeSpan.FromMilliseconds(200))
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.