lab5, pt2
This commit is contained in:
22
Testing/TestProject/Form1.cs
Executable file
22
Testing/TestProject/Form1.cs
Executable file
@@ -0,0 +1,22 @@
|
||||
namespace TestProject
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void normalButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string privateString = "I\'m a private string, I don't get out much.";
|
||||
testLabel.Text = "Oh no! Please don't clear my text!";
|
||||
}
|
||||
|
||||
private void clearButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
testLabel.Text = "";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user