C#
2020.08.03 06:26
textBox InvokeRequired
조회 수 36025 추천 수 0 댓글 1
if (txt_Output.InvokeRequired == true)
{
txt_Output.Invoke(new MethodInvoker(delegate () { txt_Output.AppendText(msg); }));
}
else
{
txt_Output.AppendText(msg);
}
{
Action action = () =>
{
dataGridView_잔고조회[8, i].Value = string.Format("{0:0.0000}", DNA_INDEX);
};
this.Invoke(action);
}
else
{
dataGridView_잔고조회[8, i].Value = string.Format("{0:0.0000}", DNA_INDEX);
}