• 大小: 88KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-11
  • 语言: C#
  • 标签: dll  

资源简介

C#.net中调用VB.net创建的DLL

资源截图

代码片段和文件信息

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;
using System.Runtime.InteropServices;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        [DllImport(“buttondll“)]
        public static extern void show();
        
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            //先定义VB中的类
            ClassLibrary1.Button btn = new ClassLibrary1.Button();
            //再调用VB中类的方法
            int a = Convert.ToInt32(this.textBox1.Text);
            int b = Convert.ToInt32(this.textBox2.Text);
  

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

     文件      10752  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\bin\Release\buttondll.dll

     文件      28160  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\bin\Release\buttondll.pdb

     文件        633  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\bin\Release\buttondll.xml

    ..A.SH.         9  2006-09-15 10:28  C#.net中调用VB.net创建的DLL\buttondll\buttondll\bin\_desktop.ini

     文件       3956  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\buttondll\buttondll.vbproj

     文件        232  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\Class1.vb

     文件        457  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\Application.Designer.vb

     文件        481  2006-03-19 15:45  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\Application.myapp

     文件       1117  2006-03-19 15:45  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\AssemblyInfo.vb

     文件       2778  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\Resources.Designer.vb

     文件       5612  2006-03-19 15:45  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\Resources.resx

     文件       2997  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\Settings.Designer.vb

     文件        279  2006-03-19 15:45  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\Settings.settings

    ..A.SH.         9  2006-09-15 10:28  C#.net中调用VB.net创建的DLL\buttondll\buttondll\My Project\_desktop.ini

     文件        306  2006-03-19 16:03  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\buttondll.vbproj.FileList.txt

     文件      10752  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\buttondll.dll

     文件      28160  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\buttondll.pdb

     文件        576  2010-04-06 20:15  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\buttondll.vbproj.FileListAbsolute.txt

     文件        789  2010-04-06 20:15  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\buttondll.vbproj.GenerateResource.Cache

     文件        633  2010-04-06 20:42  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\buttondll.xml

     文件        180  2010-04-06 20:15  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\ClassLibrary1.Resources.resources

     文件       7680  2010-04-06 20:15  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\Release\TempPE\My Project.Resources.Designer.vb.dll

    ..A.SH.         9  2006-09-15 10:28  C#.net中调用VB.net创建的DLL\buttondll\buttondll\obj\_desktop.ini

    ..A.SH.         9  2006-09-15 10:28  C#.net中调用VB.net创建的DLL\buttondll\buttondll\_desktop.ini

     文件        917  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\buttondll.sln

    ..A..H.     14848  2010-04-06 20:54  C#.net中调用VB.net创建的DLL\buttondll\buttondll.suo

     文件       1014  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\UpgradeLog.xml

    ..A.SH.         9  2006-09-15 10:28  C#.net中调用VB.net创建的DLL\buttondll\_desktop.ini

     文件       3348  2010-04-06 20:14  C#.net中调用VB.net创建的DLL\buttondll\_UpgradeReport_Files\UpgradeReport.css

     文件      12505  2008-01-11 01:25  C#.net中调用VB.net创建的DLL\buttondll\_UpgradeReport_Files\UpgradeReport.xslt

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

评论

共有 条评论