// 在C#中是这样的: 前面的几行
// project loginwin
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Runtime.InteropServices;
namespace loginwin
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class creatmailbox : System.Windows.Forms.Form
{
[DllImport("myproject.dll")]
public static extern long myproject(string useName,string password,string domainList,int size);