ARCed.UI.DockContentHandler.DockContentHandler C# (CSharp) Method

DockContentHandler() public method

public DockContentHandler ( Form form, GetPersistStringCallback getPersistStringCallback ) : System
form System.Windows.Forms.Form
getPersistStringCallback GetPersistStringCallback
return System
        public DockContentHandler(Form form, GetPersistStringCallback getPersistStringCallback)
        {
            if (!(form is IDockContent))
                throw new ArgumentException(Strings.DockContent_Constructor_InvalidForm, "form");

            this._mForm = form;
            this.m_getPersistStringCallback = getPersistStringCallback;

            (form as DockContent).Size = form.Size;

            this._mEvents = new EventHandlerList();
            this.Form.Disposed += this.Form_Disposed;
            this.Form.TextChanged += this.Form_TextChanged;
        }

Same methods

DockContentHandler::DockContentHandler ( Form form ) : System