• 大小: 50KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-02
  • 语言: 其他
  • 标签: C#  

资源简介

VS项目开发,创建Windows窗体项目,目的在winfrom 显示指定svg

资源截图

代码片段和文件信息

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

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

        private void Form1_Load(object sender EventArgs e)
        {            
            this.webBrowser1.Url = new Uri(Application.StartupPath + @“\test.svg“);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\
     文件         968  2015-02-10 09:42  display_svg_in_winform-master\svgdemo.sln
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\
     文件        2123  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Form1.Designer.cs
     文件         515  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Form1.cs
     文件        5698  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Form1.resx
     文件         467  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Program.cs
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Properties\
     文件        1302  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Properties\AssemblyInfo.cs
     文件        2795  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Properties\Resources.Designer.cs
     文件        5496  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Properties\Resources.resx
     文件        1064  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Properties\Settings.Designer.cs
     文件         242  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\Properties\Settings.settings
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\Debug\
     文件        8192  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\Debug\svgdemo.exe
     文件       22016  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\Debug\svgdemo.pdb
     文件       24216  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\Debug\svgdemo.vshost.exe
     文件         479  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\Debug\svgdemo.vshost.exe.manifest
     文件       23947  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\bin\Debug\test.svg
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\
     目录           0  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\
     文件        1453  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6797  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         180  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.Form1.resources
     文件         180  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.Properties.Resources.resources
     文件         570  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.csproj.FileListAbsolute.txt
     文件         977  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.csproj.GenerateResource.Cache
     文件        2211  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.csprojResolveAssemblyReference.cache
     文件        8192  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.exe
     文件       22016  2015-02-10 09:42  display_svg_in_winform-master\svgdemo\obj\Debug\svgdemo.pdb
............此处省略1个文件信息

评论

共有 条评论