MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
MPfm.WindowsControls Namespace
NamespacesMPfm.WindowsControls
The MPfm.WindowsControls assembly contains custom generic Windows Forms controls (such as Label, LinkLabel, Panel, etc.), custom controls for displaying library contents (such as SongGridView), custom controls for sound visualization (such as OutputMeter, WaveFormDisplay, etc.), and more.
Declaration Syntax
C#Visual Basic
namespace MPfm.WindowsControls
Namespace MPfm.WindowsControls
Types
All TypesClassesStructuresEnumerationsDelegates
IconTypeDescription
BackgroundGradient
The BackgroundGradient class adds border properties to the Gradient class.

Button
This button control is similar to the System.Windows.Forms.Button class but adds support for embedded Fonts and anti-aliasing.

ButtonTheme
Theme object for the Button control.

SongGridView..::..ColumnClick
Delegate method for the OnColumnClick event.

Control
This control adds a method for loading embedded fonts.

CustomFont
This object represents a custom font (standard or embedded font).

CustomFontEditorForm
Custom property grid type editor form for custom fonts.

CustomFontUIEditor
Custom property grid type editor for custom fonts.

EmbeddedFont
This object represents an embeddable font.

EmbeddedFontCollection
This is a list of embeddable fonts.

EmbeddedFontHelper
Font helper class returning embedded fonts.

Fader
The Fader control is a vertical track bar with the appearance of a fader. The control appearance can be changed using the public properties.

FaderTheme
Theme object for the Fader control.

Fader..::..FaderValueChanged
Occurs when the fader value changes.

FlowLayoutPanel
This custom version of FlowLayoutPanel adds a gradient properties for the background.

FlowLayoutPanelTheme
Theme object for the FlowLayoutPanel control.

Form
This form control is based on the System.Windows.Forms.Form control.

Gradient
The Gradient class groups different properties related to gradients into one object.

HScrollBar
This custom horizontal scrollbar control is based on System.Windows.Forms.Control instead of HScrollBar. It adds custom drawing, and most impotantly, the MouseUp event.

Win32..::..IconInfo
Defines the structure of an icon.

ReorderListView..::..ItemsReorderedHandler
Delegate for the ItemsReordered event.

Label
This label control is similar to the System.Windows.Forms.Label class but adds support for embedded Fonts and anti-aliasing.

LabelTheme
Theme object for the Label control.

LinkLabel
This link label control is similar to the System.Windows.Forms.LinkLabel class but adds support for embedded Fonts and anti-aliasing.

LinkLabelTheme
Theme object for the Label control.

ListBox
This list box control is based on the System.Windows.Forms.ListBox control. It adds custom drawing, supports embedded fonts and other features. Inspired from the following page: http://yacsharpblog.blogspot.com/2008/07/listbox-flicker.html

MainWindowTheme
Defines a theme object for the MPfm main window.

OutputMeter
This output meter control takes raw audio data and displays the current level of mono or stereo channels. The control appearance can be changed using the public properties.

OutputMeterDisplayType
Defines the display type of the output meter.

OutputMeterTheme
Theme object for the OutputMeter control.

PaintHelper
This static class contains miscelleanous methods for rendering controls.

Panel
This panel control is based on the System.Windows.Forms.Panel control. It adds custom drawing, gradient backgrounds and other features.

PanelTheme
Theme object for the Panel control.

WaveFormDisplay..::..PositionChanged
This delegate is used for the OnPositionChanged event.

PositionChangedData
Defines the data structure for the end-of-song event.

ReorderListView
This list view control is based on the System.Windows.Forms.ListView control. It adds custom flickerless redrawing and reordering. This code has been taken from http://www.codeproject.com/KB/list/ReorderListView.aspx.

ScrollBarTheme
Theme object for the HScrollBar and VScrollBar controls.

SecondaryWindowTheme
Defines a theme object for MPfm secondary windows.

SongGridView..::..SelectedIndexChanged
Delegate method for the OnSelectedItemChanged event.

SongGridView
This custom grid view control displays the MPfm library.

SongGridViewBackgroundWorkerArgument
Argument data structure used for the SongGridView background worker.

SongGridViewBackgroundWorkerResult
Result data structure used for the SongGridView background worker.

SongGridViewCache
General cache for the SongGridView control. Contains data which doesn't need to be calculated for every control refresh, such as the line height, scrollbar offset, etc.

SongGridViewColumn
Column for the SongGridView control.

SongGridViewColumnClickData
Data structure used for the ColumnClick event.

SongGridViewImageCache
Album art cache for the song grid view control.

SongGridViewItem
Item for the SongGridView control.

SongGridViewMode
Defines the modes for the SongGridView control.

SongGridViewSelectedIndexChangedData
Data structure used for the SelectedIndexChanged event.

SongGridViewTheme
Theme object for the SongGridView control.

TableLayoutPanel
This custom version of TableLayoutPanel adds a gradient properties for the background.

TableLayoutPanelTheme
Theme object for the TableLayoutPanel control.

TextGradient
The TextGradient class adds font properties to the Gradient class.

Theme
Defines a theme to be used in MPfm. Contains the different theme objects for controls and general look and feel.

ThemeHelper
This helper class contains methods for loading and saving theme files.

Tools
This class contains miscelleanous methods for Windows controls.

ToolStrip
This toolstrip control is based on System.Windows.Forms.ToolStrip. It fixes an inactive window button click bug (see WndProc for more information).

TrackBar
This trackbar control is based on the System.Windows.Forms.TrackBar control. It adds custom drawing and other features.

TrackBarTheme
Theme object for the TrackBar control.

TrackBar..::..TrackBarValueChanged
Occurs when the track bar value changes.

HScrollBar..::..ValueChanged
Occurs when the scrollbar value changes.

WaveForm
This wave form display control takes raw audio data and displays the current wave form of mono or stereo channels. The control appearance can be changed using the public properties.

WaveFormDisplay
This wave form display control takes raw audio data and displays the current wave form of mono or stereo channels. The control appearance can be changed using the public properties.

WaveFormDisplayTheme
Theme object for the WaveFormDisplay control.

WaveFormDisplayType
Defines the wave form display type.

WaveFormMouseInteractionType
Defines the type of mouse interaction with the wave form display control.

Win32
This static class contains useful methods for Win32 operation.

WorkerWaveFormArgument
Defines the data structure passed to the background worker for generating waveforms.

WorkerWaveFormProgress
Defines the data structure for reporting progress when generating the wave form.