C# Класс SpannedDataGridView.CreateDataGridViews

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateDataGridViews() публичный Метод

public CreateDataGridViews ( Room>.Dictionary rooms, Form rFrm ) : System
rooms Room>.Dictionary
rFrm System.Windows.Forms.Form
Результат System

MergeRows() публичный статический Метод

public static MergeRows ( System.Windows.Forms.DataGridView gridView ) : void
gridView System.Windows.Forms.DataGridView
Результат void

MergeRows() публичный статический Метод

public static MergeRows ( System.Windows.Forms.DataGridView gridView, Color mergedCells_Color ) : void
gridView System.Windows.Forms.DataGridView
mergedCells_Color Color
Результат void

OnFileStop() публичный Метод

public OnFileStop ( ) : void
Результат void

SetNewState() публичный Метод

public SetNewState ( AlgorithmState state ) : void
state AlgorithmState
Результат void

SetSchedule() публичный Метод

public SetSchedule ( Schedule schedule, bool showGraphical ) : void
schedule MakeClassSchedule.Algorithm.Schedule
showGraphical bool
Результат void