(1)定义接口 (2)实现接口成员 (3)在Provider中实现[ConnectionProvider]方法 (4)在Consumer中实现[ConnectionConsumer]方法 (5)在WebPartManager中声明静态连接。