언어/C#

invoke sample

까망후니 2019. 3. 26. 17:50

if (this.log.InvokeRequired)

                        {

                            this.log.Invoke(new MethodInvoker(delegate ()

                            {

                                log.Text = log.Text + newNumbers + Environment.NewLine;                               

                            }));

                        }