Angel_chase
Angel_chase
关注数: 126
粉丝数: 89
发帖数: 4,601
关注贴吧数: 73
关于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 timer { public partial class timeForm : Form { int count;//定时器计数 int time;//存储设定的定时值 public timeForm() { InitializeComponent(); } private void label1_Click(object sender, EventArgs e) { } private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { } private void timeForm_Load(object sender, EventArgs e) { int i; for ( i = 1; i < 100; i++)//计数范围 { comboBox1.Items.Add(i.ToString()+" 秒"); } } private void timer1_Tick(object sender, EventArgs e) { count++; label3.Text = (time - count).ToString() + "秒";//显示剩余时间 progressBar1.Value = count;//进度条进度 if (count==time) { timer1.Stop(); System.Media.SystemSounds.Asterisk.Play();//提示音 MessageBox.Show("时间到了!", "提示"); } } private void button1_Click(object sender, EventArgs e) { string str = comboBox1.Text;//将下拉框内容添加到一个变量中 time = Convert.ToInt16(str.Substring(0,2));//得到整形值 progressBar1.Maximum = time; timer1.Start(); } private void button2_Click(object sender, EventArgs e) { timer1.Stop(); } } }
求帮忙啊 系统重装打不开了
装完固态重做系统之后出现这种情况
每天早上八点十分左右都能在振兴路西侧老年大学哪里见到的姐姐 有没有人从哪里走的 注意一下就能看到 大长腿 扎着马尾辫 个子168 头发黄色 前几天穿肉色丝袜 今天变成黑的辣 嘿嘿 应该上班地点不远 每天都不行 我已经连续见到她一个星期了 每天早上八点十分左右都能在振兴路西侧老年大学哪里见到的小改改
求助求助大佬帮忙看下 之前初中玩过 大学之后好久没摸了 拼不回六面了 只能拼成这样 该怎么办?有没有公式遇到这样的情况
本人刚开始实习 之前买过一两个国产轴机械键盘 预算400到五百 问下各位大佬 我这个价位 买青轴或者茶轴 平时打游戏和文字输入 买什么牌子好一点?最近看到贴吧里杜伽好像很热 去京东看了 外观和键帽设置挺好的 但是就是怕是水军 求大佬指点一下 麻烦了
1
下一页