设计一个Windows应用程序 完成书中P11【例1-3】一个具有输入功能的Windows应用程序。 提交说明:代码

大学网课 已帮助 人

设计一个Windows应用程序,完成书中P11【例1-3】一个具有输入功能的Windows应用程序。 提交说明:代码以及运行结果的截图

设计一个Windows应用程序 完成书中P11【例1-3】一个具有输入功能的Windows应用程序。 提交说明:代码

热搜:公路工程施工的基本程序主要是完成从

回答

共1条回复

  • 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 Zuoye2{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { double c = Convert.ToInt32(textBox1.Text); double f = 9.0 / 5 * c + 32; textBox2.Text = f.ToString(); } }}