System.Windows.Forms.TextBoxBase.CreateHandle C# (CSharp) Method

CreateHandle() protected method

protected CreateHandle ( ) : void
return void
		protected override void CreateHandle ()
		{	
      		m_helper = new TextBoxHelper();
			m_view =  m_helper;
			m_helper.Host = this;
			m_helper.TextView.Selectable = true;
			m_helper.TextView.Editable = true;
			Multiline = false;			
			m_helper.TextView.VerticallyResizable = false;
			m_helper.TextView.HorizontallyResizable = true;
			m_helper.TextView.AutoresizingMask = (NSViewResizingMask.HeightSizable | NSViewResizingMask.WidthSizable );
			m_helper.TextView.TextContainer.ContainerSize = new SizeF(float.MaxValue,float.MaxValue);
			m_helper.TextView.TextContainer.WidthTracksTextView = false;
			m_helper.TextView.Font = Font.ToNsFont();
			
			//m_helper.ScaleUnitSquareToSize(Util.ScaleSize);
			//m_helper.viewDidMoveToSuperview += delegate(object sender, EventArgs e) {
			//	ViewDidMoveToSuperview();
			//};
		}