C# Class GenArt.MainForm

Inheritance: System.Windows.Forms.Form
Show file Open project: MattLloyd101/EvoLisa Class Usage Examples

Public Properties

Property Type Description
Settings Settings

Private Properties

Property Type Description
Form1_Load void
GetEncoderInfo System.Drawing.Imaging.ImageCodecInfo
GetNewInitializedDrawing GenArt.AST.DnaDrawing
InitializeComponent void
KillThread void
MainForm_Load void
OpenDNA void
OpenImage void
SaveDNA void
SaveSVG void
SetCanvasSize void
SetupSourceColorMatrix void
Start void
StartEvolution void
Stop void
allowCircles_CheckedChanged void
allowEllipses_CheckedChanged void
btnNext_Click void
btnPrev_Click void
btnStart_Click void
checkBox1_CheckedChanged void
checkBox1_CheckedChanged_1 void
dNAToolStripMenuItem1_Click void
dNAToolStripMenuItem_Click void
optionsToolStripMenuItem_Click void
pNGToolStripMenuItem_Click void
pnlCanvas_Paint void
redraw void
sVGToolStripMenuItem1_Click void
savePNG void
sourceImageToolStripMenuItem_Click void
tmrRedraw_Tick void
trackBarScale_Scroll void

Public Methods

Method Description
MainForm ( ) : System
SetupSourceColorMatrix ( Bitmap sourceImage ) : Pixel[]

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Form1_Load ( object sender, EventArgs e ) : void
GetEncoderInfo ( String mimeType ) : System.Drawing.Imaging.ImageCodecInfo
GetNewInitializedDrawing ( ) : DnaDrawing
InitializeComponent ( ) : void

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

KillThread ( ) : void
MainForm_Load ( object sender, EventArgs e ) : void
OpenDNA ( ) : void
OpenImage ( ) : void
SaveDNA ( ) : void
SaveSVG ( ) : void
SetCanvasSize ( ) : void
SetupSourceColorMatrix ( ) : void
Start ( ) : void
StartEvolution ( ) : void
Stop ( ) : void
allowCircles_CheckedChanged ( object sender, EventArgs e ) : void
allowEllipses_CheckedChanged ( object sender, EventArgs e ) : void
btnNext_Click ( object sender, EventArgs e ) : void
btnPrev_Click ( object sender, EventArgs e ) : void
btnStart_Click ( object sender, EventArgs e ) : void
checkBox1_CheckedChanged ( object sender, EventArgs e ) : void
checkBox1_CheckedChanged_1 ( object sender, EventArgs e ) : void
dNAToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
dNAToolStripMenuItem_Click ( object sender, EventArgs e ) : void
optionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pNGToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pnlCanvas_Paint ( object sender, PaintEventArgs e ) : void
redraw ( ) : void
sVGToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
savePNG ( ) : void
sourceImageToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tmrRedraw_Tick ( object sender, EventArgs e ) : void
trackBarScale_Scroll ( object sender, EventArgs e ) : void

Method Details

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

SetupSourceColorMatrix() public static method

public static SetupSourceColorMatrix ( Bitmap sourceImage ) : Pixel[]
sourceImage System.Drawing.Bitmap
return Pixel[]

Property Details

Settings public static property

public static Settings Settings
return Settings