/*
         * 保存视频
         */
        private void Submit_Button_Click(object sender, RoutedEventArgs e)
        {
            DControl currDControl = (DControl)currElement.Tag;
            //更新到数据库
            DControl dControl = dControlBll.get(currDControl.id);

            dControl.storageId = this.currDControl.storageId;
            dControlBll.update(dControl);

            //更新页面控件信息
            StorageGif storageGif  = storageGifBll.get(dControl.storageId);
            string     imgFullPath = FileUtil.notExistsShowDefault(storageGif?.url, Params.ImageNotExists);

            imgFullPath = AppDomain.CurrentDomain.BaseDirectory + imgFullPath;

            Gif gif = (Gif)currElement;

            gif.updateElement(imgFullPath, true);
            currElement.Tag = dControl;

            Close();
        }