Skip to main content
Namespace: VM.Managed.Dialog
Assembly: VMAppCore.dll
This class is to represent the application handler.

Inheritance

object ← AppHandle

Implements

IAppHandle

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

AppHandle()

Initializes a new instance of the AppHandle class.

Methods

Activate(List<UIntPtr>, bool)

Parameters

lstObj List<UIntPtr> isActive bool

Activate(UIntPtr, bool)

Activate.Usually, highlight.

Parameters

obj UIntPtr The tag of activate isActive bool The Activate flag

ActivateFromExtern(UIntPtr, bool)

Activate.Usually, highlight.

Parameters

obj UIntPtr The tag of activate. isActive bool The Activate flag.

ActivateFromExternWithoutReset(UIntPtr, bool)

Activate.Usually, highlight.

Parameters

obj UIntPtr The tag of activate. isActive bool The Activate flag.

ActivateWithoutReset(List<UIntPtr>, bool)

Parameters

lstObj List<UIntPtr> isActive bool

ActivateWithoutReset(UIntPtr, bool)

Activate.Usually, highlight.

Parameters

obj UIntPtr The tag of activate isActive bool The Activate flag

CalcCoordSys(string, XmlNode, XmlNode)

Coordinate system is calculation to selected object.

Parameters

strPickResult string The result of picking. nodeBaseCoordSys XmlNode The base coordinate system. nodeActionCoordSys XmlNode The action coordinate system.

Returns

bool true if success; otherwise, false.

DeleteObject(UIntPtr, bool)

Object is delete.

Parameters

obj UIntPtr The deleted object. isFirst bool true if deleted object is first object; otherwise, false.

Returns

bool true if success; otherwise, false.

DistanceBetween2Points(UIntPtr, UIntPtr)

Gets the distance about two objects. Usually, distance of start point.

Parameters

tagFrom UIntPtr Based on tag of object. tagTo UIntPtr Another tag of object.

Returns

double The distance about two objects.

FindInActiveModel(string)

Gets tag in activate model.

Parameters

strObjName string Find name of object.

Returns

UIntPtr tag if success; otherwise, zero.

GetDefaultName(string)

Gets default name

Parameters

strHead string prefix of name

Returns

string The name

IsValidName(string, UIntPtr, UIntPtr)

Duplicated Name Check for object int specific container

Parameters

strName string Name for Checking tagContainer UIntPtr Tag of the container which contains tagObject if IntPtr.Zero, Current working model will be used. tagObject UIntPtr Tag of the object which wnats to set names. if IntPtr.Zero, strName must unique.

Returns

bool if Duplicated then return false

RegisterStrDialogResult(int, XmlDocument)

Data of dialog

Parameters

nIDDialog int The ID of dialog. domResult XmlDocument The data of dialog.

SetMultiDeleteObject(bool)

Sets the multi delete object.

Parameters

bMulti bool true if multi delete object; otherwise, false.

StartOperation(string, UIntPtr, string)

Execute operation.

Parameters

strOpName string The name of operation. doc UIntPtr Document point. strOpInfo string Additional information.

StartOperation(string, string, bool)

Execute operation.

Parameters

strOpName string The name of operation. strOpInfo string Additional information. bHistoryMerge bool History merge flag.

StartOperation(string, string)

Execute operation.

Parameters

strOpName string The name of operation. strOpInfo string Additional information.

StartOperation(string)

Execute operation.

Parameters

strOpName string The name of operation.

UpdateDisplay()

Update display.