> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class NXFormBase

Namespace: [VM.NX.Dialog](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.NX.Dialog)\
Assembly: VMDM.dll

```csharp theme={null}
public class NXFormBase : Form, IStdDialog
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[MarshalByRefObject](https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject) ←
[Component](https://learn.microsoft.com/dotnet/api/system.componentmodel.component) ←
[Control](https://learn.microsoft.com/dotnet/api/system.windows.forms.control) ←
[ScrollableControl](https://learn.microsoft.com/dotnet/api/system.windows.forms.scrollablecontrol) ←
[ContainerControl](https://learn.microsoft.com/dotnet/api/system.windows.forms.containercontrol) ←
[Form](https://learn.microsoft.com/dotnet/api/system.windows.forms.form) ←
[NXFormBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.NX.Dialog.NXFormBase.md)

#### Implements

IStdDialog

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### NXFormBase()

```csharp theme={null}
public NXFormBase()
```

## Fields

### btApply

```csharp theme={null}
public Button btApply
```

#### Field Value

[Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

### btCancel

```csharp theme={null}
public Button btCancel
```

#### Field Value

[Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

### btOK

```csharp theme={null}
public Button btOK
```

#### Field Value

[Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

## Properties

### AppHandle

```csharp theme={null}
public static IAppHandle AppHandle { get; set; }
```

#### Property Value

IAppHandle

### ApplyState

```csharp theme={null}
public static int ApplyState { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Document

```csharp theme={null}
public object Document { get; set; }
```

#### Property Value

[object](https://learn.microsoft.com/dotnet/api/system.object)

### GeometryParams

```csharp theme={null}
public static Dictionary<string, XmlNode> GeometryParams { get; set; }
```

#### Property Value

[Dictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)\<[string](https://learn.microsoft.com/dotnet/api/system.string), [XmlNode](https://learn.microsoft.com/dotnet/api/system.xml.xmlnode)>

### IsPicking

```csharp theme={null}
public static bool IsPicking { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Result

```csharp theme={null}
public XmlDocument Result { get; set; }
```

#### Property Value

[XmlDocument](https://learn.microsoft.com/dotnet/api/system.xml.xmldocument)

## Methods

### BaseButtonLocation(Form, TabControl, Button, Button, Button)

```csharp theme={null}
public void BaseButtonLocation(Form form, TabControl TC, Button btnOK, Button btnApp, Button btnCancel)
```

#### Parameters

`form` [Form](https://learn.microsoft.com/dotnet/api/system.windows.forms.form)

`TC` [TabControl](https://learn.microsoft.com/dotnet/api/system.windows.forms.tabcontrol)

`btnOK` [Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

`btnApp` [Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

`btnCancel` [Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

### BaseButtonLocationNoTab(Form, Button, Button, Button)

```csharp theme={null}
public void BaseButtonLocationNoTab(Form form, Button btnOK, Button btnApp, Button btnCancel)
```

#### Parameters

`form` [Form](https://learn.microsoft.com/dotnet/api/system.windows.forms.form)

`btnOK` [Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

`btnApp` [Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

`btnCancel` [Button](https://learn.microsoft.com/dotnet/api/system.windows.forms.button)

### CancelAll()

```csharp theme={null}
protected virtual bool CancelAll()
```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Dispose(bool)

```csharp theme={null}
protected override void Dispose(bool disposing)
```

#### Parameters

`disposing` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### EnableButton(bool)

```csharp theme={null}
public virtual void EnableButton(bool bEnabled)
```

#### Parameters

`bEnabled` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### InitNXForm(IAppHandle)

```csharp theme={null}
public static void InitNXForm(IAppHandle handleApp)
```

#### Parameters

`handleApp` IAppHandle

### Initialize(string)

```csharp theme={null}
public virtual bool Initialize(string strInitInfo)
```

#### Parameters

`strInitInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### LockButtons(bool)

```csharp theme={null}
public virtual void LockButtons(bool bLock)
```

#### Parameters

`bLock` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### OnApply()

```csharp theme={null}
protected virtual bool OnApply()
```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### OnPreApply()

```csharp theme={null}
protected virtual bool OnPreApply()
```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RasieApplyButtonClick()

```csharp theme={null}
public void RasieApplyButtonClick()
```

### SetReadOnly(bool)

```csharp theme={null}
public virtual bool SetReadOnly(bool bReadOnly)
```

#### Parameters

`bReadOnly` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### SetSkipPreApply(bool)

```csharp theme={null}
public void SetSkipPreApply(bool bSkip)
```

#### Parameters

`bSkip` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### SetUseApplyBtn(bool)

```csharp theme={null}
public void SetUseApplyBtn(bool bUse)
```

#### Parameters

`bUse` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
