重庆熊猫 Loading

随笔分类 -  WinForms

摘要:很简单直接上代码 static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { //设置应用程序处理 阅读全文
posted @ 2024-03-29 08:43 重庆熊猫 阅读(52) 评论(0) 推荐(0)
摘要:更新记录 点击查看 2024年3月11日 发布。 2023年6月12日 初始化。 代码 //等待界面显示 SplashScreenManager.ShowSkinSplashScreen( title: "正在创建新工程", subtitle: "文件准备中,请稍等~", //footer: "De 阅读全文
posted @ 2024-03-11 17:52 重庆熊猫 阅读(122) 评论(0) 推荐(0)
摘要:this.button1.Image = global::项目名.Properties.Resources.资源名; 阅读全文
posted @ 2023-01-18 10:06 重庆熊猫 阅读(71) 评论(0) 推荐(0)
摘要:private void button1_Click(object sender, EventArgs e) { this.textBox1.Focus(); //模拟键盘输入字符 SendKeys.Send("300"); //模拟键盘输入Backspace键 //SendKeys.Send("{ 阅读全文
posted @ 2022-12-23 10:52 重庆熊猫 阅读(42) 评论(0) 推荐(0)
摘要:更新记录 转载请注明出处:https://www.cnblogs.com/cqpanda/p/16475510.html 2022年8月10日 发布。 2022年8月6日 从笔记迁移到博客。 直接上代码: System.Diagnostics.Process.Start("要打开的url"); 阅读全文
posted @ 2022-08-10 08:22 重庆熊猫 阅读(139) 评论(0) 推荐(0)
摘要:更新记录: 转载请注明出处:https://www.cnblogs.com/cqpanda/p/16474839.html 2022年7月14日 发布。 默认情况下,C# Winforms不支持多选文件夹。为了支持多选文件夹,需要调用Windows API,好在已经有大佬封装好了,直接调用就行了。 阅读全文
posted @ 2022-07-14 06:54 重庆熊猫 阅读(1570) 评论(0) 推荐(0)
摘要:更新记录: 2022年7月13日 新增选择多个文件。 2022年5月28日 发布。 选择文件(单选) this.openFileDialog1.Filter = "PDF文件|*.pdf"; if (this.openFileDialog1.ShowDialog() == DialogResult. 阅读全文
posted @ 2022-07-13 15:12 重庆熊猫 阅读(151) 评论(0) 推荐(0)
摘要:更新记录 本文迁移自Panda666原博客,原发布时间:2021年7月6日。 对于已经打开的窗口,可以通过Application.OpenForms属性进行获得。该属性是一个FormCollection类型。 foreach (Form item in Application.OpenForms) 阅读全文
posted @ 2022-04-16 18:17 重庆熊猫 阅读(119) 评论(0) 推荐(0)
摘要:更新记录: 2022年4月15日:本文迁移自Panda666原博客,原发布时间:2021年4月18日。 2022年4月15日:更新自动生成Web CURD工具。 说明 Winforms的控件拖起来是真的很爽,尤其是刚接触这玩意儿的时候,成就感满满~。效率真的太高了。 直接拖入 打开界面设计器,鼠标点 阅读全文
posted @ 2022-04-15 20:40 重庆熊猫 阅读(271) 评论(0) 推荐(0)