I am trying this but it doesn't work.
I want to change the range of the eclipse with "getal1".
this is the code:
private void panel1_Paint(object sender, PaintEventArgs e)
{
int getal1 = 0;
SolidBrush sldBrush1 = new SolidBrush(Color.Red);
Graphics tknn1 = panel1.CreateGraphics();
tknn1.FillEllipse(sldBrush1, 0, 0, getal1, getal1);
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
int getal1 = int.Parse(textBox1.Text);
textBox1.Text = getal1.ToString();
}