private void button2_Click(object sender, RoutedEventArgs e)
 {
     client = new ClientServer(ref mediaInfo);
     client.run();
     if (player == null)
     {
         danmuPlayer = new DanmuPlayer(ref dmkCurt, ref client, ref curtain);
         player      = new BitmapPlayer(ref image_control, ref form_container, ref client, ref window);
         audioPlayer = new WaveOutPlayer(ref client);
     }
 }
        private void button3_Click(object sender, RoutedEventArgs e)
        {
            //title = InputBox("What is the title of the music?",fileName+": Title","N/A");
            string ser_ip = Interaction.InputBox("Input Server IP Address:", "IP Address:", "N/A");

            client = new ClientOnly(ser_ip, ref mediaInfo);
            client.run();
            if (player == null)
            {
                danmuPlayer = new DanmuPlayer(ref dmkCurt, ref client, ref curtain);
                player      = new BitmapPlayer(ref image_control, ref form_container, ref client, ref window);
                audioPlayer = new WaveOutPlayer(ref client);
            }
        }