private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
urpcControl = new UrpcControl();
pane = CustomTaskPanes.Add(urpcControl, "uRPC");
Application.WindowActivate +=
new Excel.AppEvents_WindowActivateEventHandler(
Application_WindowActivate);
}