Search Results for

    Show / Hide Table of Contents

    Class ControlHelper

    Static helpers for safely removing child controls or detaching a hosted form from a container, using a temporary hidden button to preserve a valid active control.

    Inheritance
    object
    ControlHelper
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing.Forms
    Assembly: Reportman.Drawing.Forms.dll
    Syntax
    public class ControlHelper

    Constructors

    View Source

    ControlHelper()

    Declaration
    public ControlHelper()

    Methods

    View Source

    Remove(ControlCollection, Control)

    Declaration
    public static void Remove(Control.ControlCollection coll, Control item)
    Parameters
    Type Name Description
    Control.ControlCollection coll
    Control item
    View Source

    RemoveAll(Control)

    Declaration
    public static void RemoveAll(Control control)
    Parameters
    Type Name Description
    Control control
    View Source

    RemoveAt(ControlCollection, int)

    Declaration
    public static void RemoveAt(Control.ControlCollection coll, int index)
    Parameters
    Type Name Description
    Control.ControlCollection coll
    int index
    View Source

    RemoveForm(Control, Form)

    Declaration
    public static void RemoveForm(Control source, Form form)
    Parameters
    Type Name Description
    Control source
    Form form
    • View Source
    In this article
    Back to top Generated by DocFX