Exemplo n.º 1
0
 /// <summary>
 /// �����༭��(ҳ���е�һ��)
 /// </summary>
 /// <param name="controlName"></param>
 /// <param name="content"></param>
 /// <param name="height"></param>
 /// <param name="editorPath"></param>
 /// <param name="jsVersion"></param>
 /// <param name="toolbarType"></param>
 /// <returns></returns>
 public static Editor NewOne( String controlName, String content, String height, String editorPath, String jsVersion, ToolbarType toolbarType )
 {
     Editor result = new Editor( controlName, content, "100%", height, editorPath, toolbarType );
     result._isUnique = true;
     result._jsVersion = jsVersion;
     return result;
 }
Exemplo n.º 2
0
 public static IEditor NewOne( String propertyName, String propertyValue, String height, Editor.ToolbarType toolbar )
 {
     IEditor x = new UEditor();
     x.Init( propertyName, propertyValue, height, toolbar );
     return x;
 }
Exemplo n.º 3
0
 public void Init( String propertyName, String propertyValue, String height, Editor.ToolbarType toolbar )
 {
     _propertyName = propertyName;
     _propertyValue = propertyValue;
     _height = height;
     _toolbar = toolbar;
 }
Exemplo n.º 4
0
        public void Init( String propertyName, String propertyValue, String height, Editor.ToolbarType toolbar )
        {
            _controlName = propertyName;
            _content = propertyValue;
            _height = height;
            _Toolbar = toolbar;

            _width = "100%";
            _editorPath = sys.Path.Editor;

            _isUnique = true;
            _jsVersion = MvcConfig.Instance.JsVersion;
        }