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