Beispiel #1
0
 private void btn_ascolta_Click(object sender, RoutedEventArgs e)
 {
     if (flag == false)
     {
         Lbl_msg.Content        = "Server Avviato ";
         Lbl_msg.Foreground     = Brushes.Green;
         lbl_title.Foreground   = Brushes.Green;
         btn_ascolta.Background = Brushes.Green;
         btn_kick.Background    = Brushes.Red;
         btn_invia.Background   = Brushes.Green;
         mServer.In_Ascolto();
         live.Visibility      = Visibility.Visible;
         lbl_live.Visibility  = Visibility.Visible;
         lbl_live2.Visibility = Visibility.Visible;
         flag = true;
         lbl_server_chiuso.Visibility = Visibility.Hidden;
         lockinviasopra.Visibility    = Visibility.Hidden;
         img_lock.Visibility          = Visibility.Hidden;
     }
 }