lu
2025-05-26 1e70760fdbd1b09a8b697e97906d86235095d6c3
DevApp/Gs.DevApp/UserControl/UCUpFile.cs
@@ -1,16 +1,8 @@
using DevExpress.Utils.DirectXPaint;
using DevExpress.XtraEditors;
using Gs.DevApp.ToolBox;
using Gs.DevApp.ToolBox;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@@ -27,7 +19,7 @@
        }
        /// <summary>
        ///
        /// 父亲guid
        /// </summary>
        public string parentGuid
        {
@@ -35,7 +27,7 @@
            set;
        }
        /// <summary>
        ///
        /// 图片分组,比如login,logo等分组
        /// </summary>
        public string parentGroup
        {
@@ -61,7 +53,7 @@
            // 设置初始目录
            openFileDialog.InitialDirectory = "c:\\";
            // 设置文件过滤选项,如:"文本文件 (*.txt)|*.txt|所有文件 (*.*)|*.*"
            openFileDialog.Filter = "文本文件 (*.txt)|*.txt|所有文件 (*.*)|*.*";
            openFileDialog.Filter = "所有文件 (*.*)|*.*";
            // 设置标题
            openFileDialog.Title = "选择文件";
            // 显示对话框
@@ -121,9 +113,7 @@
                catch (Exception ex)
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError(ex.Message);
                }
        }
        #endregion