/// ----------------------------------------------------------------------------------- /// <summary> /// /// </summary> /// <param name="vss"></param> /// ----------------------------------------------------------------------------------- protected override void Activate(VwSelectionState vss) { base.Activate(vss); if (TheMainWnd != null) { TheMainWnd.UpdateStyleComboBoxValue(this); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Creates a bitmap and renders the text in this FwTextBox in the bitmap. /// </summary> /// <param name="rect">The rectangle that specifies the width and height of the bitmap. /// </param> /// <returns>A bitmap representation of the text in this FwTextBox.</returns> /// ------------------------------------------------------------------------------------ public Bitmap CreateBitmapOfText(Rectangle rect) { Bitmap bitmap = new Bitmap(rect.Width, rect.Height); VwSelectionState selState = m_innerFwTextBox.RootBox.SelectionState; m_innerFwTextBox.RootBox.Activate(VwSelectionState.vssDisabled); DrawToBitmap(bitmap, rect); m_innerFwTextBox.RootBox.Activate(selState); return(bitmap); }
public void Activate(VwSelectionState vss) { throw new NotImplementedException(); }
/// ----------------------------------------------------------------------------------- /// <summary> /// /// </summary> /// <param name="vss"></param> /// ----------------------------------------------------------------------------------- protected override void Activate(VwSelectionState vss) { base.Activate(vss); if (TheMainWnd != null) TheMainWnd.UpdateStyleComboBoxValue(this); }
public void Activate(VwSelectionState vss) { throw new NotImplementedException("The method or operation is not implemented."); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Overridden to always show the selection when we gain focus /// </summary> /// <param name="vss">The selection state</param> /// ------------------------------------------------------------------------------------ protected override void Activate(VwSelectionState vss) { m_rootb.Activate(vss); }
/// ----------------------------------------------------------------------------------- /// <summary> /// /// </summary> /// <param name="vss"></param> /// ----------------------------------------------------------------------------------- protected virtual void Activate(VwSelectionState vss) { if (m_rootb != null && AllowDisplaySelection) m_rootb.Activate(vss); }
/// <summary/> public void Activate(VwSelectionState vss) { throw new NotImplementedException(); }
public void Activate(VwSelectionState vss) { throw new Exception("The method or operation is not implemented."); }