void IMouseProcessor.PreprocessGiveFeedback(GiveFeedbackEventArgs e) { }
internal void OnGiveFeedbackInternal(GiveFeedbackEventArgs e) { OnGiveFeedback(e); }
private void ListBoxItem_PreviewGiveFeedback(object sender, GiveFeedbackEventArgs e) { }
public virtual void GiveFeedback(GiveFeedbackEventArgs args) { args.UseDefaultCursors = true; }
private static void DragSource_GiveFeedback(object sender, GiveFeedbackEventArgs e) { DDW.MoveToMousePosition(); e.Handled = true; }
internal void InternalOnGiveFeedback(GiveFeedbackEventArgs theArgs) { OnGiveFeedback(theArgs); }
public virtual void OnGiveFeedback (Glyph g, GiveFeedbackEventArgs e) { throw new NotImplementedException (); }
/// <summary> /// The AdornerWindow hooks all Drag/Drop notification so they can be forwarded to the appropriate /// Behavior via the BehaviorService. /// </summary> protected override void OnGiveFeedback(GiveFeedbackEventArgs e) => _behaviorService.OnGiveFeedback(e);
public DDFeedback GetDragDropFeedback(GiveFeedbackEventArgs e, object dragDropObject) { return(null); }
private void DragScope_GiveFeedback(object sender, GiveFeedbackEventArgs e) { }
public void PreprocessGiveFeedback(GiveFeedbackEventArgs e) { }
protected override void OnGiveFeedback(GiveFeedbackEventArgs e) { e.UseDefaultCursors = e.Effect == DragDropEffects.None; base.OnGiveFeedback(e); }
private void Sensor1_GiveFeedback(object sender, GiveFeedbackEventArgs e) { this.toolStripStatusLabel.Text = "feedback_E"; }
private void Appliance1_GiveFeedback(object sender, GiveFeedbackEventArgs e) { this.toolStripStatusLabel.Text = "feedback_S"; }
protected override void OnPreviewGiveFeedback(GiveFeedbackEventArgs e) { base.OnPreviewGiveFeedback(e); }
/// <summary> /// IBranch interface implementation. /// </summary> public void OnGiveFeedback(GiveFeedbackEventArgs args, int row, int column) { }
private void OnGiveFeedBack(object sender, GiveFeedbackEventArgs e) { // disable switching to default cursors e.UseDefaultCursors = false; TreeView.Cursor = Cursors.Arrow; e.Handled = true; }
private void textBox1_GiveFeedback(object sender, GiveFeedbackEventArgs e) { this.OnGiveFeedback(e); }
/// <summary> /// Provides a default GiveFeedback event handler for drag sources. /// </summary> /// <param name="data">The associated data object for the event.</param> /// <param name="e">The event arguments.</param> public static void DefaultGiveFeedback(IDataObject data, GiveFeedbackEventArgs e) { // For drop targets that don't set the drop description, we'll // set a default one. Drop targets that do set drop descriptions // should set an invalid drop description during DragLeave. bool setDefaultDropDesc = false; bool isDefaultDropDesc = IsDropDescriptionDefault(data); DropImageType currentType = DropImageType.Invalid; if (!IsDropDescriptionValid(data) || isDefaultDropDesc) { currentType = GetDropImageType(data); setDefaultDropDesc = true; } if (IsShowingLayered(data)) { // The default drag source implementation uses drop descriptions, // so we won't use default cursors. e.UseDefaultCursors = false; Cursor.Current = Cursors.Arrow; } else e.UseDefaultCursors = true; // We need to invalidate the drag image to refresh the drop description. // This is tricky to implement correctly, but we try to mimic the Windows // Explorer behavior. We internally use a flag to tell us to invalidate // the drag image, so if that is set, we'll invalidate. Otherwise, we // always invalidate if the drop description was set by the drop target, // *or* if the current drop image is not None. So if we set a default // drop description to anything but None, we'll always invalidate. if (InvalidateRequired(data) || !isDefaultDropDesc || currentType != DropImageType.None) { InvalidateDragImage(data); // The invalidate required flag only lasts for one invalidation SetInvalidateRequired(data, false); } // If the drop description is currently invalid, or if it is a default // drop description already, we should check about re-setting it. if (setDefaultDropDesc) { // Only change if the effect changed if ((DropImageType) e.Effect != currentType) { if (e.Effect == DragDropEffects.Copy) data.SetDropDescription(DropImageType.Copy, "Copy", ""); else if (e.Effect == DragDropEffects.Link) data.SetDropDescription(DropImageType.Link, "Link", ""); else if (e.Effect == DragDropEffects.Move) data.SetDropDescription(DropImageType.Move, "Move", ""); else if (e.Effect == DragDropEffects.None) data.SetDropDescription(DropImageType.None, null, null); SetDropDescriptionIsDefault(data, true); // We can't invalidate now, because the drag image manager won't // pick it up... so we set this flag to invalidate on the next // GiveFeedback event. SetInvalidateRequired(data, true); } } }
protected override void OnGiveFeedback(GiveFeedbackEventArgs e) { e.UseDefaultCursors = true; base.OnGiveFeedback(e); }
internal void OnGiveFeedback(GiveFeedbackEventArgs e) { TextEditorDragDrop.OnGiveFeedback(_uiScope, e); }
/// <summary> /// IBranch interface implementation. /// </summary> public virtual void /* IBranch */ OnGiveFeedback(GiveFeedbackEventArgs args, int row, int column) { }
/// <summary> /// Handles the GiveFeedback event of the NodesTV control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Windows.Forms.GiveFeedbackEventArgs"/> instance containing the event data.</param> protected virtual void NodesTV_GiveFeedback(object sender, GiveFeedbackEventArgs e) { // overridden by sub-class. }
void ITableControlEventProcessor.PostprocessGiveFeedback(ITableEntryHandle entry, GiveFeedbackEventArgs args) { }
public void GiveFeedback(GiveFeedbackEventArgs e) { e.UseDefaultCursors = false; Cursor.Current = feedbackCursor; }
//evento giveFeedback private void JTextField_GiveFeedback(object sender, GiveFeedbackEventArgs e) { e.UseDefaultCursors = false; }
private void ListBox_GiveFeedback(object sender, GiveFeedbackEventArgs e) { Mouse.SetCursor(Cursors.Help); e.Handled = true; }
protected override void OnGiveFeedback(GiveFeedbackEventArgs giveFeedbackEvent) { base.OnGiveFeedback(giveFeedbackEvent); }
protected override void OnGiveFeedback(GiveFeedbackEventArgs gfbevent) { base.OnGiveFeedback(gfbevent); myUpToDate = false; this.Invalidate(); }
private void OnGiveFeedback(object sender, GiveFeedbackEventArgs e) { OnGiveFeedback(e); }
private void TimestepEditor_GiveFeedback(object sender, GiveFeedbackEventArgs e) { }
protected virtual void OnGiveFeedback(GiveFeedbackEventArgs e) { e.UseDefaultCursors = false; }
private void TextBox_GiveFeedback(object sender, GiveFeedbackEventArgs e) { }
/// <summary> /// Give feedback postprocess handler /// </summary> /// <param name="e">Event args</param> public virtual void PostprocessGiveFeedback(GiveFeedbackEventArgs e) { }
protected override void OnGiveFeedback(GiveFeedbackEventArgs e) { MultiPanePageDesigner aDsgn_Sel = GetSelectedPageDesigner(); if (aDsgn_Sel != null) aDsgn_Sel.InternalOnGiveFeedback(e); }
void carreau_GiveFeedback(object sender, GiveFeedbackEventArgs e) { e.UseDefaultCursors = false; }
private void Form1_GiveFeedback(object sender, GiveFeedbackEventArgs e) { Console.WriteLine("GiveFeedback"); }
private void Rad_Item_GiveFeedback(object sender, GiveFeedbackEventArgs e) { SetMenuItemSelected(sender); WriteDebug("Item_GiveFeedback: {0} {1}", sender, e.Effect); }
/// <summary> /// Provides a default GiveFeedback event handler for drag sources. /// </summary> /// <param name="sender">The object that raised the event. Should be set to the drag source.</param> /// <param name="e">The event arguments.</param> public static void DefaultGiveFeedbackHandler(object sender, GiveFeedbackEventArgs e) { Control control = sender as Control; if (control != null) { if (s_dataContext.ContainsKey(control)) { DefaultGiveFeedback(s_dataContext[control].data, e); } } }
private void Tree_GiveFeedback(object sender, GiveFeedbackEventArgs e) { }
/// <summary> /// Virtual method reporting the give feedback is going to happen /// </summary> protected override void OnGiveFeedback(GiveFeedbackEventArgs e) { base.OnGiveFeedback(e); if (e.Handled) { return; } if (_textEditor != null) { _textEditor.OnGiveFeedback(e); } }
protected override void OnGiveFeedback(GiveFeedbackEventArgs gfbevent) { calls.Add(String.Format("OnGiveFeedback")); base.OnGiveFeedback (gfbevent); }