你的位置:首页 > ASP.net教程

[ASP.net教程]视图菜单


   //查看大图标

       private void 大图标ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lv_song.View = View.LargeIcon;
        }

   //查看小图标

    private void 小图标ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lv_song.View = View.SmallIcon;
        }

 

   //查看明细
        private void 详细ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lv_song.View = View.Details;
        }


   查看列表
        private void 列表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lv_song.View = View.List;
        }

     类容平铺
        private void 平铺ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.lv_song.View = View.Tile;
        }