多重事件继承
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConTest
{
class AccountEventArgs : EventArgs
{
private string name;
public string Name
{
get { return name; }
}
public AccountEventArgs(string name)
{
this.name = name;
}
}
class AccountItemEventArgs:AccountEventArgs
{
private string project;
public string Project
{
get { return project; }
}
public AccountItemEventArgs(string project, string name)
: base(name)
{
this.project = project;
}
}
}