예제 #1
0
 private void StartButton_Click(Object Sender, EventArgs e)
 {
     if (IPComboBox.Text == ""){ MessageBox.Show("Please Select an IP"); return; }
     StartStopButtonToggle();
     Listen p_listen = new Listen(p_PRE);
     p_listen.HostIP = IPComboBox.Text;
     p_L1 = new Thread(new ThreadStart(p_listen.RunReciever));
     p_L1.Start();
 }
예제 #2
0
        private void StartButton_Click(Object Sender, EventArgs e)
        {
            if (IPComboBox.Text == "")
            {
                MessageBox.Show("Please Select an IP"); return;
            }
            StartStopButtonToggle();
            Listen p_listen = new Listen(p_PRE);

            p_listen.HostIP = IPComboBox.Text;
            p_L1            = new Thread(new ThreadStart(p_listen.RunReciever));
            p_L1.Start();
        }