M
Medium_NPC
Guest
Hi, I started learning/using Visual C# today.
I tried making a basic program where you click a button and then the text on that button changes to something else. However, when I run the program and click the button nothing happens.
This is my code:
namespace RBX_Exploit
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Button_Click(object sender, EventArgs e)
{
Button.Text = "CLICKED";
}
}
}
The "Enabled" property for the button is True. I can't figure out problem.
Continue reading...
I tried making a basic program where you click a button and then the text on that button changes to something else. However, when I run the program and click the button nothing happens.
This is my code:
namespace RBX_Exploit
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Button_Click(object sender, EventArgs e)
{
Button.Text = "CLICKED";
}
}
}
The "Enabled" property for the button is True. I can't figure out problem.
Continue reading...