TC-46 Switches to Invoking disabled groupbox in groupmanager example for proper cross thread operation

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2047 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2008-08-02 00:22:44 +00:00
parent 0c80ac6b6a
commit 09340efe47

View File

@@ -112,7 +112,11 @@ namespace groupmanager
{
if (login == LoginStatus.Success)
{
groupBox.Enabled = true;
BeginInvoke(
(MethodInvoker)delegate()
{
groupBox.Enabled = true;
});
}
else if (login == LoginStatus.Failed)
{