上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 52 下一页
摘要: public static string SetSaveFilePath(string filterType= "所有文件|*.*",string fileName="我的文件",string defaultExt=".txt") { SaveFileDialog dialog = new Save 阅读全文
posted @ 2021-09-15 19:13 LuoCore 阅读(1715) 评论(0) 推荐(0)
摘要: https://my.oschina.net/smartsmile/blog/814810 //Image转换Bitmap //1. Bitmap img = new Bitmap(imgSelect.Image); //2. Bitmap bmp = (Bitmap)pictureBox1.Ima 阅读全文
posted @ 2021-09-13 11:24 LuoCore 阅读(725) 评论(0) 推荐(0)
摘要: https://wenku.baidu.com/view/621fbbec0066f5335b81218f.html 一、关闭窗体在c#中退出WinForm 程序包括有很多方法, 如:this.Close();Application. Exit(); Application. ExitThread( 阅读全文
posted @ 2021-09-09 15:29 LuoCore 阅读(1015) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/qiantao/p/9468570.html 作为研发人员,在本机上开发的winform、wpf或者控制台程序需要发给其他人测试时候,一般需要对其进行打包生成setup安装文件,根据网上查找的资料并结合自己打包成功,记录如下: 注:本程序是一个利用wi 阅读全文
posted @ 2021-08-27 11:39 LuoCore 阅读(804) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_34198881/article/details/93301519 //定位到指定行(样式)dataGridView1.ClearSelection();dataGridView1.Rows[selectIndex].Selected = t 阅读全文
posted @ 2021-08-26 19:33 LuoCore 阅读(1008) 评论(0) 推荐(0)
摘要: class ControlComponent { #region 实现窗体内的控件拖动 //用法:在Form初始化或者Form_Load时先执行 //DragComponent a = new DragComponent(); //a.initProperty(groupBox1); //将界面gr 阅读全文
posted @ 2021-08-12 13:45 LuoCore 阅读(467) 评论(0) 推荐(0)
摘要: SELECT * FROM Billcode_in a LEFT JOIN Billcode_place b ON a.billcode=b.billcode AND b.id=(SELECT MAX(id) FROM Billcode_place WHERE billcode=b.billcode 阅读全文
posted @ 2021-08-10 20:29 LuoCore 阅读(235) 评论(0) 推荐(0)
摘要: //TextBox 必须是多行文本框 private void Txt_Billcode_KeyDown(object sender, KeyEventArgs e) { if (e.Control && e.KeyCode == Keys.Enter) //当按下Ctrl和Enter 输入回车 { 阅读全文
posted @ 2021-08-10 15:28 LuoCore 阅读(582) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/hhhhhhhhhhwwwwwwwwww/article/details/112222711 IsSpliterFixed属性设为False FixedPannel属性设为Panel1(要固定的面板的名称) 阅读全文
posted @ 2021-08-05 13:38 LuoCore 阅读(709) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/educast/article/details/7954242 这种情况是由多线程引起的,在项目中遇到过这样的情况,查了一下网上的解决方法...汗,都不行。只有靠自己了! 首先在 static void Main() 函数前加上 [STAThreadAtt 阅读全文
posted @ 2021-08-04 23:06 LuoCore 阅读(493) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 52 下一页