private void 缓冲区分析ToolStripMenuItem_Click(object sender, EventArgs e) { //定义参数 IHookHelper map_hookHelper = new HookHelperClass(); //参数赋值 //Hook定义 map_hookHelper.Hook = this.axMapControl1.Object; //窗体调用 BufferDlg BAFrm = new BufferDlg(map_hookHelper); BAFrm.ShowDialog(); }