1)DevExpress控件的GridView的实现多选操作 先讲DevExpress控件的GridView的实现,要实现的功能基本上是处理单击全选操作.重新绘制表头等操作,首先在加载第一步实现相关的事件和操作,如下所示. this.gridView1.Click += new System.EventHandler(this.gridView1_Click); this.gridView1.CustomDrawColumnHeader += new DevExpress.XtraGrid.
应用场景: 在办公中,有可能存在,某些命令脚本使用windows下的文本编辑器进行编写 当放到测试环境的Linux中时,运行报错 需要使用的软件:xxd hexdump dos2unix 1.运行windows上编写好的sh脚本 [root@hlrgm ~]# bash test.sh test.sh: line 2: $'\r': command not found 'f: invalid option -- ' Try 'df --help' for more information. t