コード例 #1
0
        private void RemotePaste_Execute(Object sender, ExecutedRoutedEventArgs e)
        {
            ServerTileUserControl tile = serverTiles[selectedIndex];

            tile.StartProgress();
            connection.RemotePaste();
        }
コード例 #2
0
        void connection_ServerTransferStarted(object sender, ServerTranferEventArgs e)
        {
            if (e.Position < 0 || e.Position >= serverTiles.Count)
            {
                Trace.TraceError("Posizione è fuori range. Pisition:{0} Length:{1}. In connection_ServerTransferStarted() ", e.Position, serverTiles.Count);
                return;
            }
            ServerTileUserControl tile = serverTiles[e.Position];

            tile.StartProgress();
        }