Ejemplo n.º 1
0
 /// -----------------------------------------------------------------------------------
 /// <summary>
 ///
 /// </summary>
 /// <param name="vss"></param>
 /// -----------------------------------------------------------------------------------
 protected override void Activate(VwSelectionState vss)
 {
     base.Activate(vss);
     if (TheMainWnd != null)
     {
         TheMainWnd.UpdateStyleComboBoxValue(this);
     }
 }
Ejemplo n.º 2
0
        /// ------------------------------------------------------------------------------------
        /// <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();
		}
Ejemplo n.º 4
0
		/// -----------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="vss"></param>
		/// -----------------------------------------------------------------------------------
		protected override void Activate(VwSelectionState vss)
		{
			base.Activate(vss);
			if (TheMainWnd != null)
				TheMainWnd.UpdateStyleComboBoxValue(this);
		}
Ejemplo n.º 5
0
 public void Activate(VwSelectionState vss)
 {
     throw new NotImplementedException("The method or operation is not implemented.");
 }
Ejemplo n.º 6
0
		/// ------------------------------------------------------------------------------------
		/// <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);
		}
Ejemplo n.º 7
0
		/// -----------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="vss"></param>
		/// -----------------------------------------------------------------------------------
		protected virtual void Activate(VwSelectionState vss)
		{
			if (m_rootb != null && AllowDisplaySelection)
				m_rootb.Activate(vss);
		}
Ejemplo n.º 8
0
 /// <summary/>
 public void Activate(VwSelectionState vss)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 9
0
 /// ------------------------------------------------------------------------------------
 /// <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);
 }
Ejemplo n.º 10
0
		public void Activate(VwSelectionState vss)
		{
			throw new Exception("The method or operation is not implemented.");
		}