www.pudn.com > CSdll1.rar > Form1.cs, change:2011-02-16,size:815b


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 CSdll; 
 
 
 
namespace CSdllform 
{ 
    public partial class Form1 : Form 
    { 
        public Form1() 
        { 
            InitializeComponent(); 
        } 
        Class4 myclass4 = new Class4();// 创建对象,必须用NEW一个对象,否则会有错误产生; 
        private void button1_Click(object sender, EventArgs e) 
        { 
            CSdll.Class1.testclass1func1(); 
            CSdll.Class2.testclass2func1(); 
            CSdll.Class3.testclass3func1(); 
            myclass4.testclass4(); // 通过对象调用方法; 
        } 
    } 
} 
// created by bill.zhang