• 大小: 82KB
    文件类型: .rar
    金币: 2
    下载: 0 次
    发布日期: 2024-02-03
  • 语言: C#
  • 标签: C#  

资源简介

dwg文件的预览-C#实现。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using System.Collections;
using System.IO;

namespace cadView20181203
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender System.EventArgs e)
        {
            string path = @“C:\Users\dongl\Desktop\test\(04)车库地下一层组合平面.dwg“;
            ViewDWG viewDWG = new ViewDWG();
            pictureBox1.Image = viewDWG.GetDwgImage(path);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     47104  2018-12-03 20:00  cadView20181203\.vs\cadView20181203\v14\.suo

     文件        189  2018-12-03 15:27  cadView20181203\cadView20181203\App.config

     文件       9216  2018-12-03 15:55  cadView20181203\cadView20181203\bin\Debug\cadView20181203.exe

     文件        189  2018-12-03 15:27  cadView20181203\cadView20181203\bin\Debug\cadView20181203.exe.config

     文件      22016  2018-12-03 15:55  cadView20181203\cadView20181203\bin\Debug\cadView20181203.pdb

     文件      22696  2018-12-03 15:27  cadView20181203\cadView20181203\bin\Debug\cadView20181203.vshost.exe

     文件        189  2018-12-03 15:27  cadView20181203\cadView20181203\bin\Debug\cadView20181203.vshost.exe.config

     文件        490  2018-04-12 07:35  cadView20181203\cadView20181203\bin\Debug\cadView20181203.vshost.exe.manifest

     文件       8704  2018-12-03 17:31  cadView20181203\cadView20181203\bin\x64\Debug\cadView20181203.exe

     文件        189  2018-12-03 15:27  cadView20181203\cadView20181203\bin\x64\Debug\cadView20181203.exe.config

     文件      22016  2018-12-03 17:31  cadView20181203\cadView20181203\bin\x64\Debug\cadView20181203.pdb

     文件      22688  2018-12-03 17:33  cadView20181203\cadView20181203\bin\x64\Debug\cadView20181203.vshost.exe

     文件        189  2018-12-03 15:27  cadView20181203\cadView20181203\bin\x64\Debug\cadView20181203.vshost.exe.config

     文件       4770  2018-12-03 15:56  cadView20181203\cadView20181203\cadView20181203.csproj

     文件        739  2018-12-03 15:53  cadView20181203\cadView20181203\Form1.cs

     文件       2357  2018-12-03 15:59  cadView20181203\cadView20181203\Form1.Designer.cs

     文件        725  2018-12-03 15:55  cadView20181203\cadView20181203\obj\Debug\cadView20181203.csproj.FileListAbsolute.txt

     文件        954  2018-12-03 15:55  cadView20181203\cadView20181203\obj\Debug\cadView20181203.csproj.GenerateResource.Cache

     文件       2384  2018-12-03 15:55  cadView20181203\cadView20181203\obj\Debug\cadView20181203.csprojResolveAssemblyReference.cache

     文件       9216  2018-12-03 15:55  cadView20181203\cadView20181203\obj\Debug\cadView20181203.exe

     文件      22016  2018-12-03 15:55  cadView20181203\cadView20181203\obj\Debug\cadView20181203.pdb

     文件        180  2018-12-03 15:55  cadView20181203\cadView20181203\obj\Debug\cadView20181203.Properties.Resources.resources

     文件        868  2018-12-03 15:27  cadView20181203\cadView20181203\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7188  2018-12-03 15:48  cadView20181203\cadView20181203\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2018-12-03 15:27  cadView20181203\cadView20181203\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-12-03 15:27  cadView20181203\cadView20181203\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2018-12-03 15:27  cadView20181203\cadView20181203\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        757  2018-12-03 17:33  cadView20181203\cadView20181203\obj\x64\Debug\cadView20181203.csproj.FileListAbsolute.txt

     文件        954  2018-12-03 15:56  cadView20181203\cadView20181203\obj\x64\Debug\cadView20181203.csproj.GenerateResource.Cache

     文件       2384  2018-12-03 17:31  cadView20181203\cadView20181203\obj\x64\Debug\cadView20181203.csprojResolveAssemblyReference.cache

............此处省略35个文件信息

评论

共有 条评论