Publish Event Pass two textbox text as EventAgrs

Posted by rockrule on Stack Overflow See other posts from Stack Overflow or by rockrule
Published on 2010-04-27T06:44:24Z Indexed on 2010/04/27 8:23 UTC
Read the original article Hit count: 268

Filed under:
|
|

Can i pass two string as eventargs on a button click

internal void OnSaveComm(string strTitle,string strLink)
    {
       WorkItem.EventTopics[EventTopicNames.AgentRecentComm].Fire(this,new EventArgs<> XYZ,WorkItem,Microsoft.Practices.CompositeUI.EventBroker.PublicationScope.Global);
    }

Using Event broker to pass string to subscribing event to display in a different view.

© Stack Overflow or respective owner

Related posts about c#

Related posts about eventargs