विधि invoke, 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