P
Pascal Schmidt-Volkmar
Hi there, in my calculator app the number buttons have (of course) almost
the same functionality. Therefore, I would like to store their value in the
tag number and read that tag number when any of those buttons is pressed.
But how does this work??
private void button3_Click(object sender, EventArgs e)
{
if sender.GetType() is button
{
read out its tag value and add it to calcWindow;
}
}
Thanks,
Pascal
the same functionality. Therefore, I would like to store their value in the
tag number and read that tag number when any of those buttons is pressed.
But how does this work??
private void button3_Click(object sender, EventArgs e)
{
if sender.GetType() is button
{
read out its tag value and add it to calcWindow;
}
}
Thanks,
Pascal