C#窗体程序
发布日期:2021-06-30 12:05:50
浏览次数:2
分类:技术文章
本文共 702 字,大约阅读时间需要 2 分钟。
C#窗体程序
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace _3{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { label1.ForeColor = Color.Red; } private void button2_Click(object sender, EventArgs e) { label1.ForeColor = Color.Blue; } private void button3_Click(object sender, EventArgs e) { Close(); } }}
运行效果如下:
转载地址:https://jackzhang.blog.csdn.net/article/details/83031855 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
路过,博主的博客真漂亮。。
[***.116.15.85]2024年04月17日 21时17分01秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
HDU-6214 Smallest Minimum Cut(最大流)
2019-04-30
Windows安装Scrapy库
2019-04-30
HDU-2586 How far away ?(LCA)
2019-04-30
hihocoder #1069 : 最近公共祖先·三(ST求LCA)
2019-04-30
hackerrank Lucky Numbers(扩展gcd/规律)
2019-04-30
HDU 5115 Dire Wolf(区间dp)
2019-04-30
Wannafly挑战赛1 A.Treepath(dfs)
2019-04-30
leetcode 10. Regular Expression Matching(dp)
2019-04-30
Recall, Precision, and Average Precision
2019-04-30
Vue 项目部署到阿里云服务器(Nginx 代理)
2019-04-30
CMake 学习
2019-04-30
《Effective STL》 读书笔记
2019-04-30
Windows10 使用 Visual Studio Code
2019-04-30
实习经历总结
2019-04-30
基于java的网络考试系统的设计与实现
2019-04-30
基于java的魂斗罗的设计
2019-04-30
基于java的网页内容管理
2019-04-30