コード例 #1
0
 private void Radio_TCP_CheckedChanged(object sender, EventArgs e)
 {
     ConnectButton.Enabled      = true;
     m_TCPClient                = !m_TCPClient;
     Button_StartServer.Enabled = !Button_StartServer.Enabled;
     TextBox_Endpoint.Clear();
     TextBox_Endpoint.Text = UsefullToolz.GetIP();
     TextBox_Port.Clear();
     TextBox_Port.Text = "3000";
 }
コード例 #2
0
        private void radioButtonRadio_Radio_TCP_Checked(object sender, RoutedEventArgs e)
        {
            m_MulticastClient = false;
            m_TCPClient       = true;

            button_Connect.IsEnabled = true;


            GetServerButtonStatus(sender, e);


            textBox_Endpoint.Clear();
            textBox_Endpoint.Text = UsefullToolz.GetIP();
            textBox_Port.Clear();
            textBox_Port.Text = "3000";
        }