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); } }
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); } }