Exemple #1
0
	    protected internal override Control CreateControl(string name)
        {
            MemoControl control = new MemoControl(name);

            control.Width = Width;
            control.Height = Height;
            control.OnKeyDown = OnKeyDown;
            control.OnKeyUp = OnKeyUp;
            control.OnKeyPress = OnKeyPress;
	        control.Translate = Translate;
	        control.ReadOnly = ReadOnly;

            return control;
        }
Exemple #2
0
        protected internal override Control CreateControl(string name)
        {
            MemoControl control = new MemoControl(name);

            control.Width      = Width;
            control.Height     = Height;
            control.OnKeyDown  = OnKeyDown;
            control.OnKeyUp    = OnKeyUp;
            control.OnKeyPress = OnKeyPress;
            control.Translate  = Translate;
            control.ReadOnly   = ReadOnly;

            return(control);
        }