• 大小: 0.57M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: C#  c  开发  s  

资源简介

C#改变Visio阀门的开关

资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Text;
using System.Diagnostics;
using System.Collections.Generic;
using Microsoft.Office.Interop.Visio;
using Visio = Microsoft.Office.Interop.Visio;
using System.Runtime.InteropServices;
using VisioLibrary;

namespace WindowsFormsApplication2
{
    public delegate void VisioEventHandler(object sender EventArgs e);
    public delegate bool QueryCancelEventHandler(object sender EventArgs e);

    /// 
    /// Visio事件侦听类
    /// 

    [ComVisible(true)]
    public sealed class EventSink : IVisEventProc
    {
        private Application  eventApplication;  //Visio应用程序对象
        private Document eventDocument;         //Visio文档对象
        private int alertResponse;

        public event VisioEventH

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

     文件        144  2016-03-15 14:39  WindowsFormsApplication2\app.config

     文件      49152  2016-03-14 13:55  WindowsFormsApplication2\bin\Debug\AxInterop.Microsoft.Office.Interop.VisOcx.dll

     文件      18432  2016-03-06 17:29  WindowsFormsApplication2\bin\Debug\VisioLibrary.dll

     文件      21083  2016-03-06 17:29  WindowsFormsApplication2\bin\Debug\VisioLibrary.xml

     文件     110080  2016-03-17 16:10  WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe

     文件        144  2016-03-15 14:39  WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe.config

     文件      67072  2016-03-17 16:10  WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.pdb

     文件      11600  2016-03-17 16:54  WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe

     文件        144  2016-03-15 14:39  WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.config

     文件        490  2010-03-17 22:39  WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.manifest

     文件      27143  2011-10-16 17:27  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\Construct.vss

     文件      64016  2011-10-16 17:27  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\Label.vss

     文件      24070  2011-10-16 17:27  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\Line.vss

     文件      23046  2011-10-16 17:27  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\Monitor.vss

     文件      38421  2011-10-16 17:27  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\Span.vss

     文件      59904  2011-10-22 11:10  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\Switch.vss

     文件      17408  2016-03-17 16:13  WindowsFormsApplication2\bin\Debug\图纸及模具\Stencils\test.vss

     文件     304640  2016-03-17 15:37  WindowsFormsApplication2\bin\Debug\图纸及模具\图纸4.vsd

     文件      13214  2016-03-15 14:49  WindowsFormsApplication2\EventSink.cs

     文件      27371  2016-03-17 16:10  WindowsFormsApplication2\Form1.cs

     文件      25451  2016-03-17 13:59  WindowsFormsApplication2\Form1.Designer.cs

     文件      25735  2016-03-17 13:59  WindowsFormsApplication2\Form1.resx

     文件        384  2016-03-16 10:51  WindowsFormsApplication2\FrmDisplay.cs

     文件       2070  2016-03-16 10:51  WindowsFormsApplication2\FrmDisplay.Designer.cs

     文件       5817  2016-03-16 10:51  WindowsFormsApplication2\FrmDisplay.resx

     文件      49152  2016-03-14 13:55  WindowsFormsApplication2\obj\x86\Debug\AxInterop.Microsoft.Office.Interop.VisOcx.dll

     文件      26397  2016-03-16 09:25  WindowsFormsApplication2\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6984  2016-03-17 16:10  WindowsFormsApplication2\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       4608  2016-03-15 14:54  WindowsFormsApplication2\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       2462  2016-03-17 16:54  WindowsFormsApplication2\obj\x86\Debug\WindowsFormsApplication2.csproj.FileListAbsolute.txt

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

评论

共有 条评论