lixiaojun
2024-08-15 24f31cf1f11318a0e76d31d382313d30c0ad9e1d
WinFrmUI/Yw.WinFrmUI.Bimface.Core/02-file/UploadBimfaceFileDlg.cs
@@ -22,7 +22,7 @@
        public void SetBindingData()
        {
            this.imgCmbFormatType.Properties.Items.AddEnum(typeof(eFormatType), false);
            this.imgCmbFormatType.EditValue = eFormatType._3D;
            this.imgCmbFormatType.EditValue = eFormatType.d3;
        }
        //验证
@@ -71,8 +71,8 @@
            var formatType = (eFormatType)this.imgCmbFormatType.EditValue;
            switch (formatType)
            {
                case eFormatType._3D: filter = "模型文件|*.rvt;*.rfa"; break;
                case eFormatType._2D: filter = "模型文件|*.dwg"; break;
                case eFormatType.d3: filter = "模型文件|*.rvt;*.rfa"; break;
                case eFormatType.d2: filter = "模型文件|*.dwg"; break;
                default: break;
            }
            if (string.IsNullOrEmpty(filter))