
C#Winform
一些例子一起学习
BoomBiuBiu
一名在广州读研的大学生,一起学习~
展开
-
C#Winform打开文件路径、画板、计算器以及任务管理器
添加五个按钮控件,分别为点击事件添加代码: private void button1_Click(object sender, EventArgs e) { string path = Application.StartupPath; Process.Start("explorer.exe",path); } private void button2_Click(object s.原创 2022-04-29 11:09:53 · 716 阅读 · 1 评论 -
C#Winform在启动主程序之前显示一个进度条
创建一个窗体,命名为StartForm添加一个timer控件并更改名字为timerStart添加一个ProgressBar控件,并调整一下属性:StartForm窗体的代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System...原创 2022-04-29 10:12:45 · 1871 阅读 · 0 评论