Ignore:
Timestamp:
May 30, 2010, 6:32:44 PM (12 years ago)
Author:
Paul Lelgemann
Message:

o (probably) fixed bug with a locked P2P instance when storing large values
+ CrypP2P: Added event for connection state changes

File:
1 edited

Legend:

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

    r1527 r1537  
    5050            P2PEditorPresentation = this;
    5151
     52            P2PManager.OnP2PConnectionStateChangeOccurred += P2PManager_OnP2PConnectionStateChangeOccurred;
     53
    5254            InitializeComponent();
    5355
    5456            UpdateDisplay();
     57        }
     58
     59        private void P2PManager_OnP2PConnectionStateChangeOccurred(object sender, bool newState)
     60        {
     61            IsP2PConnected = newState;
    5562        }
    5663
Note: See TracChangeset for help on using the changeset viewer.