I have a very simple problem, how can I run this function after click the button:
private void button1_Click(object sender, EventArgs e)
{
my_function();
}
public void my_function()
{
while(1){
//////something
richTextBox1.Text += "something.....";
if(a==b)paint_something(val1,val2);
///something
}
}
I wanna draw something and write to textbox in the same time?
thx 4 help