# SpellCheckDialog.Show Method

> Invokes the built-in dialog box for checking incorrect or misspelled (TXTextControl.TextControl.MisspelledWords) words. The first implementation opens the spell check dialog for checking of the TXSpellChecker.IncorrectWords collection in TXSpell for Windows Forms. To connect the SpellCheckDialog with an object of type TXTextControl.TextControl, the Show method provides the third implementation. At both implementations, the dialog's selected suggestion dictionary is specified through the SuggestionDictionaryComboBox.SuggestionDictionary property. The second and the fourth implementation can be used to invoke the dialog with another suggestion dictionary.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > SpellCheckDialog.Show Method
- **1634 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/show-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/show-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/show-method/llms-full.txt

---

### Description

Invokes the built-in dialog box for checking [incorrect](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/llms-full.txt) or misspelled (`TXTextControl.TextControl.MisspelledWords`) words. The first implementation opens the spell check dialog for checking of the TXSpellChecker.IncorrectWords collection in TXSpell for [Windows Forms](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/llms-full.txt). To connect the SpellCheckDialog with an object of type `TXTextControl.TextControl`, the Show method provides the third implementation. At both implementations, the dialog's selected suggestion dictionary is specified through the [SuggestionDictionaryComboBox.SuggestionDictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestiondictionarycombobox/suggestiondictionary-property/llms-full.txt) property. The second and the fourth implementation can be used to invoke the dialog with another suggestion [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt).

### Syntax

#### Show()

Invokes the built-in dialog box for correcting incorrect words of the TXSpellChecker.IncorrectWords collection in TXSpell for [Windows Forms](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/llms-full.txt). The [SuggestionDictionaryComboBox.SuggestionDictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestiondictionarycombobox/suggestiondictionary-property/llms-full.txt) is selected to [create suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/createsuggestions-method/llms-full.txt).

```csharp
public void Show();
```

```vbnet
Public Sub Show()
```

#### Show(Dictionary)

Invokes the built-in dialog box for checking incorrect words of the TXSpellChecker.IncorrectWords collection in TXSpell for [Windows.Forms](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/incorrectwords-property/llms-full.txt). The specified suggestion [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) is selected to [create suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/createsuggestions-method/llms-full.txt).

```csharp
public void Show(Dictionary suggestionDictionary);
```

```vbnet
Public Sub Show(suggestionDictionary As Dictionary)
```

| Parameter | Description |
|---|---|
| suggestionDictionary | Specifies the [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) used for [creating suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/createsuggestions-method/llms-full.txt). This parameter is only useful, if more than one [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) has been added to the [spellchecker's dictionary collection](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/dictionaries-property/llms-full.txt). |

#### Show(object)

Invokes the built-in dialog box for checking misspelled words (`TXTextControl.TextControl.MisspelledWords`) of a specific TextControl (`TXTextControl.TextControl`). The [SuggestionDictionaryComboBox.SuggestionDictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/suggestiondictionarycombobox/suggestiondictionary-property/llms-full.txt) is selected to [create suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/createsuggestions-method/llms-full.txt).

```csharp
public void Show(object textControl);
```

```vbnet
Public Sub Show(textControl As Object)
```

| Parameter | Description |
|---|---|
| textControl | Specifies the object of type `TXTextControl.TextControl` that is connected to the dialog. |

#### Show(object, Dictionary)

Invokes the built-in dialog box for checking misspelled words (`TXTextControl.TextControl.MisspelledWords`) of a specific TextControl (`TXTextControl.TextControl`). The specified suggestion [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) is selected to [create suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/createsuggestions-method/llms-full.txt).

```csharp
public void Show(object textControl, Dictionary suggestionDictionary);
```

```vbnet
Public Sub Show(textControl As Object, suggestionDictionary As Dictionary)
```

| Parameter | Description |
|---|---|
| textControl | Specifies the object of type `TXTextControl.TextControl` that is connected to the dialog. |
| suggestionDictionary | Specifies the [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) used for [creating suggestions](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/createsuggestions-method/llms-full.txt). This parameter is only useful, if more than one [dictionary](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dictionary/llms-full.txt) has been added to the [spellchecker's dictionary collection](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/dictionaries-property/llms-full.txt). |

### Examples

The following example uses Show in a focused Spell Check Dialog workflow. The created object is then available to the surrounding document workflow.

```csharp
spellCheckDialog.Show("Approved", new TXTextControl.Proofing.UserDictionary());
Console.WriteLine("Spell Check Dialog is ready for use.");
```

```vbnet
spellCheckDialog.Show("Approved", New TXTextControl.Proofing.UserDictionary())
Console.WriteLine("Spell Check Dialog is ready for use.")
```

---

## Nearby

- **Previous:** [SpellCheckDialog.Preview Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/preview-property/llms-full.txt)
- **Next:** [SpellCheckDialog.ShowDialogSettings Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/spellcheckdialog/showdialogsettings-property/llms-full.txt)
