Form1 f1 = new Form1();
IntPtr intPtr ;
int hwnd = Globals.ThisAddIn.Application.Hwnd;//获取句柄
//intPtr = new IntPtr(hwnd); //方法一
intPtr = Process.GetCurrentProcess().MainWindowHandle; //方法二
System.Windows.Forms.NativeWindow win = System.Windows.Forms.NativeWindow.FromHandle(intPtr );
f1.Show(win);