private DisappearTextBox ( bool state ) : void | ||
state | bool | State to set to. If true, textbox disappears and previewbox is visible. |
Результат | void |
private void DisappearTextBox(bool state)
{
if (texmodPreviewBox.InvokeRequired)
this.Invoke(new Action(() => DisappearTextBox(state)));
else
{
texmodPreviewBox.Visible = !state;
PreviewBox.Visible = state;
}
}