private EnableGoButton ( bool enabled ) : void | ||
enabled | bool | |
return | void |
private void EnableGoButton(bool enabled)
{
if (m_formClosing)
return;
if (InvokeRequired)
{
BeginInvoke(new Action<bool>(EnableGoButton), enabled);
}
else
{
if (!m_operationStarted)
buttonGo.Enabled = enabled;
}
}