Ignore:
Timestamp:
Jan 17, 2011, 11:37:46 AM (11 years ago)
Author:
kopal
Message:
  • multiple connections to the p2p network are now avoided
  • some design changes
File:
1 edited

Legend:

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

    r2348 r2358  
    107107            this.Username.Text = ((P2PEditorSettings)((P2PEditor)GetValue(P2PEditorProperty)).Settings).PeerName;
    108108            this.Worldname.Text = ((P2PEditorSettings)((P2PEditor)GetValue(P2PEditorProperty)).Settings).WorldName;
    109             this.Password.Password = ((P2PEditorSettings)((P2PEditor)GetValue(P2PEditorProperty)).Settings).Password;                   
     109            this.Password.Password = ((P2PEditorSettings)((P2PEditor)GetValue(P2PEditorProperty)).Settings).Password;
     110            if (this.IsP2PConnecting)
     111            {
     112                Storyboard storyboard = (Storyboard)FindResource("AnimateBigWorldIcon");
     113                storyboard.Begin();
     114            }
     115            else
     116            {
     117                Storyboard storyboard = (Storyboard)FindResource("AnimateBigWorldIcon");
     118                storyboard.Stop();
     119            }
    110120        }
    111121    }
Note: See TracChangeset for help on using the changeset viewer.