C# Class SpannedDataGridView.CreateDataGridViews

Afficher le fichier Open project: Behzadkhosravifar/MakeClassSchedule Class Usage Examples

Méthodes publiques

Méthode Description
CreateDataGridViews ( Room>.Dictionary rooms, Form rFrm ) : System
MergeRows ( System.Windows.Forms.DataGridView gridView ) : void
MergeRows ( System.Windows.Forms.DataGridView gridView, Color mergedCells_Color ) : void
OnFileStop ( ) : void
SetNewState ( AlgorithmState state ) : void
SetSchedule ( Schedule schedule, bool showGraphical ) : void

Private Methods

Méthode Description
ClearDataGridView ( System.Windows.Forms.DataGridView dgv ) : void

This method demonstrates a pattern for making thread-safe calls on a Windows Forms control. If the calling thread is different from the thread that created the DataGridView control, this method creates a ClearCallback and calls itself asynchronously using the Invoke method. If the calling thread is the same as the thread that created the DataGridView control, the Object is set directly.

Create_FristTime ( ) : void
Reset_dataGridView ( System.Windows.Forms.DataGridView &sender ) : void
SetText ( string text ) : void

This method demonstrates a pattern for making thread-safe calls on a Windows Forms control. If the calling thread is different from the thread that created the Label control, this method creates a SetTextCallback and calls itself asynchronously using the Invoke method. If the calling thread is the same as the thread that created the Label control, the Text property is set directly.

Standard_dgv ( Point location, string Name ) : System.Windows.Forms.DataGridView
Standard_lbl ( Point location, string Text, string Name ) : Label
dgv_CellContentClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void
dgv_CellMouseUp ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void

Method Details

CreateDataGridViews() public méthode

public CreateDataGridViews ( Room>.Dictionary rooms, Form rFrm ) : System
rooms Room>.Dictionary
rFrm System.Windows.Forms.Form
Résultat System

MergeRows() public static méthode

public static MergeRows ( System.Windows.Forms.DataGridView gridView ) : void
gridView System.Windows.Forms.DataGridView
Résultat void

MergeRows() public static méthode

public static MergeRows ( System.Windows.Forms.DataGridView gridView, Color mergedCells_Color ) : void
gridView System.Windows.Forms.DataGridView
mergedCells_Color Color
Résultat void

OnFileStop() public méthode

public OnFileStop ( ) : void
Résultat void

SetNewState() public méthode

public SetNewState ( AlgorithmState state ) : void
state AlgorithmState
Résultat void

SetSchedule() public méthode

public SetSchedule ( Schedule schedule, bool showGraphical ) : void
schedule MakeClassSchedule.Algorithm.Schedule
showGraphical bool
Résultat void