Exemple #1
0
        /// <summary>
        /// Called on drag and drop event
        /// </summary>
        /// <param name="e">Event args</param>
        protected virtual void OnDragDrop(DragEventArgs e)
        {
            IInstancingContext   instancingContext = m_rootAssetFolder.As <IInstancingContext>();
            IEnumerable <object> converted         = ApplicationUtil.Convert(e.Data, instancingContext, m_dataObjectConverters);

            ApplicationUtil.Drop(converted, instancingContext, m_statusService);
        }
Exemple #2
0
        private void thumbnailControl_DragDrop(object sender, DragEventArgs e)
        {
            m_lastHit = m_currentAssetFolder;
            IInstancingContext   instancingContext = m_rootAssetFolder.As <IInstancingContext>();
            IEnumerable <object> converted         = ApplicationUtil.Convert(e.Data, instancingContext, m_dataObjectConverters);

            ApplicationUtil.Drop(converted, instancingContext, m_statusService);
        }