随笔分类 - c#
摘要:C# 判断文件/文件夹 是否存在 https://blog.csdn.net/byh371256/article/details/85263816 FileInfo 获取文件名 https://blog.csdn.net/lemonemmm/article/details/82151272 C# 遍
阅读全文
摘要:参考:https://www.cnblogs.com/junjieok/archive/2013/12/12/3470530.html
阅读全文
摘要:默认的建立一个控制台的应用程序,所以输出类型就会默认为控制台应用程序,只要把输出类型改为类库就可以解决这个问题。 参考:https://www.cnblogs.com/yueyongsheng/p/11997902.html
阅读全文
摘要:https://blog.csdn.net/neo_ustc/article/details/11194199
阅读全文
摘要:TextEdit.Properties.NullValuePromptShowForEmptyValue = true; TextEdit.Properties.NullValuePrompt = “我是提示。”; 参考:https://www.cnblogs.com/mq0036/p/104177
阅读全文
摘要:private void splitContainerControl1_SplitterMoved(object sender, EventArgs e) { if (this.splitContainerControl1.Panel2.Width < 350) { this.gcBigImage.
阅读全文
摘要:https://blog.csdn.net/mao_mao37/article/details/73332280 https://blog.csdn.net/weixin_30763397/article/details/99589181
阅读全文
摘要:https://github.com/kwwwvagaa/NetWinformControl https://gitee.com/kwwwvagaa/net_winform_custom_control/tree/master
阅读全文
摘要:https://www.cnblogs.com/huangxincheng/p/13171388.html
阅读全文
摘要:一般为了表格显示数据更直观,经常会显示行号以及总数。让gridcontrol显示行号,首先你需要设置一下显示行号的宽度,也就是IndicatorWith。默认值为-1,可根据实际数值需要设置宽度,案例设置为50;然后在gridView1_CustomDrawRowIndicator事件中添加如下代码
阅读全文
摘要:https://www.cnblogs.com/xuhaibiao/archive/2012/08/24/2653711.html
阅读全文
摘要:https://blog.csdn.net/jsjyyjs07/article/details/46919695/
阅读全文
摘要:https://www.cnblogs.com/sentangle/p/12110739.html
阅读全文
摘要:注意: 是GridView的Double而不是GridControlprivate void gridView1_DoubleClick(object sender, EventArgs e){ GridView detailGrid = (sender as GridView); GridHitI
阅读全文
摘要:https://www.devexpress.com/Support/Center/Question/Details/Q94915 If you set the AutoSizeMode to None, you will be able to set the Height and Width of
阅读全文
摘要:https://blog.csdn.net/plutus_sutulp/article/details/7819462?utm_source=blogxgwz9
阅读全文
摘要:当A窗体要打开B窗体时,如果B窗体时打开或者最小化状态,则不再重新打开窗体,避免窗体重复出现 那就判断窗体是否是打开状况 bool isOpne = false; //默认是关闭状态 foreach (Form frm in Application.OpenForms) { if (frm is H
阅读全文
摘要:https://blog.csdn.net/bornonew/article/details/54137793?utm_source=blogxgwz4 https://www.cnblogs.com/herenzhiming/articles/6841969.html
阅读全文
摘要:https://www.cnblogs.com/puweibuqi/p/3759168.html
阅读全文
摘要:https://www.cnblogs.com/zhang1f/p/11461479.html https://www.cnblogs.com/liessay/p/12736486.html
阅读全文