C# Class Baka_MPlayer.Forms.MainForm

Inheritance: System.Windows.Forms.Form
Mostra file Open project: godly-devotion/Baka-MPlayer-old Class Usage Examples

Protected Properties

Property Type Description
mplayerPanel VO_Panel

Private Properties

Property Type Description
CreateFont Font
DisableVoiceCommand void
DraggableWindow_MouseDown void
EnableVoiceCommand void
FitWindow void
HidePlayer void
HideStatusLabel void
InitializeComponent void
KeyboardHook void
LastFile void
LoadSettings void
MainForm_DragDrop void
MainForm_DragEnter void
MainForm_FormClosing void
MainForm_KeyDown void
MainForm_Load void
MainForm_MouseWheel void
MainForm_Shown void
MediaEnded void
OpenFile void
RegisterMPlayerEvents void
ResizeMplayerPanel void
SetAspectRatioToolStripMenuItems void
SetAudioTrackMenuItems void
SetBackForwardControls void
SetChapterMarks void
SetChapterToolStripMenuItems void
SetControls void
SetFitWindowToolStripMenuItems void
SetLCDFont void
SetNotifyIconText void
SetOnTop void
SetPlayState void
SetStatusMsg void
SetSubToolStripMenuItems void
SetSystemTray void
SetThumbnailToolbars void
SetVolume void
SnapToDesktopBorder void
UnloadTray void
UpdateTrayIconInfo void
aboutBakaMPlayerToolStripMenuItem_Click void
addSubtitleFileToolStripMenuItem_Click void
albumArtPicbox_MouseClick void
albumArtPicbox_SizeChanged void
alwaysToolStripMenuItem_Click void
audioTracksMenuItem_Click void
autodetectToolStripMenuItem_Click void
bakaMPlayerHelpToolStripMenuItem_Click void
bodySplitContainer_SplitterMoved void
chaptersMenuItem_Click void
checkForUpdatesToolStripMenuItem_Click void
currentSizeToolStripMenuItem_Click void
cursorTimer_Tick void
decreaseToolStripMenuItem_Click void
dimDesktopToolStripMenuItem_Click void
exitMenuItem_Click void
exitToolStripMenuItem_Click void
folderToolStripMenuItem_Click void
force169ToolStripMenuItem_Click void
force2351ToolStripMenuItem_Click void
force43ToolStripMenuItem_Click void
frameBackStepToolStripMenuItem_Click void
frameStepToolStripMenuItem_Click void
fullScreenToolStripMenuItem_Click void
hideAlbumArtToolStripMenuItem_Click void
hidePopupToolStripMenuItem_Click void
increaseToolStripMenuItem_Click void
inputTextbox_KeyDown void
jumpToTimeToolStripMenuItem_Click void
mediaInfoToolStripMenuItem_Click void
mouseHandler_MouseMoved void
mouseHandler_XButtonDown void
mp_DurationChangedEvent void
mp_FileOpenedEvent void
mp_MPlayerQuitEvent void
mp_PlayStateChangedEvent void
mp_StatusChangedEvent void
mp_StdOutEvent void
mplayerPanel_MouseClick void
mplayerPanel_MouseDoubleClickFixed void
mplayerSplitContainer_Panel1_MouseClick void
mplayerSplitContainer_Panel1_SizeChanged void
mplayerSplitContainer_SplitterMoved void
neverToolStripMenuItem_Click void
newPlayerToolStripMenuItem_Click void
nextButton_MouseClick void
nextButton_Paint void
nextChapterToolStripMenuItem_Click void
nextMenuItem_Click void
nextToolButton_Click void
offToolStripMenuItem_Click void
openFileToolStripMenuItem_Click void
openLastFileToolStripMenuItem_Click void
openLocationFromClipboardToolStripMenuItem_Click void
openURLToolStripMenuItem_Click void
playButton_EnabledChanged void
playButton_MouseDown void
playButton_MouseUp void
playMenuItem_Click void
playNextFileToolStripMenuItem_Click void
playPreviousFileToolStripMenuItem_Click void
playToolButton_Click void
playToolStripMenuItem_Click void
playlistButton_MouseClick void
playlistToolStripMenuItem_Click void
previousButton_MouseClick void
previousButton_Paint void
previousChapterToolStripMenuItem_Click void
previousMenuItem_Click void
previousToolButton_Click void
quickButton_MouseClick void
resetSizeToolStripMenuItem_Click void
restartToolStripMenuItem_Click void
rewindButton_MouseClick void
rewindButton_MouseDoubleClick void
rewindMenuItem_Click void
rewindToolStripMenuItem_Click void
seekBar_MouseDown void
seekBar_MouseMove void
seekBar_MouseUp void
showCommandLineToolStripMenuItem_Click void
showIconInTrayToolStripMenuItem_Click void
showInWindowsExplorerToolStripMenuItem_Click void
showMenuItem_Click void
showPlaylistToolStripMenuItem_Click void
showSubtitlesToolStripMenuItem_Click void
shuffleToolStripMenuItem_Click void
sizeToolStripMenuItem1_Click void
sizeToolStripMenuItem_Click void
speechButton_MouseClick void
speechButton_MouseDown void
speechButton_MouseUp void
statusLabel_MouseClick void
statusTimer_Tick void
stopMenuItem_Click void
stopToolStripMenuItem_Click void
subtitleMenuItem_Click void
takeSnapshotToolStripMenuItem_Click void
thisFileToolStripMenuItem_Click void
timeLeftLabel_MouseClick void
toolStripMenuItem2_Click void
toolStripMenuItem3_Click void
toolStripMenuItem4_Click void
toolStripMenuItem5_Click void
trayIcon_MouseClick void
trayIcon_MouseDoubleClick void
voiceCommandHelpToolStripMenuItem_Click void
voice_AudioLevelUpdatedEvent void
voice_SpeechRecognizedEvent void
volumeBar_Scroll void
volumeToolStripTextBox_KeyDown void
whenPlayingToolStripMenuItem_Click void

Public Methods

Method Description
CallSetBackForwardControls ( ) : void
MainForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

WndProc ( Message &m ) : void

Private Methods

Method Description
CreateFont ( string name, FontStyle style, float size, GraphicsUnit unit ) : Font
DisableVoiceCommand ( ) : void
DraggableWindow_MouseDown ( object sender, MouseEventArgs e ) : void
EnableVoiceCommand ( ) : void
FitWindow ( double scale, bool considerPlaylist ) : void
HidePlayer ( ) : void
HideStatusLabel ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

KeyboardHook ( object sender, KeyCodeEventArgs e ) : void
LastFile ( ) : void
LoadSettings ( ) : void
MainForm_DragDrop ( object sender, DragEventArgs e ) : void
MainForm_DragEnter ( object sender, DragEventArgs e ) : void
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
MainForm_KeyDown ( object sender, KeyEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
MainForm_MouseWheel ( object sender, MouseEventArgs e ) : void
MainForm_Shown ( object sender, EventArgs e ) : void
MediaEnded ( ) : void
OpenFile ( ) : void
RegisterMPlayerEvents ( ) : void
ResizeMplayerPanel ( ) : void
SetAspectRatioToolStripMenuItems ( bool enable ) : void
SetAudioTrackMenuItems ( ) : void
SetBackForwardControls ( ) : void
SetChapterMarks ( ) : void
SetChapterToolStripMenuItems ( ) : void
SetControls ( bool enable, bool lastFile ) : void
SetFitWindowToolStripMenuItems ( bool enable ) : void
SetLCDFont ( ) : void
SetNotifyIconText ( string text ) : void
SetOnTop ( ) : void
SetPlayState ( PlayStates newPlayState ) : void
SetStatusMsg ( string message, bool autoHide ) : void
SetSubToolStripMenuItems ( ) : void
SetSystemTray ( ) : void
SetThumbnailToolbars ( ) : void
SetVolume ( int newVol ) : void
SnapToDesktopBorder ( IntPtr LParam ) : void
UnloadTray ( ) : void
UpdateTrayIconInfo ( ) : void
aboutBakaMPlayerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
addSubtitleFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
albumArtPicbox_MouseClick ( object sender, MouseEventArgs e ) : void
albumArtPicbox_SizeChanged ( object sender, EventArgs e ) : void
alwaysToolStripMenuItem_Click ( object sender, EventArgs e ) : void
audioTracksMenuItem_Click ( object sender, EventArgs e ) : void
autodetectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
bakaMPlayerHelpToolStripMenuItem_Click ( object sender, EventArgs e ) : void
bodySplitContainer_SplitterMoved ( object sender, System.Windows.Forms.SplitterEventArgs e ) : void
chaptersMenuItem_Click ( object sender, EventArgs e ) : void
checkForUpdatesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
currentSizeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cursorTimer_Tick ( object sender, EventArgs e ) : void
decreaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dimDesktopToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exitMenuItem_Click ( object sender, EventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
folderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
force169ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
force2351ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
force43ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
frameBackStepToolStripMenuItem_Click ( object sender, EventArgs e ) : void
frameStepToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fullScreenToolStripMenuItem_Click ( object sender, EventArgs e ) : void
hideAlbumArtToolStripMenuItem_Click ( object sender, EventArgs e ) : void
hidePopupToolStripMenuItem_Click ( object sender, EventArgs e ) : void
increaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
inputTextbox_KeyDown ( object sender, KeyEventArgs e ) : void
jumpToTimeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
mediaInfoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
mouseHandler_MouseMoved ( Point cursorPos ) : void
mouseHandler_XButtonDown ( MouseButtons button ) : void
mp_DurationChangedEvent ( object sender, EventArgs e ) : void
mp_FileOpenedEvent ( object sender, EventArgs e ) : void
mp_MPlayerQuitEvent ( object sender, EventArgs e ) : void
mp_PlayStateChangedEvent ( object sender, PlayStateChangedEventArgs e ) : void
mp_StatusChangedEvent ( object sender, StatusChangedEventArgs e ) : void
mp_StdOutEvent ( object sender, StdOutEventArgs e ) : void
mplayerPanel_MouseClick ( object sender, MouseEventArgs e ) : void
mplayerPanel_MouseDoubleClickFixed ( object sender, MouseEventArgs e ) : void
mplayerSplitContainer_Panel1_MouseClick ( object sender, MouseEventArgs e ) : void
mplayerSplitContainer_Panel1_SizeChanged ( object sender, EventArgs e ) : void
mplayerSplitContainer_SplitterMoved ( object sender, System.Windows.Forms.SplitterEventArgs e ) : void
neverToolStripMenuItem_Click ( object sender, EventArgs e ) : void
newPlayerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
nextButton_MouseClick ( object sender, MouseEventArgs e ) : void
nextButton_Paint ( object sender, PaintEventArgs e ) : void
nextChapterToolStripMenuItem_Click ( object sender, EventArgs e ) : void
nextMenuItem_Click ( object sender, EventArgs e ) : void
nextToolButton_Click ( Object sender, EventArgs e ) : void
offToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openLastFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openLocationFromClipboardToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openURLToolStripMenuItem_Click ( object sender, EventArgs e ) : void
playButton_EnabledChanged ( object sender, EventArgs e ) : void
playButton_MouseDown ( object sender, MouseEventArgs e ) : void
playButton_MouseUp ( object sender, MouseEventArgs e ) : void
playMenuItem_Click ( object sender, EventArgs e ) : void
playNextFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
playPreviousFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
playToolButton_Click ( Object sender, EventArgs e ) : void
playToolStripMenuItem_Click ( object sender, EventArgs e ) : void
playlistButton_MouseClick ( object sender, MouseEventArgs e ) : void
playlistToolStripMenuItem_Click ( object sender, EventArgs e ) : void
previousButton_MouseClick ( object sender, MouseEventArgs e ) : void
previousButton_Paint ( object sender, PaintEventArgs e ) : void
previousChapterToolStripMenuItem_Click ( object sender, EventArgs e ) : void
previousMenuItem_Click ( object sender, EventArgs e ) : void
previousToolButton_Click ( Object sender, EventArgs e ) : void
quickButton_MouseClick ( object sender, MouseEventArgs e ) : void
resetSizeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
restartToolStripMenuItem_Click ( object sender, EventArgs e ) : void
rewindButton_MouseClick ( object sender, MouseEventArgs e ) : void
rewindButton_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
rewindMenuItem_Click ( object sender, EventArgs e ) : void
rewindToolStripMenuItem_Click ( object sender, EventArgs e ) : void
seekBar_MouseDown ( object sender, MouseEventArgs e ) : void
seekBar_MouseMove ( object sender, MouseEventArgs e ) : void
seekBar_MouseUp ( object sender, MouseEventArgs e ) : void
showCommandLineToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showIconInTrayToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showInWindowsExplorerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showMenuItem_Click ( object sender, EventArgs e ) : void
showPlaylistToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showSubtitlesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
shuffleToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sizeToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
sizeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
speechButton_MouseClick ( object sender, MouseEventArgs e ) : void
speechButton_MouseDown ( object sender, MouseEventArgs e ) : void
speechButton_MouseUp ( object sender, MouseEventArgs e ) : void
statusLabel_MouseClick ( object sender, MouseEventArgs e ) : void
statusTimer_Tick ( object sender, EventArgs e ) : void
stopMenuItem_Click ( object sender, EventArgs e ) : void
stopToolStripMenuItem_Click ( object sender, EventArgs e ) : void
subtitleMenuItem_Click ( object sender, EventArgs e ) : void
takeSnapshotToolStripMenuItem_Click ( object sender, EventArgs e ) : void
thisFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
timeLeftLabel_MouseClick ( object sender, MouseEventArgs e ) : void
toolStripMenuItem2_Click ( object sender, EventArgs e ) : void
toolStripMenuItem3_Click ( object sender, EventArgs e ) : void
toolStripMenuItem4_Click ( object sender, EventArgs e ) : void
toolStripMenuItem5_Click ( object sender, EventArgs e ) : void
trayIcon_MouseClick ( object sender, MouseEventArgs e ) : void
trayIcon_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
voiceCommandHelpToolStripMenuItem_Click ( object sender, EventArgs e ) : void
voice_AudioLevelUpdatedEvent ( object sender, VoiceCommandEvents e ) : void
voice_SpeechRecognizedEvent ( object sender, VoiceCommandEvents e ) : void
volumeBar_Scroll ( object sender, ScrollEventArgs e ) : void
volumeToolStripTextBox_KeyDown ( object sender, KeyEventArgs e ) : void
whenPlayingToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

CallSetBackForwardControls() public method

public CallSetBackForwardControls ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MainForm() public method

public MainForm ( ) : System
return System

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void

Property Details

mplayerPanel protected_oe property

protected VO_Panel mplayerPanel
return VO_Panel