dbicCalc Send comments on this topic.
dbiCalc Class Members
See Also  Properties  Methods  Events
dbicCalc Assembly > Dbi.WinControl.Calc Namespace : dbiCalc Class


"

The following tables list the members exposed by dbiCalc.

"

Public Constructors

 NameDescription
public ConstructordbiCalc ConstructorCreates a new instance of the control.  
Top

Public Properties

 NameDescription
public PropertyAccessibleDescriptionGets or sets the description of the control used by accessibility client applications. (Inherited from System.Windows.Forms.Control)
public PropertyAccessibleNameGets or sets the name of the control used by accessibility client applications. (Inherited from System.Windows.Forms.Control)
public PropertyAccessibleRoleGets or sets the accessible role of the control (Inherited from System.Windows.Forms.Control)
public PropertyAllowDropGets or sets a value indicating whether the control can accept data that the user drags onto it. (Inherited from System.Windows.Forms.Control)
public PropertyAnchorGets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. (Inherited from System.Windows.Forms.Control)
public PropertyBackColorDetermines the primary background color of the calculator.  
public PropertyBackColorFromDetermines the primary background color of the calculator.  
public PropertyBackColorToDetermines the secondary background color of the control  
public PropertyBackgroundImageThe image to place in the background of the control.  
public PropertyBackgroundImageLayoutGets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration. (Inherited from System.Windows.Forms.Control)
public PropertyBorderColorGets or sets the color used to paint a Regular/RoundedEdge border around the control and the display area.  
public PropertyBorderTypeGets or sets the type of border to be placed around the control.  
public PropertyButtonBackColorGets or sets the primary backcolor for the calculator buttons.  
public PropertyButtonBackColorDownGets or sets the primary backcolor for the calculator buttons when they are in a down state.  
public PropertyButtonBackColorDownToGets or sets the secondary backcolor for the calculator buttons when in a down state.  
public PropertyButtonBackColorOverGets or sets the primary backcolor for the calculator buttons when the mouse is over them.  
public PropertyButtonBackColorOverToGets or sets the secondary backcolor for the calculator buttons when the mouse is over them.  
public PropertyButtonBackColorToGets or sets the secondary backcolor for the calculator buttons.  
public PropertyButtonBorderColorGets or sets the color used to paint a border on the buttons in the control.  
public PropertyButtonBorderColorDownGets or sets the color used to paint a border on the buttons in the control when they are in a down state.  
public PropertyButtonBorderColorOverGets or sets the color used to paint a border on the buttons in the control when the mouse moves over them.  
public PropertyButtonFillTypeDetermines the fill type for the buttons of the calculator.  
public PropertyButtonHighlightColorDownGets or sets the color used to paint the inner border of the buttons when in a down state.  
public PropertyButtonHighlightColorOverGets or sets the color used to paint the inner border of the buttons when the mouse moves over them.  
public PropertyButtonLayoutDetermines the default layout of the buttons in the control display.  
public PropertyButtonStyleDetermines the style and design of the buttons in the control.  
public PropertyCalcSizeDetermines the offset value used to calculate the display width of the calculator. Allows for fine tuning of the calculator within the control display space.  
public PropertyCausesValidationGets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. (Inherited from System.Windows.Forms.Control)
public PropertyClearColorDetermines the color used to paint the text of the clear and back keys.  
public PropertyContextMenuStripGets or sets the System.Windows.Forms.ContextMenuStrip associated with this control. (Inherited from System.Windows.Forms.Control)
public PropertyCursorGets or sets the cursor that is displayed when the mouse pointer is over the control. (Inherited from System.Windows.Forms.Control)
public PropertyDataBindingsGets the data bindings for the control. (Inherited from System.Windows.Forms.Control)
public PropertyDisplayBackColorDetermines the background color of the display area of the calculator.  
public PropertyDisplayBorderGets or sets the type of border to draw around the display area.  
public PropertyDisplayFontDetermines the font used in the display area of the calculator.  
public PropertyDisplayForeColorGets or sets the color to paint the text in the display area.  
public PropertyDisplayHeightOffsetGets or sets the offset for calculating the height of the display area.  
public PropertyDisplayLocationOffsetGets or sets the offset for the location where the display area will be drawn.  
public PropertyDisplayMaxCharactersDetermines the max number of characters the Display Area will render.  
public PropertyDockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from System.Windows.Forms.Control)
public PropertyDrawFocusDetermines if a focus rectangle will be drawn in the display area of the calculator when the control has focus.  
public PropertyEnabledGets or sets a value indicating whether the control can respond to user interaction. (Inherited from System.Windows.Forms.Control)
public PropertyFillTypeDetermines the fill type for the background of the control.  
public PropertyFncKeyText1Determines the text to be placed into the Function key #1 button.  
public PropertyFncKeyText2Determines the text to be placed into the Function key #2 button.  
public PropertyFontGets or sets the font of the text displayed by the control. (Inherited from System.Windows.Forms.Control)
public PropertyForeColorGets or sets the foreground color of the control. (Inherited from System.Windows.Forms.Control)
public PropertyFunctionColorDetermines the color used to paint the text of the function keys.  
public PropertyFunctionKeysDetermines how many function keys to place on the control.  
public PropertyImeModeGets or sets the Input Method Editor (IME) mode of the control. (Inherited from System.Windows.Forms.Control)
public PropertyLocationGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from System.Windows.Forms.Control)
public PropertyMarginGets or sets the space between controls. (Inherited from System.Windows.Forms.Control)
public PropertyMaximumSizeGets or sets the size that is the upper limit that System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size) can specify. (Inherited from System.Windows.Forms.Control)
public PropertyMinimumSizeGets or sets the size that is the lower limit that System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size) can specify. (Inherited from System.Windows.Forms.Control)
public PropertyNumberColorDetermines the color used to paint the text of the number keys.  
public PropertyOperandColorDetermines the color used to paint the text of the operand keys.  
public PropertyPaddingGets or sets padding within the control. (Inherited from System.Windows.Forms.Control)
public PropertyRightToLeftGets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts. (Inherited from System.Windows.Forms.Control)
public PropertySiteGets or sets the site of the control. (Inherited from System.Windows.Forms.Control)
public PropertySizeGets or sets the height and width of the control. (Inherited from System.Windows.Forms.Control)
public PropertyTabIndexGets or sets the tab order of the control within its container. (Inherited from System.Windows.Forms.Control)
public PropertyTabStopGets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from System.Windows.Forms.Control)
public PropertyTagGets or sets the object that contains data about the control. (Inherited from System.Windows.Forms.Control)
public PropertyTextGets or sets the text associated with this control. (Inherited from System.Windows.Forms.Control)
public PropertyUseWaitCursorGets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from System.Windows.Forms.Control)
public PropertyValueGets or sets the current value of the calculator.  
public PropertyVisibleGets or sets a value indicating whether the control and all its child controls are displayed. (Inherited from System.Windows.Forms.Control)
Top

Public Methods

 NameDescription
public MethodBackspaceProcesses the backspace method, equivalent to pressing the 'Back' button.  
public MethodBeginInvokeOverloaded. Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. (Inherited from System.Windows.Forms.Control)
public MethodBringToFrontBrings the control to the front of the z-order. (Inherited from System.Windows.Forms.Control)
public MethodButton0Equivalent to pressing the '0' button.  
public MethodButton1Equivalent to pressing the '1' button.  
public MethodButton2Equivalent to pressing the '2' button.  
public MethodButton3Equivalent to pressing the '3' button.  
public MethodButton4Equivalent to pressing the '4' button.  
public MethodButton5Equivalent to pressing the '5' button.  
public MethodButton6Equivalent to pressing the '6' button.  
public MethodButton7Equivalent to pressing the '7' button.  
public MethodButton8Equivalent to pressing the '8' button.  
public MethodButton9Equivalent to pressing the '9' button.  
public MethodClearProcesses the clear method. Equivalent to pressing the 'C' button.  
public MethodContainsRetrieves a value indicating whether the specified control is a child of the control. (Inherited from System.Windows.Forms.Control)
public MethodCreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from System.Windows.Forms.Control)
public MethodCreateGraphicsCreates the System.Drawing.Graphics for the control. (Inherited from System.Windows.Forms.Control)
public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
public MethodDecimalEquivalent to pressing the '.' button.  
public MethodDivideProcesses the divide method, equivalent to pressing the '/' button.  
public MethodDoDragDropBegins a drag-and-drop operation. (Inherited from System.Windows.Forms.Control)
public MethodDrawToBitmapSupports rendering to the specified bitmap. (Inherited from System.Windows.Forms.Control)
public MethodEndInvokeRetrieves the return value of the asynchronous operation represented by the System.IAsyncResult passed. (Inherited from System.Windows.Forms.Control)
public MethodEqualProcesses the equal method, equivalent to pressing the '=' button.  
public MethodFindFormRetrieves the form that the control is on. (Inherited from System.Windows.Forms.Control)
public MethodFocusSets input focus to the control. (Inherited from System.Windows.Forms.Control)
public MethodGetChildAtPointOverloaded. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. (Inherited from System.Windows.Forms.Control)
public MethodGetContainerControlReturns the next System.Windows.Forms.ContainerControl up the control's chain of parent controls. (Inherited from System.Windows.Forms.Control)
public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
public MethodGetNextControlRetrieves the next control forward or back in the tab order of child controls. (Inherited from System.Windows.Forms.Control)
public MethodGetPreferredSizeRetrieves the size of a rectangular area into which a control can be fitted. (Inherited from System.Windows.Forms.Control)
public MethodHideConceals the control from the user. (Inherited from System.Windows.Forms.Control)
public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
public MethodInvalidateOverloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from System.Windows.Forms.Control)
public MethodInvokeOverloaded. Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments. (Inherited from System.Windows.Forms.Control)
public MethodLogicalToDeviceUnitsOverloaded. Converts a Logical DPI value to its equivalent DeviceUnit DPI value. (Inherited from System.Windows.Forms.Control)
public MethodMultiplyProcesses the multiply method, equivalent to pressing the '*' button.  
public MethodPercentProcesses the percent method, equivalent to pressing the '%' button.  
public MethodPerformLayoutOverloaded. Forces the control to apply layout logic to all its child controls. (Inherited from System.Windows.Forms.Control)
public MethodPlusProcesses the addition method, equivalent to pressing the '+' button.  
public MethodPlusMinusEquivalent to pressing the '+/-' button.  
public MethodPointToClientComputes the location of the specified screen point into client coordinates. (Inherited from System.Windows.Forms.Control)
public MethodPointToScreenComputes the location of the specified client point into screen coordinates. (Inherited from System.Windows.Forms.Control)
public MethodPreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from System.Windows.Forms.Control)
public MethodPreProcessMessagePreprocesses keyboard or input messages within the message loop before they are dispatched. (Inherited from System.Windows.Forms.Control)
public MethodReciprocalProcesses the reciprocal method, equivalent to pressing the '1/x' button.  
public MethodRectangleToClientComputes the size and location of the specified screen rectangle in client coordinates. (Inherited from System.Windows.Forms.Control)
public MethodRectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates. (Inherited from System.Windows.Forms.Control)
public MethodRefreshForces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from System.Windows.Forms.Control)
public MethodResetCalcSizeDBI Internal use only - not intended for programmatic use.  
public MethodResetDisplayFontDBI Internal use only - not intended for programmatic use.  
public MethodResetTextResets the System.Windows.Forms.Control.Text property to its default value (System.String.Empty). (Inherited from System.Windows.Forms.Control)
public MethodResumeLayoutOverloaded. Resumes usual layout logic. (Inherited from System.Windows.Forms.Control)
public MethodScale (Inherited from System.Windows.Forms.Control)
public MethodScaleBitmapLogicalToDeviceScales a logical bitmap value to it's equivalent device unit value when a DPI change occurs. (Inherited from System.Windows.Forms.Control)
public MethodSelectActivates the control. (Inherited from System.Windows.Forms.Control)
public MethodSelectNextControlActivates the next control. (Inherited from System.Windows.Forms.Control)
public MethodSendToBackSends the control to the back of the z-order. (Inherited from System.Windows.Forms.Control)
public MethodSetBoundsOverloaded. Sets the bounds of the control to the specified location and size. (Inherited from System.Windows.Forms.Control)
public MethodShouldSerializeCalcSizeDBI Internal use only - not intended for programmatic use.  
public MethodShouldSerializeDisplayFontDBI Internal use only - not intended for programmatic use.  
public MethodShowDisplays the control to the user. (Inherited from System.Windows.Forms.Control)
public MethodSquareProcesses the square method, equivalent to pressing the 'sq' button.  
public MethodSquareRootProcesses the squareroot method, equivalent to pressing the 'sqrt' button.  
public MethodSubtractProcesses the subtration method, equivalent to pressing the '-' button.  
public MethodSuspendLayoutTemporarily suspends the layout logic for the control. (Inherited from System.Windows.Forms.Control)
public MethodToString (Inherited from System.ComponentModel.Component)
public MethodUpdateCauses the control to redraw the invalidated regions within its client area. (Inherited from System.Windows.Forms.Control)
Top

Public Events

 NameDescription
public EventBackColorChangedOccurs when the value of the System.Windows.Forms.Control.BackColor property changes. (Inherited from System.Windows.Forms.Control)
public EventBackgroundImageChangedOccurs when the value of the System.Windows.Forms.Control.BackgroundImage property changes. (Inherited from System.Windows.Forms.Control)
public EventBackgroundImageLayoutChangedOccurs when the System.Windows.Forms.Control.BackgroundImageLayout property changes. (Inherited from System.Windows.Forms.Control)
public EventBeforeButtonProcessedOccurs before the button is processed, after it has been clicked.  
public EventBeforeDisplayAreaTextShownOccurs just before the text is rendered in the Display Area.  
public EventBindingContextChangedOccurs when the value of the System.Windows.Forms.BindingContext property changes. (Inherited from System.Windows.Forms.Control)
public EventCausesValidationChangedOccurs when the value of the System.Windows.Forms.Control.CausesValidation property changes. (Inherited from System.Windows.Forms.Control)
public EventChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change. (Inherited from System.Windows.Forms.Control)
public EventClickOccurs when the control is clicked. (Inherited from System.Windows.Forms.Control)
public EventClientSizeChangedOccurs when the value of the System.Windows.Forms.Control.ClientSize property changes. (Inherited from System.Windows.Forms.Control)
public EventContextMenuStripChangedOccurs when the value of the System.Windows.Forms.Control.ContextMenuStrip property changes. (Inherited from System.Windows.Forms.Control)
public EventControlAddedOccurs when a new control is added to the System.Windows.Forms.Control.ControlCollection. (Inherited from System.Windows.Forms.Control)
public EventControlRemovedOccurs when a control is removed from the System.Windows.Forms.Control.ControlCollection. (Inherited from System.Windows.Forms.Control)
public EventCursorChangedOccurs when the value of the System.Windows.Forms.Control.Cursor property changes. (Inherited from System.Windows.Forms.Control)
public EventDockChangedOccurs when the value of the System.Windows.Forms.Control.Dock property changes. (Inherited from System.Windows.Forms.Control)
public EventDoubleClickOccurs when the control is double-clicked. (Inherited from System.Windows.Forms.Control)
public EventDpiChangedAfterParentOccurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed. (Inherited from System.Windows.Forms.Control)
public EventDpiChangedBeforeParentOccurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred. (Inherited from System.Windows.Forms.Control)
public EventDragDropOccurs when a drag-and-drop operation is completed. (Inherited from System.Windows.Forms.Control)
public EventDragEnterOccurs when an object is dragged into the control's bounds. (Inherited from System.Windows.Forms.Control)
public EventDragLeaveOccurs when an object is dragged out of the control's bounds. (Inherited from System.Windows.Forms.Control)
public EventDragOverOccurs when an object is dragged over the control's bounds. (Inherited from System.Windows.Forms.Control)
public EventEnabledChangedOccurs when the System.Windows.Forms.Control.Enabled property value has changed. (Inherited from System.Windows.Forms.Control)
public EventEnterOccurs when the control is entered. (Inherited from System.Windows.Forms.Control)
public EventFEqualsOccurs when the Equal button is clicked on or the Enter key is pressed.  
public EventFontChangedOccurs when the System.Windows.Forms.Control.Font property value changes. (Inherited from System.Windows.Forms.Control)
public EventForeColorChangedOccurs when the System.Windows.Forms.Control.ForeColor property value changes. (Inherited from System.Windows.Forms.Control)
public EventFunction1Occurs when the Function key #1 button is clicked.  
public EventFunction2Occurs when the Function key #2 button is clicked.  
public EventGiveFeedbackOccurs during a drag operation. (Inherited from System.Windows.Forms.Control)
public EventHelpRequestedOccurs when the user requests help for a control. (Inherited from System.Windows.Forms.Control)
public EventImeModeChangedOccurs when the System.Windows.Forms.Control.ImeMode property has changed. (Inherited from System.Windows.Forms.Control)
public EventKeyDownOccurs when a key is pressed while the control has focus. (Inherited from System.Windows.Forms.Control)
public EventKeyPressOccurs when a character. space or backspace key is pressed while the control has focus. (Inherited from System.Windows.Forms.Control)
public EventKeyUpOccurs when a key is released while the control has focus. (Inherited from System.Windows.Forms.Control)
public EventLayoutOccurs when a control should reposition its child controls. (Inherited from System.Windows.Forms.Control)
public EventLeaveOccurs when the input focus leaves the control. (Inherited from System.Windows.Forms.Control)
public EventLocationChangedOccurs when the System.Windows.Forms.Control.Location property value has changed. (Inherited from System.Windows.Forms.Control)
public EventMarginChangedOccurs when the control's margin changes. (Inherited from System.Windows.Forms.Control)
public EventMouseCaptureChangedOccurs when the control loses mouse capture. (Inherited from System.Windows.Forms.Control)
public EventMouseClickOccurs when the control is clicked by the mouse. (Inherited from System.Windows.Forms.Control)
public EventMouseDoubleClickOccurs when the control is double clicked by the mouse. (Inherited from System.Windows.Forms.Control)
public EventMouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from System.Windows.Forms.Control)
public EventMouseEnterOccurs when the mouse pointer enters the control. (Inherited from System.Windows.Forms.Control)
public EventMouseHoverOccurs when the mouse pointer rests on the control. (Inherited from System.Windows.Forms.Control)
public EventMouseLeaveOccurs when the mouse pointer leaves the control. (Inherited from System.Windows.Forms.Control)
public EventMouseMoveOccurs when the mouse pointer is moved over the control. (Inherited from System.Windows.Forms.Control)
public EventMouseUpOccurs when the mouse pointer is over the control and a mouse button is released. (Inherited from System.Windows.Forms.Control)
public EventMoveOccurs when the control is moved. (Inherited from System.Windows.Forms.Control)
public EventPaddingChangedOccurs when the control's padding changes. (Inherited from System.Windows.Forms.Control)
public EventPaintOccurs when the control is redrawn. (Inherited from System.Windows.Forms.Control)
public EventParentChangedOccurs when the System.Windows.Forms.Control.Parent property value changes. (Inherited from System.Windows.Forms.Control)
public EventPreviewKeyDownOccurs before the System.Windows.Forms.Control.KeyDown event when a key is pressed while focus is on this control. (Inherited from System.Windows.Forms.Control)
public EventQueryAccessibilityHelpOccurs when System.Windows.Forms.AccessibleObject is providing help to accessibility applications. (Inherited from System.Windows.Forms.Control)
public EventQueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Inherited from System.Windows.Forms.Control)
public EventRegionChangedOccurs when the value of the System.Windows.Forms.Control.Region property changes. (Inherited from System.Windows.Forms.Control)
public EventResizeOccurs when the control is resized. (Inherited from System.Windows.Forms.Control)
public EventRightToLeftChangedOccurs when the System.Windows.Forms.Control.RightToLeft property value changes. (Inherited from System.Windows.Forms.Control)
public EventSizeChangedOccurs when the System.Windows.Forms.Control.Size property value changes. (Inherited from System.Windows.Forms.Control)
public EventStyleChangedOccurs when the control style changes. (Inherited from System.Windows.Forms.Control)
public EventSystemColorsChangedOccurs when the system colors change. (Inherited from System.Windows.Forms.Control)
public EventTabIndexChangedOccurs when the System.Windows.Forms.Control.TabIndex property value changes. (Inherited from System.Windows.Forms.Control)
public EventTabStopChangedOccurs when the System.Windows.Forms.Control.TabStop property value changes. (Inherited from System.Windows.Forms.Control)
public EventTextChangedOccurs when the System.Windows.Forms.Control.Text property value changes. (Inherited from System.Windows.Forms.Control)
public EventUserDrawnButtonOccurs before a button is rendered, allowing the developer to handle the drawing themselves.  
public EventUserDrawnButtonTextRasied before the text of a button is drawn.  
public EventUserDrawnDisplayAreaOccurs before the Display Area is rendered, allowing the developer to handle the drawing themselves.  
public EventValidatedOccurs when the control is finished validating. (Inherited from System.Windows.Forms.Control)
public EventValidatingOccurs when the control is validating. (Inherited from System.Windows.Forms.Control)
public EventVisibleChangedOccurs when the System.Windows.Forms.Control.Visible property value changes. (Inherited from System.Windows.Forms.Control)
Top

See Also