private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
sayi = double.Parse(textBox1.Text);
sayi = sayi * 2;
string a;
a = sayi.ToString();
textBox1.Text = a;
}
here's a little code.
when I enter a number and click on the checkbox,it multiplies the number by 2.
but when I toggle it, it does the same :D
I want the number back when I tick off the checkbox,what should I do?