Private Sub gdv_view_schedule_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles gdv_view_schedule.MouseMove
Dim hitCell As DataGridView.HitTestInfo = Me.gdv_view_schedule.HitTest(e.X, e.Y)
Dim screenPoint As Point = Me.gdv_view_schedule.PointToScreen(New Point(e.X, e.Y))
Dim row_index As Integer = hitCell.RowIndex
Dim column_index As Integer = hitCell.ColumnIndex
If row_index = -1 OrElse column_index = -1 Then
Return
End If
Dim cell As DataGridViewCell = Me.gdv_view_schedule.Rows(row_index).Cells(column_index)
Dim frist_cell, last_cell, next_cell As DataGridViewCell
Dim start_time, end_time As DateTime
If Not cell.Value Is Convert.DBNull Then
If cell.Value = "Overlap" Then
Dim hitCell As DataGridView.HitTestInfo = Me.gdv_view_schedule.HitTest(e.X, e.Y)
Dim screenPoint As Point = Me.gdv_view_schedule.PointToScreen(New Point(e.X, e.Y))
Dim row_index As Integer = hitCell.RowIndex
Dim column_index As Integer = hitCell.ColumnIndex
If row_index = -1 OrElse column_index = -1 Then
Return
End If
Dim cell As DataGridViewCell = Me.gdv_view_schedule.Rows(row_index).Cells(column_index)
Dim frist_cell, last_cell, next_cell As DataGridViewCell
Dim start_time, end_time As DateTime
If Not cell.Value Is Convert.DBNull Then
If cell.Value = "Overlap" Then