![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
winform
`乐在途中`
这个作者很懒,什么都没留下…
展开
-
winfrom dev控件gridcontrol精确到时分秒的日期格式设置
https://www.cnblogs.com/feilong3540717/archive/2012/02/14/2350536.html原创 2021-01-27 17:54:56 · 724 阅读 · 0 评论 -
gridview的check选中数量不正确
选中之后显示没false,原因是没有退出编辑模式,默认还是false,选中完最后一个再点一下别的地方,就正确了,下面这是方法,写了之后就不用点别的地方了 gridView1.CloseEditor();//退出表格编辑模式 gridView1.UpdateCurrentRow();//更新这个表格的行,取消模式 ...原创 2021-01-25 09:46:32 · 68 阅读 · 0 评论 -
c# math函数集合
转自:https://www.cnblogs.com/ingstyle/p/6638126.html Math.abs() 计算绝对值。 Math.acos() 计算反余弦值。 Math.asin() 计算反正弦值。 Math.atan() 计算反正切值。 Math.atan2() 计算从x 坐标轴到点的角度。 Math.ceil() 将数字向上舍入为最接近的整数。 Math.cos() 计算余弦值。 Math.exp() 计算指数值。 Math.floor() 将数字向下舍入为最接近的整数。 Math.l原创 2021-01-24 16:01:14 · 157 阅读 · 0 评论 -
安装包打包教程网址
https://www.cnblogs.com/yply/p/9940017.html https://jingyan.baidu.com/article/fea4511a084b52f7bb9125c3.html原创 2021-01-13 14:14:31 · 157 阅读 · 0 评论 -
记录焦点位置,修改信息后定位在修改的数据上
private int hangle = 0;//刷新按钮定位 private void gridView1_MouseUp(object sender, MouseEventArgs e) {//记录焦点位置,鼠标点击时 记录值写进 hangle 中 hangle = gridView1.GetFocusedDataSourceRowIndex(); } //取出hanle值,想要定位焦点的位置 gridView1.FocusedRowHandle = hangle; ...原创 2020-12-13 10:24:22 · 165 阅读 · 1 评论