摘要: 阅读全文
posted @ 2017-09-20 22:12 刘振宇201612052458 阅读(222) 评论(0) 推荐(0) 编辑
摘要: private void 红色ToolStripMenuItem_Click(object sender, EventArgs e) { this.BackColor = Color.Red; toolStripStatusLabel1.Text = "红色"; } private void 绿色T 阅读全文
posted @ 2017-09-20 22:08 刘振宇201612052458 阅读(157) 评论(0) 推荐(0) 编辑
摘要: private void 大ToolStripMenuItem_Click(object sender, EventArgs e) { this.Width = 600; this.Height = 400; toolStripStatusLabel1.Text = "大窗体"; } private 阅读全文
posted @ 2017-09-20 21:52 刘振宇201612052458 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 输入一个正整数n,若n为奇数,程序计算出数列1+3+5....+n;若n为偶数,则计算出2+4+6....+n之和 using System;using System.Collections.Generic;using System.Linq;using System.Text;using Syst 阅读全文
posted @ 2017-09-18 20:57 刘振宇201612052458 阅读(140) 评论(0) 推荐(0) 编辑