public NotifyEventForm() { // // Required for Windows Form Designer support // InitializeComponent(); this.mAddDelegate = new AddCommandDelegate(this.AddCommand); }
// Регистрируем делегат public void RegisterDelegate(AddCommandDelegate commandDelegate) { _addCommandDelegate = commandDelegate; }