Méthode | Description | |
---|---|---|
MainForm ( ) : System |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | Description | |
---|---|---|
AddFrameAfter ( bool duplicateCurrent ) : void |
Adds a frame after the currently selected frame. Indicates if the new frame should be a copy of the current frame.
|
|
AdvanceFrame ( int direction ) : void | ||
AllowClose ( ) : bool |
Prompts user to save current file before closing it if file has been modified. Returns true if the user has chosen option(s) that allows the file to be closed.
|
|
ClearFrame ( ) : void |
Turns all the lights off in the currently selected frame.
|
|
ControlLight ( int row, int col, Color color ) : void |
Sets the state of a light.
|
|
CreateInputStream ( string fileName ) : WaveChannel32 |
Creates a wave stream from the given file.
|
|
DrawColorPalette ( Graphics g ) : void | ||
DrawColorWheel ( Graphics g ) : void | ||
DrawFrameSliderGrids ( Graphics g ) : void | ||
DrawGrid ( Graphics g ) : void | ||
DrawMouseToolPictureBox ( PictureBox box, Color color, Graphics g ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InvertFrame ( ) : void | ||
MainForm_FormClosing ( object sender, FormClosingEventArgs e ) : void | ||
MarkModified ( ) : void |
Marks the file as modified and updates the title bar text if necessary.
|
|
MarkUnmodified ( ) : void |
Marks the file as not modified and updates the title bar text if necessary.
|
|
New ( ) : void |
Begins a new animation. If an animation is already open and modified, will prompt the user to save.
|
|
Open ( ) : void |
Prompts the user for a file to open. If the current file has been changed, prompts the user to save it first.
|
|
OpenFile ( string path ) : void |
Immediately opens the file.
|
|
PlayAudio ( ) : void |
Plays the currently loaded audio file.
|
|
PlayFromHere ( ) : void |
Plays out the animation in real time. Designed to run in a thread other than the GUI thread.
|
|
RemoveFrame ( ) : void |
Removes the currently selected frame.
|
|
Save ( ) : bool |
Saves the animation. If the animation has been saved before, it uses the previous filename. Otherwise the user is prompted with a "save as". Returns true if the file was actually saved.
|
|
Save ( string path ) : void |
Saves the animation to a file.
|
|
SaveAs ( ) : bool |
Prompts the user unconditionally to save the file. Returns true if the file was actually saved.
|
|
SelectAudio ( ) : void |
Opens a file chooser for the user to select an audio file.
|
|
SetFrameStartDeltaPickerEntries ( ) : void | ||
SetFrameStartPickerEntries ( ) : void | ||
SortCurrentFrame ( ) : void | ||
StopAudio ( ) : void |
Stops any currently playing audio stream.
|
|
TimeSpanFromString ( string input, TimeSpan &result ) : bool | ||
UpdateColorFromRGB ( ) : void | ||
UpdateRGBValues ( Color selectedColor ) : void | ||
UpdateTitleText ( ) : void |
Updates the title bar text. Shows the current filename and mentions if it is modified.
|
|
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
addFrameToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
addFrame_Click ( object sender, EventArgs e ) : void | ||
addToPaletteButton_MouseClick ( object sender, MouseEventArgs e ) : void | ||
blueSpinner_ValueChanged ( object sender, EventArgs e ) : void | ||
clearFrame_Click ( object sender, EventArgs e ) : void | ||
colorPalettePictureBox_Click ( object sender, EventArgs e ) : void | ||
colorPalettePictureBox_MouseLeave ( object sender, EventArgs e ) : void | ||
colorPalettePictureBox_MouseMove ( object sender, MouseEventArgs e ) : void | ||
colorPalettePictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
colorWheelPictureBox_MouseMove ( object sender, MouseEventArgs e ) : void | ||
colorWheelPictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
decrementTimeToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
downToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
duplicateButton_Click ( object sender, EventArgs e ) : void | ||
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
firstColorPictureBox_Click ( object sender, EventArgs e ) : void | ||
firstColorPictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
frameSelector_MouseDown ( object sender, MouseEventArgs e ) : void | ||
frameSelector_ValueChanged ( object sender, EventArgs e ) : void | ||
frameSliderPictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
frameStartDeltaPicker_TextChanged ( object sender, EventArgs e ) : void | ||
frameStartDeltaPicker_Validating ( object sender, CancelEventArgs e ) : void | ||
frameStartPicker_TextChanged ( object sender, EventArgs e ) : void | ||
frameStartPicker_Validating ( object sender, CancelEventArgs e ) : void | ||
greenSpinner_ValueChanged ( object sender, EventArgs e ) : void | ||
incrementTimeToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
invertFrameToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
leftToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
newToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
nextFrameButton_Click ( object sender, EventArgs e ) : void | ||
nextFrameToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
pasteToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
pictureBox_MouseDown ( object sender, MouseEventArgs e ) : void | ||
pictureBox_MouseMove ( object sender, MouseEventArgs e ) : void | ||
pictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
pictureBox_Resize ( object sender, EventArgs e ) : void | ||
playPauseButton_Click ( object sender, EventArgs e ) : void | ||
previousFrameButton_Click ( object sender, EventArgs e ) : void | ||
previousFrameToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
redSpinner_ValueChanged ( object sender, EventArgs e ) : void | ||
removeFrame_Click ( object sender, EventArgs e ) : void | ||
rightToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
secondColorPictureBox_Click ( object sender, EventArgs e ) : void | ||
secondColorPictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
selectAudioToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
stopButton_Click ( object sender, EventArgs e ) : void | ||
thirdColorPictureBox_Click ( object sender, EventArgs e ) : void | ||
thirdColorPictureBox_Paint ( object sender, PaintEventArgs e ) : void | ||
tipsToolStripMenuItem_Click ( object sender, EventArgs e ) : void | ||
upToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |