2
我被卡住了。我一直在试图找到或创建一个简单的示例,介绍如何为VS 2010 Express创建Outlook插件。我知道在VS 2010 Pro中这样做更简单,但是,在快速版本中这样做真的不可能?简单的Outlook 2007(或更新版本)VS 2010 Express插件/插件
我的目标是当用户点击Outlook中的“发送按钮”时,获取“获取控件”,如显示一个消息框或类似内容。
我一直在试图与Microsoft.Office.Interop.Outlook玩; Microsoft.Office.Core;没有太多的运气。
有没有人有一个简单的例子,运行在快递版本上?
一些非功能性的代码,我跟打:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Outlook = Microsoft.Office.Interop.Outlook;
using Office = Microsoft.Office.Core;
namespace WpfApplication1
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
public delegate void ApplicationEvents_11_ItemSendEventHandler(object Item, ref bool Cancel);
public void MyItemSendEventHandler(object Item, ref bool Cancel)
{
}
private void InternalStartup()
{
this.Startup += new System.EventHandler(ThisAddIn_Startup);
this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
}
}
}