C# Class Visualizer.VisualizerForm

Mostra file Open project: sergey-and-valya/load-balancing Class Usage Examples

Protected Properties

Property Type Description
BlocksColorGroupBox System.Windows.Forms.GroupBox
BlueLabel System.Windows.Forms.Label
BlueTrackBar System.Windows.Forms.TrackBar
CriterionLabel System.Windows.Forms.Label
CriterionValueLabel System.Windows.Forms.Label
DrawingBox System.Windows.Forms.PictureBox
GreenLabel System.Windows.Forms.Label
GreenTrackBar System.Windows.Forms.TrackBar
MaxLabel System.Windows.Forms.Label
MaxTrackBar System.Windows.Forms.TrackBar
MinLabel System.Windows.Forms.Label
MinTrackBar System.Windows.Forms.TrackBar
ModeChangeButton System.Windows.Forms.Button
boundOfValuesOfBlocks Bound
boundOfValuesOfMatrix Bound
coefficient double
matrix IMatrix
matrixBitmap Bitmap
modeOfDrawing Mode
screenSize Size
settingsEvent SetSettingsEvent
shift int
sizeOfMatrix Size
sumInBlocksBitmap Bitmap
trackBarColor color
zoomOfSize zoom

Public Methods

Method Description
Draw ( ) : void

Protected Methods

Method Description
BlueTrackBar_Scroll ( object sender, EventArgs e ) : void
ChangeBitmap ( ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

GreenTrackBar_Scroll ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

MaxTrackBar_Scroll ( object sender, EventArgs e ) : void
MinTrackBar_Scroll ( object sender, EventArgs e ) : void
ModeChangeButton_Click ( object sender, System e ) : void
SetBitmap ( ) : void
SetDrawingBoxBackgroundImage ( Bitmap bitmap ) : void
SetMinMax ( int min, int max ) : void
SetSettings ( ) : void
SetStep ( ) : void
SetZoom ( ) : void
VisualizerForm ( ) : System

Private Methods

Method Description
InitParameters ( ) : void
SetElementsLocation ( ) : void
SetLabelsLocation ( ) : void
SetSize ( ) : void
SetTrackBarVisible ( ) : void

Method Details

BlueTrackBar_Scroll() protected method

protected BlueTrackBar_Scroll ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

ChangeBitmap() protected method

protected ChangeBitmap ( ) : 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

Draw() public method

public Draw ( ) : void
return void

GreenTrackBar_Scroll() protected method

protected GreenTrackBar_Scroll ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

InitializeComponent() protected method

Required method for Designer support - do not modify the contents of this method with the code editor.
protected InitializeComponent ( ) : void
return void

MaxTrackBar_Scroll() protected method

protected MaxTrackBar_Scroll ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

MinTrackBar_Scroll() protected method

protected MinTrackBar_Scroll ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

ModeChangeButton_Click() protected method

protected ModeChangeButton_Click ( object sender, System e ) : void
sender object
e System
return void

SetBitmap() protected method

protected SetBitmap ( ) : void
return void

SetDrawingBoxBackgroundImage() protected method

protected SetDrawingBoxBackgroundImage ( Bitmap bitmap ) : void
bitmap Bitmap
return void

SetMinMax() protected method

protected SetMinMax ( int min, int max ) : void
min int
max int
return void

SetSettings() protected method

protected SetSettings ( ) : void
return void

SetStep() protected method

protected SetStep ( ) : void
return void

SetZoom() protected method

protected SetZoom ( ) : void
return void

VisualizerForm() protected method

protected VisualizerForm ( ) : System
return System

Property Details

BlocksColorGroupBox protected_oe property

protected System.Windows.Forms.GroupBox BlocksColorGroupBox
return System.Windows.Forms.GroupBox

BlueLabel protected_oe property

protected System.Windows.Forms.Label BlueLabel
return System.Windows.Forms.Label

BlueTrackBar protected_oe property

protected System.Windows.Forms.TrackBar BlueTrackBar
return System.Windows.Forms.TrackBar

CriterionLabel protected_oe property

protected System.Windows.Forms.Label CriterionLabel
return System.Windows.Forms.Label

CriterionValueLabel protected_oe property

protected System.Windows.Forms.Label CriterionValueLabel
return System.Windows.Forms.Label

DrawingBox protected_oe property

protected System.Windows.Forms.PictureBox DrawingBox
return System.Windows.Forms.PictureBox

GreenLabel protected_oe property

protected System.Windows.Forms.Label GreenLabel
return System.Windows.Forms.Label

GreenTrackBar protected_oe property

protected System.Windows.Forms.TrackBar GreenTrackBar
return System.Windows.Forms.TrackBar

MaxLabel protected_oe property

protected System.Windows.Forms.Label MaxLabel
return System.Windows.Forms.Label

MaxTrackBar protected_oe property

protected System.Windows.Forms.TrackBar MaxTrackBar
return System.Windows.Forms.TrackBar

MinLabel protected_oe property

protected System.Windows.Forms.Label MinLabel
return System.Windows.Forms.Label

MinTrackBar protected_oe property

protected System.Windows.Forms.TrackBar MinTrackBar
return System.Windows.Forms.TrackBar

ModeChangeButton protected_oe property

protected System.Windows.Forms.Button ModeChangeButton
return System.Windows.Forms.Button

boundOfValuesOfBlocks protected_oe property

protected Bound boundOfValuesOfBlocks
return Bound

boundOfValuesOfMatrix protected_oe property

protected Bound boundOfValuesOfMatrix
return Bound

coefficient protected_oe property

protected double coefficient
return double

matrix protected_oe property

protected IMatrix matrix
return IMatrix

matrixBitmap protected_oe property

protected Bitmap matrixBitmap
return Bitmap

modeOfDrawing protected_oe property

protected Mode modeOfDrawing
return Mode

screenSize protected_oe property

protected Size screenSize
return Size

settingsEvent protected_oe property

protected SetSettingsEvent settingsEvent
return SetSettingsEvent

shift protected_oe property

protected int shift
return int

sizeOfMatrix protected_oe property

protected Size sizeOfMatrix
return Size

sumInBlocksBitmap protected_oe property

protected Bitmap sumInBlocksBitmap
return Bitmap

trackBarColor protected_oe property

protected color trackBarColor
return color

zoomOfSize protected_oe property

protected zoom zoomOfSize
return zoom