Changeset 2373


Ignore:
Timestamp:
Jan 18, 2011, 3:07:33 PM (10 years ago)
Author:
kopal
Message:

now guis are switched synchronously

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/P2PEditor/GUI/P2PEditorPresentation.xaml.cs

    r2372 r2373  
    7878            if (this.IsP2PConnecting || !this.IsP2PConnected)
    7979            {
    80                 Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(ShowConnectView));
     80                ShowConnectView();
    8181            }
    8282            else
    8383            {
    84                 Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(ShowActiveJobsView));
     84                ShowActiveJobsView();
    8585            }
    8686        }
     
    173173            if (this.IsP2PConnecting || !this.IsP2PConnected)
    174174            {
    175                 Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(ShowConnectView));
     175                ShowConnectView();
    176176            }
    177177            else
    178178            {
    179                 Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(ShowActiveJobsView));
     179               ShowActiveJobsView();
    180180            }
    181181        }
Note: See TracChangeset for help on using the changeset viewer.