C# combobox使用
发布日期:2021-06-30 12:05:55 浏览次数:2 分类:技术文章

本文共 914 字,大约阅读时间需要 3 分钟。

代码如下:

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();        }        private void button1_Click_1(object sender, EventArgs e)        {            float ss, ee;            ss = Convert.ToSingle(textBox1.Text);            ee = Convert.ToSingle(textBox2.Text);            textBox3.Text = Con

转载地址:https://jackzhang.blog.csdn.net/article/details/83037304 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:C# linklabel使用
下一篇:C#下面的listbox使用

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年04月21日 04时51分20秒