Class MainWindow
Summary description for MainWindow.
Namespace: ABB.Robotics.RobotStudio.Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public class MainWindow
Properties
Caption
Gets or sets the main window caption
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
String |
CaptionImage
Gets or sets an image that is displayed beside the main window caption.
Declaration
public Bitmap CaptionImage { get; set; }
Property Value
Type | Description |
---|---|
Bitmap |
CaptionImageToolTipText
Gets or sets the tooltip text for CaptionImage.
Declaration
public string CaptionImageToolTipText { get; set; }
Property Value
Type | Description |
---|---|
String |
Handle
See IWin32Window.Handle
Declaration
public IntPtr Handle { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Height
Gets or sets the height of the main window
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
IsActive
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
Boolean |
Left
Gets or sets the X-position of the top-left corner of the main window
Declaration
public int Left { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
OwnedForms
See Form.OwnedForms documentation in MSDN for details.
Declaration
public Form[] OwnedForms { get; }
Property Value
Type | Description |
---|---|
Form[] |
Top
Gets or sets the Y-position of the top-left cornder of the main window
Declaration
public int Top { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Width
Gets or sets the width of the main window
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
WindowState
Gets or sets the window state of the main window
Declaration
public FormWindowState WindowState { get; set; }
Property Value
Type | Description |
---|---|
FormWindowState |
Methods
AddOwnedForm(Form)
Adds an owned form.
Declaration
public void AddOwnedForm(Form form)
Parameters
Type | Name | Description |
---|---|---|
Form | form |
Remarks
See Form.AddOwnedForm() documentation in MSDN for details.
RemoveOwnedForm(Form)
Removes an owned form.
Declaration
public void RemoveOwnedForm(Form form)
Parameters
Type | Name | Description |
---|---|---|
Form | form |
Remarks
See Form.RemoveOwnedForm() documentation in MSDN for details.