a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
48 lines
605 B
C#
48 lines
605 B
C#
namespace Mono.Sms
|
|
{
|
|
partial class Main
|
|
{
|
|
}
|
|
}
|
|
|
|
namespace Mono.Sms
|
|
{
|
|
using Mono.Sms.Core;
|
|
|
|
public partial class Main
|
|
{
|
|
public void Test ()
|
|
{
|
|
Contacts frm = new Contacts ();
|
|
frm.ContactsEventHandler += delegate () {
|
|
Agenda.AddContact ();
|
|
};
|
|
}
|
|
}
|
|
|
|
public partial class Contacts
|
|
{
|
|
public void Test ()
|
|
{
|
|
ContactsEventHandler ();
|
|
}
|
|
|
|
public delegate void ContactsHandler ();
|
|
public event ContactsHandler ContactsEventHandler;
|
|
}
|
|
}
|
|
|
|
namespace Mono.Sms.Core
|
|
{
|
|
public class Agenda
|
|
{
|
|
public static void AddContact ()
|
|
{
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|
|
}
|