C# Class MakeClassSchedule.ResultControls.ChangeRoomsDataForm

Mostra file Open project: Behzadkhosravifar/MakeClassSchedule Class Usage Examples

Public Methods

Method Description
ChangeRoomsDataForm ( ) : System
MergeRows ( DataGridView gridView ) : void
MergeRows ( DataGridView gridView, Color mergedCells_Color ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ChangeRoomsDataForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
Create_FristTime ( ) : void
FillDGV ( ) : void
InitializeComponent ( ) : void

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

RefreshDGV ( DataGridView dataGridView ) : void

Reset Changed DataGridView

Reset_dataGridView ( DataGridView sender ) : void
Standard_dgv ( Point location, string Name ) : DataGridView
Standard_lbl ( Point location, string Text, string Name ) : Label
btnExport_Click ( object sender, EventArgs e ) : void
btnReset_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
changeRoomSlot ( DataGridView old_DataGridView, int old_ColumnIndex, int old_RowIndex, DataGridView new_DataGridView, int new_ColumnIndex, int new_RowIndex, int duration, bool _cut ) : bool

Receive last dataGridView and Cell Position and change it by new cell Position. if in a cell exist more than one data ==> return false for refresh data. else ==> return true

chklstExportCell_ItemCheck ( object sender, ItemCheckEventArgs e ) : void
dgv_CellMouseDoubleClick ( object sender, DataGridViewCellMouseEventArgs e ) : void
dgv_CellMouseDown ( object sender, DataGridViewCellMouseEventArgs e ) : void
dgv_CellMouseUp ( object sender, DataGridViewCellMouseEventArgs e ) : void
dgv_KeyDown ( object sender, KeyEventArgs e ) : void
ef_LimitNear ( object sender, LimitEventArgs e ) : void
ef_LimitReached ( object sender, LimitEventArgs e ) : void

Non-activating component warning Excel file that more than 5 sheet and line is 150.

toolStripMenuItemCopy_Click ( object sender, EventArgs e ) : void
toolStripMenuItemCut_Click ( object sender, EventArgs e ) : void
toolStripMenuItemDelete_Click ( object sender, EventArgs e ) : void
toolStripMenuItemEdit_Click ( object sender, EventArgs e ) : void
toolStripMenuItemPaste_Click ( object sender, EventArgs e ) : void

Method Details

ChangeRoomsDataForm() public method

public ChangeRoomsDataForm ( ) : System
return System

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

MergeRows() public static method

public static MergeRows ( DataGridView gridView ) : void
gridView DataGridView
return void

MergeRows() public static method

public static MergeRows ( DataGridView gridView, Color mergedCells_Color ) : void
gridView DataGridView
mergedCells_Color Color
return void