我已经在插件中创建了Outlook添加功能,但无法在标签上看到
当我运行该应用程序时,在“活动应用程序加载项”列表下添加了“添加项”,但无法在选项卡上看到
these are我正在遵循的步骤
下面是代码段,
ThisAddIn.cs
public partial class ThisAddIn
{
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
//myUserControl1 = new UserControl();
//myCustomTaskPane = this.CustomTaskPanes.Add(myUserControl1, "View AddIn");
//myCustomTaskPane.Visible = true;
}
}
Ribbon.cs
public partial class Ribbon
{
private void button1_Click(object sender, RibbonControlEventArgs e)
{
MessageBox.Show("AddIn is opened");
}
}