C# Class BlottoBeats.Client.MainForm

Inheritance: System.Windows.Forms.Form
Show file Open project: Zwolf11/BlottoBeats Class Usage Examples

Public Properties

Property Type Description
accountForm AccountManagement
backlog List
currentUser BlottoBeats.Library.Authentication.UserToken
darkColor System.Drawing.SolidBrush
downvoteColor System.Drawing.SolidBrush
font System.Drawing.Font
lightColor System.Drawing.SolidBrush
lightInline System.Drawing.Pen
lightOutline System.Drawing.Pen
maxSongs int
medColor System.Drawing.SolidBrush
server BlottoBeats.Library.Networking.BBServerConnection
settingsForm AdvancedSettings
sliderColor System.Drawing.SolidBrush
smallFont System.Drawing.Font
textColor System.Drawing.SolidBrush
upvoteColor System.Drawing.SolidBrush

Public Methods

Method Description
MainForm ( ) : System
createRedditThreads ( ) : void
initButtons ( ) : void

Private Methods

Method Description
advSettingClicked ( object sender, MouseEventArgs e ) : void
backClicked ( object sender, MouseEventArgs e ) : void
colorOverlay ( Bitmap img, Color color ) : Bitmap
downvoteClicked ( object sender, MouseEventArgs e ) : void
dragSlider ( object sender, MouseEventArgs e ) : void
exitClicked ( object sender, MouseEventArgs e ) : void
exportClicked ( object sender, MouseEventArgs e ) : void
loadSong ( bool nextSong ) : void
minimizeClicked ( object sender, MouseEventArgs e ) : void
mouseDown ( object sender, MouseEventArgs e ) : void
mouseMove ( object sender, MouseEventArgs e ) : void
mouseUp ( object sender, MouseEventArgs e ) : void
mouseWheel ( object sender, MouseEventArgs e ) : void
nextClicked ( object sender, MouseEventArgs e ) : void
nextGenreClicked ( object sender, MouseEventArgs e ) : void
paint ( object sender, PaintEventArgs e ) : void
playBarClicked ( object sender, MouseEventArgs e ) : void
playClicked ( object sender, MouseEventArgs e ) : void
playSong ( ) : void
pointInPolygon ( Point p, Point poly ) : bool
prevGenreClicked ( object sender, MouseEventArgs e ) : void
redditClicked ( object sender, MouseEventArgs e ) : void
refreshReddit ( int tempGenre ) : void
resetPlayBar ( ) : void
sendScore ( int tempScore, SongParameters tempSong, UserToken tempUser, int tempGenre ) : void
settingsClicked ( object sender, MouseEventArgs e ) : void
sliderClicked ( object sender, MouseEventArgs e ) : void
startUp ( ) : void
stopSong ( ) : void
tick ( object sender, EventArgs e ) : void
undragSlider ( object sender, MouseEventArgs e ) : void
upvoteClicked ( object sender, MouseEventArgs e ) : void

Method Details

MainForm() public method

public MainForm ( ) : System
return System

createRedditThreads() public method

public createRedditThreads ( ) : void
return void

initButtons() public method

public initButtons ( ) : void
return void

Property Details

accountForm public property

public AccountManagement,BlottoBeats.Client accountForm
return AccountManagement

backlog public property

public List backlog
return List

currentUser public property

public UserToken,BlottoBeats.Library.Authentication currentUser
return BlottoBeats.Library.Authentication.UserToken

darkColor public property

public SolidBrush,System.Drawing darkColor
return System.Drawing.SolidBrush

downvoteColor public property

public SolidBrush,System.Drawing downvoteColor
return System.Drawing.SolidBrush

font public property

public Font,System.Drawing font
return System.Drawing.Font

lightColor public property

public SolidBrush,System.Drawing lightColor
return System.Drawing.SolidBrush

lightInline public property

public Pen,System.Drawing lightInline
return System.Drawing.Pen

lightOutline public property

public Pen,System.Drawing lightOutline
return System.Drawing.Pen

maxSongs public property

public int maxSongs
return int

medColor public property

public SolidBrush,System.Drawing medColor
return System.Drawing.SolidBrush

server public property

public BBServerConnection,BlottoBeats.Library.Networking server
return BlottoBeats.Library.Networking.BBServerConnection

settingsForm public property

public AdvancedSettings,BlottoBeats.Client settingsForm
return AdvancedSettings

sliderColor public property

public SolidBrush,System.Drawing sliderColor
return System.Drawing.SolidBrush

smallFont public property

public Font,System.Drawing smallFont
return System.Drawing.Font

textColor public property

public SolidBrush,System.Drawing textColor
return System.Drawing.SolidBrush

upvoteColor public property

public SolidBrush,System.Drawing upvoteColor
return System.Drawing.SolidBrush