Namespace CADability.Substitutes
Classes
- DragEventArgs
The data of a drag and drop event, the substitute for System.Windows.Forms.DragEventArgs: the dragged data, the position, the allowed effects and the effect the receiver chooses (Effect, which raises EffectChanged so that the Windows.Forms side can pass it on).
- KeyEventArgs
The data of a key event, the substitute for System.Windows.Forms.KeyEventArgs: the key with its modifiers (Keys) and the flags that tell the sender the key was handled.
- PaintEventArgs
The data of a paint event, the substitute for System.Windows.Forms.PaintEventArgs: the graphics to paint with and the rectangle that needs painting.
Structs
- MouseEventArgs
The data of a mouse event (button, click count, position in pixels of the view, wheel delta), the substitute for System.Windows.Forms.MouseEventArgs that the views and actions receive.
Enums
- CheckState
The state of a check box, with the values of System.Windows.Forms.CheckState.
- DialogResult
The result of a dialog, with the values of System.Windows.Forms.DialogResult; returned by the dialogs of IUIService.
- DragDropEffects
The effects of a drag and drop operation, with the values of System.Windows.Forms.DragDropEffects.
- Keys
The keys of the keyboard and the modifier flags, with the values of System.Windows.Forms.Keys. A key event carries a key code combined with the modifiers (Shift, Control, Alt).
- MessageBoxButtons
The buttons a message box shows, with the values of System.Windows.Forms.MessageBoxButtons; used by ShowMessageBox(string, string, MessageBoxButtons).
- MouseButtons
The mouse buttons, with the values of System.Windows.Forms.MouseButtons. CADability's kernel does not reference Windows.Forms, so the views and actions use this substitute; CADability.Forms converts the Windows.Forms values to it.
- Shortcut
Keyboard shortcuts for menu items, with the values of System.Windows.Forms.Shortcut.
Delegates
- DragEventArgs.ChangedDelegate
Handler of EffectChanged.