Open Rails

TestingForm Methods

The methods of the TestingForm class are listed below. For a complete list of TestingForm class members, see the TestingForm Members topic.

Public Instance Methods

Activate (inherited from Form)Activates the form and gives it focus.
AddOwnedForm (inherited from Form)Adds an owned form to this form.
BeginInvoke (inherited from Control)Overloaded. Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
BringToFront (inherited from Control)Brings the control to the front of the z-order.
Close (inherited from Form)Closes the form.
Contains (inherited from Control)Retrieves a value indicating whether the specified control is a child of the control.
CreateControl (inherited from Control)Forces the creation of the control, including the creation of the handle and any child controls.
CreateGraphics (inherited from Control)Creates the Graphics for the control.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
DoDragDrop (inherited from Control)Begins a drag-and-drop operation.
DrawToBitmap (inherited from Control)Supports rendering to the specified bitmap.
EndInvoke (inherited from Control)Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindForm (inherited from Control)Retrieves the form that the control is on.
Focus (inherited from Control)Sets input focus to the control.
GetChildAtPoint (inherited from Control)Overloaded. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
GetContainerControl (inherited from Control)Returns the next ContainerControl up the control's chain of parent controls.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetNextControl (inherited from Control)Retrieves the next control forward or back in the tab order of child controls.
GetPreferredSize (inherited from Control)Retrieves the size of a rectangular area into which a control can be fitted.
GetType (inherited from Object)Gets the Type of the current instance.
Hide (inherited from Control)Conceals the control from the user.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Invalidate (inherited from Control)Overloaded. 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.
Invoke (inherited from Control)Overloaded. Executes the specified delegate on the thread that owns the control's underlying window handle.
LayoutMdi (inherited from Form)Arranges the multiple-document interface (MDI) child forms within the MDI parent form.
PerformAutoScale (inherited from ContainerControl)Performs scaling of the container control and its children.
PerformLayout (inherited from Control)Overloaded. Forces the control to apply layout logic to all its child controls.
PointToClient (inherited from Control)Computes the location of the specified screen point into client coordinates.
PointToScreen (inherited from Control)Computes the location of the specified client point into screen coordinates.
PreProcessControlMessage (inherited from Control)Preprocesses keyboard or input messages within the message loop before they are dispatched.
PreProcessMessage (inherited from Control)Preprocesses keyboard or input messages within the message loop before they are dispatched.
RectangleToClient (inherited from Control)Computes the size and location of the specified screen rectangle in client coordinates.
RectangleToScreen (inherited from Control)Computes the size and location of the specified client rectangle in screen coordinates.
Refresh (inherited from Control)Forces the control to invalidate its client area and immediately redraw itself and any child controls.
RemoveOwnedForm (inherited from Form)Removes an owned form from this form.
ResetBackColor (inherited from Control)Resets the BackColor property to its default value.
ResetBindings (inherited from Control)Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
ResetCursor (inherited from Control)Resets the Cursor property to its default value.
ResetFont (inherited from Control)Resets the Font property to its default value.
ResetForeColor (inherited from Control)Resets the ForeColor property to its default value.
ResetImeMode (inherited from Control)Resets the ImeMode property to its default value.
ResetRightToLeft (inherited from Control)Resets the RightToLeft property to its default value.
ResetText (inherited from Control)Resets the Text property to its default value.
ResumeLayout (inherited from Control)Overloaded. Resumes usual layout logic.
Scale (inherited from Control)Overloaded. Scales the control and any child controls.
ScrollControlIntoView (inherited from ScrollableControl)Scrolls the specified child control into view on an auto-scroll enabled control.
Select (inherited from Control)Overloaded. Activates the control.
SelectNextControl (inherited from Control)Activates the next control.
SendToBack (inherited from Control)Sends the control to the back of the z-order.
SetAutoScrollMargin (inherited from ScrollableControl)Sets the size of the auto-scroll margins.
SetBounds (inherited from Control)Overloaded. Sets the bounds of the control to the specified location and size.
SetDesktopBounds (inherited from Form)Sets the bounds of the form in desktop coordinates.
SetDesktopLocation (inherited from Form)Sets the location of the form in desktop coordinates.
Show (inherited from Form)Overloaded. Shows the form with the specified owner to the user.
Show (inherited from Control)Overloaded. Displays the control to the user.
ShowDialog (inherited from Form)Overloaded. Shows the form as a modal dialog box with the currently active window set as its owner.
SuspendLayout (inherited from Control)Temporarily suspends the layout logic for the control.
ToString (inherited from Form)Returns a String containing the name of the Component, if any. This method should not be overridden.
Update (inherited from Control)Causes the control to redraw the invalidated regions within its client area.
Validate (inherited from ContainerControl)Overloaded. Verifies the value of the control losing focus by causing the Validating and Validated events to occur, in that order.
ValidateChildren (inherited from Form)Overloaded. Causes all of the child controls within a control that support validation to validate their data.

Protected Instance Methods

AccessibilityNotifyClients (inherited from Control)Overloaded. Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
ActivateMdiChild (inherited from Form)Activates the MDI child of a form.
AdjustFormScrollbars (inherited from Form)Adjusts the scroll bars on the container based on the current control positions and the control currently selected.
ApplyAutoScaling (inherited from Form)Obsolete. Resizes the form according to the current value of the AutoScaleBaseSize property and the size of the current font.
CenterToParent (inherited from Form)Centers the position of the form within the bounds of the parent form.
CenterToScreen (inherited from Form)Centers the form on the current screen.
CreateAccessibilityInstance (inherited from Control)Creates a new accessibility object for the control.
CreateControlsInstance (inherited from Form)Creates a new instance of the control collection for the control.
CreateHandle (inherited from Form)Creates the handle for the form. If a derived class overrides this function, it must call the base implementation.
DefWndProc (inherited from Form)Sends the specified message to the default window procedure.
DestroyHandle (inherited from Control)Destroys the handle associated with the control.
DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetAccessibilityObjectById (inherited from Control)Retrieves the specified AccessibleObject.
GetAutoSizeMode (inherited from Control)Retrieves a value indicating how a control will behave when its AutoSize property is enabled.
GetScaledBounds (inherited from Form)Retrieves the bounds within which the control is scaled.
GetScrollState (inherited from ScrollableControl)Determines whether the specified flag has been set.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
GetStyle (inherited from Control)Retrieves the value of the specified control style bit for the control.
GetTopLevel (inherited from Control)Determines if the control is a top-level control.
InitLayout (inherited from Control)Called after the control has been added to another container.
InvokeGotFocus (inherited from Control)Raises the GotFocus event for the specified control.
InvokeLostFocus (inherited from Control)Raises the LostFocus event for the specified control.
InvokeOnClick (inherited from Control)Raises the Click event for the specified control.
InvokePaint (inherited from Control)Raises the Paint event for the specified control.
InvokePaintBackground (inherited from Control)Raises the PaintBackground event for the specified control.
IsInputChar (inherited from Control)Determines if a character is an input character that the control recognizes.
IsInputKey (inherited from Control)Determines whether the specified key is a regular input key or a special key that requires preprocessing.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
NotifyInvalidate (inherited from Control)Raises the Invalidated event with a specified region of the control to invalidate.
OnActivated (inherited from Form)Raises the Activated event.
OnAutoSizeChanged (inherited from Control)Raises the AutoSizeChanged event.
OnAutoValidateChanged (inherited from ContainerControl)Raises the AutoValidateChanged event.
OnBackColorChanged (inherited from Control)Raises the BackColorChanged event.
OnBackgroundImageChanged (inherited from Form)Raises the BackgroundImageChanged event.
OnBackgroundImageLayoutChanged (inherited from Form)Raises the BackgroundImageLayoutChanged event.
OnBindingContextChanged (inherited from Control)Raises the BindingContextChanged event.
OnCausesValidationChanged (inherited from Control)Raises the CausesValidationChanged event.
OnChangeUICues (inherited from Control)Raises the ChangeUICues event.
OnClick (inherited from Control)Raises the Click event.
OnClientSizeChanged (inherited from Control)Raises the ClientSizeChanged event.
OnClosed (inherited from Form)Raises the Closed event.
OnClosing (inherited from Form)Raises the Closing event.
OnContextMenuChanged (inherited from Control)Raises the ContextMenuChanged event.
OnContextMenuStripChanged (inherited from Control)Raises the ContextMenuStripChanged event.
OnControlAdded (inherited from Control)Raises the ControlAdded event.
OnControlRemoved (inherited from Control)Raises the ControlRemoved event.
OnCreateControl (inherited from Form)Raises the CreateControl event.
OnCursorChanged (inherited from Control)Raises the CursorChanged event.
OnDeactivate (inherited from Form)Raises the Deactivate event.
OnDockChanged (inherited from Control)Raises the DockChanged event.
OnDoubleClick (inherited from Control)Raises the DoubleClick event.
OnDragDrop (inherited from Control)Raises the DragDrop event.
OnDragEnter (inherited from Control)Raises the DragEnter event.
OnDragLeave (inherited from Control)Raises the DragLeave event.
OnDragOver (inherited from Control)Raises the DragOver event.
OnEnabledChanged (inherited from Form)Raises the EnabledChanged event.
OnEnter (inherited from Form)Raises the Enter event.
OnFontChanged (inherited from Form)Raises the FontChanged event.
OnForeColorChanged (inherited from Control)Raises the ForeColorChanged event.
OnFormClosed (inherited from Form)Raises the FormClosed event.
OnFormClosing (inherited from Form)Raises the FormClosing event.
OnGiveFeedback (inherited from Control)Raises the GiveFeedback event.
OnGotFocus (inherited from Control)Raises the GotFocus event.
OnHandleCreated (inherited from Form)Raises the HandleCreated event.
OnHandleDestroyed (inherited from Form)Raises the HandleDestroyed event.
OnHelpButtonClicked (inherited from Form)Raises the HelpButtonClicked event.
OnHelpRequested (inherited from Control)Raises the HelpRequested event.
OnImeModeChanged (inherited from Control)Raises the ImeModeChanged event.
OnInputLanguageChanged (inherited from Form)Raises the InputLanguageChanged event.
OnInputLanguageChanging (inherited from Form)Raises the InputLanguageChanging event.
OnInvalidated (inherited from Control)Raises the Invalidated event.
OnKeyDown (inherited from Control)Raises the KeyDown event.
OnKeyPress (inherited from Control)Raises the KeyPress event.
OnKeyUp (inherited from Control)Raises the KeyUp event.
OnLayout (inherited from Form)Raises the Layout event.
OnLeave (inherited from Control)Raises the Leave event.
OnLoad (inherited from Form)Raises the Load event.
OnLocationChanged (inherited from Control)Raises the LocationChanged event.
OnLostFocus (inherited from Control)Raises the LostFocus event.
OnMarginChanged (inherited from Control)Raises the MarginChanged event.
OnMaximizedBoundsChanged (inherited from Form)Raises the MaximizedBoundsChanged event.
OnMaximumSizeChanged (inherited from Form)Raises the MaximumSizeChanged event.
OnMdiChildActivate (inherited from Form)Raises the MdiChildActivate event.
OnMenuComplete (inherited from Form)Raises the MenuComplete event.
OnMenuStart (inherited from Form)Raises the MenuStart event.
OnMinimumSizeChanged (inherited from Form)Raises the MinimumSizeChanged event.
OnMouseCaptureChanged (inherited from Control)Raises the MouseCaptureChanged event.
OnMouseClick (inherited from Control)Raises the MouseClick event.
OnMouseDoubleClick (inherited from Control)Raises the MouseDoubleClick event.
OnMouseDown (inherited from Control)Raises the MouseDown event.
OnMouseEnter (inherited from Control)Raises the MouseEnter event.
OnMouseHover (inherited from Control)Raises the MouseHover event.
OnMouseLeave (inherited from Control)Raises the MouseLeave event.
OnMouseMove (inherited from Control)Raises the MouseMove event.
OnMouseUp (inherited from Control)Raises the MouseUp event.
OnMouseWheel (inherited from ScrollableControl)Raises the MouseWheel event.
OnMove (inherited from Control)Raises the Move event.
OnNotifyMessage (inherited from Control)Notifies the control of Windows messages.
OnPaddingChanged (inherited from ScrollableControl)Raises the PaddingChanged event.
OnPaint (inherited from Form)Raises the Paint event.
OnPaintBackground (inherited from ScrollableControl)Paints the background of the control.
OnParentBackColorChanged (inherited from Control)Raises the BackColorChanged event when the BackColor property value of the control's container changes.
OnParentBackgroundImageChanged (inherited from Control)Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
OnParentBindingContextChanged (inherited from Control)Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.
OnParentChanged (inherited from ContainerControl)Raises the ParentChanged event.
OnParentCursorChanged (inherited from Control)Raises the CursorChanged event.
OnParentEnabledChanged (inherited from Control)Raises the EnabledChanged event when the Enabled property value of the control's container changes.
OnParentFontChanged (inherited from Control)Raises the FontChanged event when the Font property value of the control's container changes.
OnParentForeColorChanged (inherited from Control)Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.
OnParentRightToLeftChanged (inherited from Control)Raises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
OnParentVisibleChanged (inherited from Control)Raises the VisibleChanged event when the Visible property value of the control's container changes.
OnPreviewKeyDown (inherited from Control)Raises the PreviewKeyDown event.
OnPrint (inherited from Control)Raises the Paint event.
OnQueryContinueDrag (inherited from Control)Raises the QueryContinueDrag event.
OnRegionChanged (inherited from Control)Raises the RegionChanged event.
OnResize (inherited from Form)Raises the Resize event.
OnResizeBegin (inherited from Form)Raises the ResizeBegin event.
OnResizeEnd (inherited from Form)Raises the ResizeEnd event.
OnRightToLeftChanged (inherited from ScrollableControl)Raises the RightToLeftChanged event.
OnRightToLeftLayoutChanged (inherited from Form)Raises the RightToLeftLayoutChanged event.
OnScroll (inherited from ScrollableControl)Raises the Scroll event.
OnShown (inherited from Form)Raises the Shown event.
OnSizeChanged (inherited from Control)Raises the SizeChanged event.
OnStyleChanged (inherited from Form)Raises the StyleChanged event.
OnSystemColorsChanged (inherited from Control)Raises the SystemColorsChanged event.
OnTabIndexChanged (inherited from Control)Raises the TabIndexChanged event.
OnTabStopChanged (inherited from Control)Raises the TabStopChanged event.
OnTextChanged (inherited from Form)Raises the TextChanged event.
OnValidated (inherited from Control)Raises the Validated event.
OnValidating (inherited from Control)Raises the Validating event.
OnVisibleChanged (inherited from Form)Raises the VisibleChanged event.
ProcessCmdKey (inherited from Form)Processes a command key.
ProcessDialogChar (inherited from Form)Processes a dialog character.
ProcessDialogKey (inherited from Form)Processes a dialog box key.
ProcessKeyEventArgs (inherited from Control)Processes a key message and generates the appropriate control events.
ProcessKeyMessage (inherited from Control)Processes a keyboard message.
ProcessKeyPreview (inherited from Form)Previews a keyboard message.
ProcessMnemonic (inherited from Form)Processes a mnemonic character.
ProcessTabKey (inherited from Form)Selects the next available control and makes it the active control.
RaiseDragEvent (inherited from Control)Raises the appropriate drag event.
RaiseKeyEvent (inherited from Control)Raises the appropriate key event.
RaiseMouseEvent (inherited from Control)Raises the appropriate mouse event.
RaisePaintEvent (inherited from Control)Raises the appropriate paint event.
RecreateHandle (inherited from Control)Forces the re-creation of the handle for the control.
ResetMouseEventArgs (inherited from Control)Resets the control to handle the MouseLeave event.
RtlTranslateAlignment (inherited from Control)Overloaded. Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
RtlTranslateContent (inherited from Control)Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
RtlTranslateHorizontal (inherited from Control)Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
RtlTranslateLeftRight (inherited from Control)Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
ScaleControl (inherited from Form)Scales a control's location, size, padding and margin.
ScaleCore (inherited from Form)Performs scaling of the form.
ScrollToControl (inherited from ScrollableControl)Calculates the scroll offset to the specified child control.
Select (inherited from Form)Overloaded. Selects this form, and optionally selects the next or previous control.
SetAutoSizeMode (inherited from Control)Sets a value indicating how a control will behave when its AutoSize property is enabled.
SetBoundsCore (inherited from Form)Performs the work of setting the specified bounds of this control.
SetClientSizeCore (inherited from Form)Sets the client size of the form. This will adjust the bounds of the form to make the client size the requested size.
SetDisplayRectLocation (inherited from ScrollableControl)Positions the display window to the specified value.
SetScrollState (inherited from ScrollableControl)Sets the specified scroll state flag.
SetStyle (inherited from Control)Sets the specified style bit to the specified value.
SetTopLevel (inherited from Control)Sets the control as the top-level control.
SetVisibleCore (inherited from Form)Sets the control to the specified visible state.
SizeFromClientSize (inherited from Control)Determines the size of the entire control from the height and width of its client area.
UpdateBounds (inherited from Control)Overloaded. Updates the bounds of the control with the current size and location.
UpdateDefaultButton (inherited from Form)Updates which button is the default button.
UpdateStyles (inherited from Control)Forces the assigned styles to be reapplied to the control.
UpdateZOrder (inherited from Control)Updates the control in its parent's z-order.
WndProc (inherited from Form)Processes Windows messages.

See Also

TestingForm Class | ORTS Namespace