Exemplo n.º 1
0
 /// <summary>
 /// Fired when the selection with the mouse is finished
 /// </summary>
 /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RangeEventArgs"/> instance containing the event data.</param>
 protected virtual void OnMouseSelectionFinish(RangeEventArgs e)
 {
     oldMouseSelectionRange = Range.Empty;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Fired when the mouse selection must be cancelled.
 /// </summary>
 /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RangeEventArgs"/> instance containing the event data.</param>
 protected virtual void OnUndoMouseSelection(RangeEventArgs e)
 {
     Selection.RemoveRange(e.Range);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Fired when the mouse selection is succesfully finished
 /// </summary>
 /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RangeEventArgs"/> instance containing the event data.</param>
 protected virtual void OnApplyMouseSelection(RangeEventArgs e)
 {
     Selection.AddRange(e.Range);
 }