C# Class Nanook.TheGhost.NotesEditor

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: Nanook/TheGHOST

Private Properties

Property Type Description
InitializeComponent void
addListItem void
btnPlay_Click void
chkGh3SustainClipping_CheckedChanged void
clipSustain int
drawNote void
lvw_SelectedIndexChanged void
pause void
resume void
scrl_Scroll void
setActiveItem void
udFretsOffset_ValueChanged void
udHoPo_ValueChanged void
udNotesOffset_ValueChanged void
updateListItem void

Public Methods

Method Description
ApplyChanges ( ) : void
Initialise ( ) : void
NotesEditor ( ) : System
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DrawFrame ( Graphics g, Rectangle bounds ) : bool

Private Methods

Method Description
InitializeComponent ( ) : void

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

addListItem ( string name, int imageidx, NotesFileItem item ) : void
btnPlay_Click ( object sender, EventArgs e ) : void
chkGh3SustainClipping_CheckedChanged ( object sender, EventArgs e ) : void
clipSustain ( int susNote, int susLen, int nextNote, int halfSustainTrigger ) : int
drawNote ( Graphics g, Brush b, float pixX, float pixY, float pixLen, bool hopo, int noteOffset ) : void
lvw_SelectedIndexChanged ( object sender, EventArgs e ) : void
pause ( ) : void
resume ( int msPos, bool startAudio ) : void
scrl_Scroll ( object sender, ScrollEventArgs e ) : void
setActiveItem ( int index ) : void
udFretsOffset_ValueChanged ( object sender, EventArgs e ) : void
udHoPo_ValueChanged ( object sender, EventArgs e ) : void
udNotesOffset_ValueChanged ( object sender, EventArgs e ) : void
updateListItem ( string name, int imageidx, int idx, NotesFileItem item ) : void

Method Details

ApplyChanges() public method

public ApplyChanges ( ) : 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

DrawFrame() protected method

protected DrawFrame ( Graphics g, Rectangle bounds ) : bool
g System.Drawing.Graphics
bounds System.Drawing.Rectangle
return bool

Initialise() public method

public Initialise ( ) : void
return void

NotesEditor() public method

public NotesEditor ( ) : System
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void