1.动态增加菜单。

      MToolStripMenuItem.DropDownItems.Add("临时信息", null, new EventHandler(FolderOp_Click));

        private void FolderOp_Click(object sender, EventArgs e)
        {
            ToolStripMenuItem tsmi= sender as ToolStripMenuItem ;
            CardMove(tsmi.Text);
        }

posted on 2007-02-26 15:11  壁虎  阅读(149)  评论(0编辑  收藏  举报
hit counter