N
Nagaraj
Hi,
I have the following code in my app
if (this.Application.ActiveExplorer().Selection.Count > 0)
{
Object selObject =
this.Application.ActiveExplorer().Selection[1];
if (selObject is Outlook.MailItem)
{
Outlook.MailItem mailItem =
(selObject as Outlook.MailItem);
XXXXXXXXXXXXXXXXXXXXXX
}
}
At the place XXXXXXXXXXXXXXXXXXXXXX
I want to know whether New button on the standard toolbar is clicked or not.
I want to do some calculations if New button is clicked.
Can anyone show me how to this in C# outlook plugin code?
Thanks
I have the following code in my app
if (this.Application.ActiveExplorer().Selection.Count > 0)
{
Object selObject =
this.Application.ActiveExplorer().Selection[1];
if (selObject is Outlook.MailItem)
{
Outlook.MailItem mailItem =
(selObject as Outlook.MailItem);
XXXXXXXXXXXXXXXXXXXXXX
}
}
At the place XXXXXXXXXXXXXXXXXXXXXX
I want to know whether New button on the standard toolbar is clicked or not.
I want to do some calculations if New button is clicked.
Can anyone show me how to this in C# outlook plugin code?
Thanks