Table of Contents

Class AnimationResource

Namespace
NetEx.Dialogs.WinForms
Assembly
NetEx.Dialogs.WinForms.dll

Represents a resource that contains an Audio-Video Interleaved (AVI) clip to run in a dialog box.

public sealed class AnimationResource
Inheritance
AnimationResource
Inherited Members

Constructors

AnimationResource(string, ushort)

Initializes a new AnimationResource using a specified file and resource index.

public AnimationResource(string fileName, ushort resourceIndex)

Parameters

fileName string

The filename of the resource containing the Audio-Video Interleaved (AVI) clip.

resourceIndex ushort

The index of the Audio-Video Interleaved (AVI) clip within the resources contained in the file.

Exceptions

ArgumentNullException

fileName is null or empty.

Properties

ApplySettings

Gets an AnimationResource that represents the set multiple file attributes animation.

public static AnimationResource ApplySettings { get; }

Property Value

AnimationResource

An AnimationResource representing the set multiple file attributes animation.

CopyFile

Gets an AnimationResource that represents the folder-to-folder file copy animation.

public static AnimationResource CopyFile { get; }

Property Value

AnimationResource

An AnimationResource representing the folder-to-folder file copy animation.

DeleteFile

Gets an AnimationResource that represents the folder-to-nothing file delete animation.

public static AnimationResource DeleteFile { get; }

Property Value

AnimationResource

An AnimationResource representing the folder-to-nothing file delete animation.

DownloadFile

Gets an AnimationResource that represents the globe-to-folder file download animation.

public static AnimationResource DownloadFile { get; }

Property Value

AnimationResource

An AnimationResource representing the globe-to-folder file download animation.

EmptyRecycleBin

Gets an AnimationResource that represents the Recycle Bin file delete animation.

public static AnimationResource EmptyRecycleBin { get; }

Property Value

AnimationResource

An AnimationResource representing the Recycle Bin file delete animation.

FileName

The filename of the resource containing the Audio-Video Interleaved (AVI) clip.

public string FileName { get; }

Property Value

string

A string containing the filename of the resource.

MoveFile

Gets an AnimationResource that represents the folder-to-folder file move animation.

public static AnimationResource MoveFile { get; }

Property Value

AnimationResource

An AnimationResource representing the folder-to-folder file move animation.

RecycleFile

Gets an AnimationResource that represents the folder-to-recycle bin file delete animation.

public static AnimationResource RecycleFile { get; }

Property Value

AnimationResource

An AnimationResource representing the folder-to-recycle bin file delete animation.

ResourceIndex

The index of the Audio-Video Interleaved (AVI) clip within the resources contained in the file.

public ushort ResourceIndex { get; }

Property Value

ushort

A value representing the index of the resource within the file.

Gets an AnimationResource that represents the torch over folder animation.

public static AnimationResource Search { get; }

Property Value

AnimationResource

An AnimationResource representing the torch over folder animation.

SearchGlobe

Gets an AnimationResource that represents the magnifying glass over globe animation.

public static AnimationResource SearchGlobe { get; }

Property Value

AnimationResource

An AnimationResource representing the magnifying glass over globe animation.

Methods

Equals(object?)

Indicates whether the specified object is an AnimationResource and has the same FileName and ResourceIndex property values as this AnimationResource.

public override bool Equals(object? obj)

Parameters

obj object

The object to test.

Returns

bool

true if the obj parameter is an AnimationResource and has the same FileName and ResourceIndex property values as this AnimationResource; otherwise, false.

GetHashCode()

Gets the hash code for this AnimationResource.

public override int GetHashCode()

Returns

int

The hash code for this AnimationResource.

ToString()

Returns a string representation of this AnimationResource.

public override string ToString()

Returns

string

A string that represents this AnimationResource.

Operators

operator ==(AnimationResource?, AnimationResource?)

Determines whether two specified AnimationResource objects are equal.

public static bool operator ==(AnimationResource? left, AnimationResource? right)

Parameters

left AnimationResource

The first AnimationResource object.

right AnimationResource

The second AnimationResource object.

Returns

bool

true if left equals right; otherwise, false.

operator !=(AnimationResource?, AnimationResource?)

Determines whether two specified AnimationResource objects are not equal.

public static bool operator !=(AnimationResource? left, AnimationResource? right)

Parameters

left AnimationResource

The first AnimationResource object.

right AnimationResource

The second AnimationResource object.

Returns

bool

true if left does not equal right; otherwise, false.