Alsing.Windows.Forms.SyntaxBox.EditViewControl.EditViewControl C# (CSharp) 메소드

EditViewControl() 공개 메소드

Default constructor for the SyntaxBoxControl
public EditViewControl ( SyntaxBoxControl Parent ) : System
Parent SyntaxBoxControl
리턴 System
        public EditViewControl(SyntaxBoxControl Parent)
        {
            _SyntaxBox = Parent;

            Painter = new NativePainter(this);
            _Selection = new Selection(this);
            _Caret = new Caret(this);

            _Caret.Change += CaretChanged;
            _Selection.Change += SelectionChanged;


            InitializeComponent();


            CreateAutoList();
            //CreateFindForm ();
            CreateInfoTip();

            SetStyle(ControlStyles.AllPaintingInWmPaint, false);
            SetStyle(ControlStyles.DoubleBuffer, false);
            SetStyle(ControlStyles.Selectable, true);
            SetStyle(ControlStyles.ResizeRedraw, true);
            SetStyle(ControlStyles.Opaque, true);
            SetStyle(ControlStyles.UserPaint, true);
            UpdateStyles();

            mKeysThatInsertFromAutolist.Add(Keys.Space);
            mKeysThatInsertFromAutolist.Add(Keys.Enter);
            mKeysThatInsertFromAutolist.Add(Keys.Tab);
            mKeysThatInsertFromAutolist.Add(Keys.OemPeriod);
            mKeysThatInsertFromAutolist.Add(Keys.OemOpenBrackets);
            //mKeysThatInsertFromAutolist.Add(


            //			this.IMEWindow = new Alsing.Globalization.IMEWindow (this.Handle,_SyntaxBox.FontName,_SyntaxBox.FontSize);
        }