slide1
Download
Skip this Video
Download Presentation
textBox1, …, textBox3

Loading in 2 Seconds...

play fullscreen
1 / 2

textBox1, …, textBox3 - PowerPoint PPT Presentation


  • 58 Views
  • Uploaded on

A  B. textBox1, …, textBox3. textBox4, …, textBox8. 雙按 (button1) ,並加入以下程式碼:. 文字轉數字. private void button1_Click (object sender, EventArgs e) { int a, b, c; textBox4.Text = textBox1.Text; textBox5.Text = textBox2.Text;

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' textBox1, …, textBox3' - thuong


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

AB

textBox1, …, textBox3

textBox4, …, textBox8

Visual C# 2008

slide2

雙按 (button1),並加入以下程式碼:

文字轉數字

private void button1_Click(object sender, EventArgs e)

{

int a, b, c;

textBox4.Text = textBox1.Text;

textBox5.Text = textBox2.Text;

a = int.Parse(textBox1.Text);

b = int.Parse(textBox2.Text);

c = a * b;

textBox3.Text = c.ToString();

textBox8.Text = textBox3.Text;

c = a * (b/10)*10;

textBox6.Text = c.ToString();

c = a * (b%10);

textBox7.Text = c.ToString();

}

數字轉文字

Visual C# 2008

ad