메소드 호출, control.invoke 란 무엇입니까?무엇이 호출하고 있습니까?
프로그램에서 일반적으로 호출 무엇
예 :
MethodInvoker getValues = new MethodInvoker(delegate()
{
checkbox1Checked = checkbox1.Checked;
textBox6Text = textBox6.Text;
textBox7Text = textBox7.Text;
textBox3Text = textBox3.Text;
textBox1Text = textBox1.Text;
textBox4Text = textBox4.Text;
richTextBox1Text = richTextBox1.Text;
textBox5Text = textBox5.Text;
});
if (this.InvokeRequired)
{
this.Invoke(getValues);
}
else
{
getValues();
}
그리고 나는 또한 싶어 MethodInvoker 및 InvokeRequired가 무슨 뜻 알지?
http://stackoverflow.com/questions/14703698/c-invokedelegate에서 아주 좋은 답변보기 – Hlina