public ApplyWS ( int hvoWs ) : void | ||
hvoWs | int | The ID of the writing system to apply |
Résultat | void |
/// ------------------------------------------------------------------------------------ /// <summary> /// Applies the specified writing system to the current selection of the Tss string in /// the specified Tss edit control /// </summary> /// <param name="fwTextBox">The Tss edit control whose selection should have the /// specified style applied to it.</param> /// <param name="hvoWs">The ID of the writing system to apply</param> /// ------------------------------------------------------------------------------------ public void ApplyWS(FwTextBox fwTextBox, int hvoWs) { CheckDisposed(); fwTextBox.ApplyWS(hvoWs); if (chkMatchWS.Enabled) chkMatchWS.Checked = true; fwTextBox.Focus(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Applies the specified writing system to the current selection of the Tss string in /// the specified Tss edit control /// </summary> /// <param name="fwTextBox">The Tss edit control whose selection should have the /// specified style applied to it.</param> /// <param name="hvoWs">The ID of the writing system to apply</param> /// ------------------------------------------------------------------------------------ public void ApplyWS(FwTextBox fwTextBox, int hvoWs) { CheckDisposed(); fwTextBox.ApplyWS(hvoWs); if (chkMatchWS.Enabled) chkMatchWS.Checked = true; SetFormatLabels(); fwTextBox.Select(); }