コード例 #1
0
 public static void Initialize(IHtmlEditorComponentContext editorContext, IBlogPostImageDataContext dataContext, CreateFileCallback callback)
 {
     // initialize one form per-thread
     if (_imagePropertySidebar == null)
     {
         _imagePropertySidebar = new ImageEditingPropertySidebar();
         _imagePropertySidebar.Init(editorContext, dataContext, callback);
     }
 }
コード例 #2
0
 public static void Initialize(IHtmlEditorComponentContext editorContext, IBlogPostImageDataContext dataContext, CreateFileCallback callback)
 {
     // initialize one form per-thread
     if ( _imagePropertySidebar == null )
     {
         _imagePropertySidebar = new ImageEditingPropertySidebar() ;
         _imagePropertySidebar.Init(editorContext, dataContext, callback);
     }
 }