Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: RT.Util.Forms.ManagedForm

  • Assembly: RT.Util, Version=1.0.0.9999, Culture=neutral, PublicKeyToken=null
  • Namespace: RT.Util.Forms
  • Show inherited types...
  • Show implemented interfaces...

Summary

A form which has all the proper minimize/restore methods, and which remembers its position and size between instances of the application.

Constructors

Initialises a new managed form.

Instance methods

void
  • Virtual
Shows the form properly: if it is visible but minimized it will be restored and activated; otherwise the base implementation of Show will be invoked.
DialogResult
ShowDialog(Form centerInForm = null, bool repositionParentAfterwards = false)
  • Virtual
Shows the form as a modal dialog box with the currently active window set as its owner.

Instance properties

boolDetermines whether the current managed form is maximised, or is minimised and would be maximised if restored.
boolDetermines if the current managed form is minimised.
intGets the height of the form when in normal state (i.e. not minimized or maximized).
intGets the X-coordinate of the form when in normal state (i.e. not minimized or maximized).
intGets the Y-coordinate of the form when in normal state (i.e. not minimized or maximized).
intGets the width of the form when in normal state (i.e. not minimized or maximized).

Nested types

Stores the size, position and maximized state of the form.
Holds the settings of the ManagedForm.