Exemplo n.º 1
0
        /// <summary>
        /// Obsluha pridani noveho pripojeni
        /// </summary>
        /// <param name="e"></param>
        void connectionAddedEventHandler(ConnectionAddedEventArgs e)
        {
            // pridej pripojeni do seznamu pripojeni
            Connection connection = e.Connection;

            connSource.Add(connection);
            MessageBox.Show("Connection added!");
        }
Exemplo n.º 2
0
 /// <summary>
 /// Obsluha pridani noveho pripojeni
 /// </summary>
 /// <param name="e"></param>
 void connectionAddedEventHandler(ConnectionAddedEventArgs e)
 {
     // pridej pripojeni do seznamu pripojeni
     Connection connection = e.Connection;
     connSource.Add(connection);
     MessageBox.Show("Connection added!");
 }