Last active
October 10, 2016 09:36
-
-
Save milk19873/df5b736a7e615dc83631af46baaa14e2 to your computer and use it in GitHub Desktop.
第4回プログラミング講座
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 HelloWorld | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
//「こんにちは」ボタンをクリックする動作 | |
this.textBox1.Text = "HelloWorld"; | |
} | |
private void button2_Click(object sender, EventArgs e) | |
{ | |
//「さようなら」ボタンをクリックする動作 | |
this.textBox1.Text = "GoodByeWorld"; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment