ApplyWS() 공개 메소드

Applies the specified writing system to the current selection
public ApplyWS ( int hvoWs ) : void
hvoWs int The ID of the writing system to apply
리턴 void
예제 #1
0
		/// ------------------------------------------------------------------------------------
		/// <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();
		}
예제 #2
0
		/// ------------------------------------------------------------------------------------
		/// <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();
		}