예제 #1
0
        private void MenuPingArchor_Click(object sender, RoutedEventArgs e)
        {
            var archor = DataGrid3.SelectedItem as UDPArchor;

            if (archor == null)
            {
                return;
            }
            var pingWnd = new PingWindow(archor.GetIp());

            pingWnd.Show();
        }
예제 #2
0
        public override IEnumerable <KeyValuePair <string, string> > GetLoadedOptionsPairs()
        {
            yield return(new KeyValuePair <string, string>("IP", Ip));

            yield return(new KeyValuePair <string, string>("TCP PORT", TcpPort.ToString()));

            yield return(new KeyValuePair <string, string>("HTTP PORT", HttpPort.ToString()));

            yield return(new KeyValuePair <string, string>("TIMEOUT", Timeout.ToString()));

            yield return(new KeyValuePair <string, string>("READ WINDOW", ReadWindow.ToString()));

            yield return(new KeyValuePair <string, string>("WRITE WINDOW", WriteWindow.ToString()));

            yield return(new KeyValuePair <string, string>("PING WINDOW", PingWindow.ToString()));
        }
예제 #3
0
        private void MenuPing_Click(object sender, RoutedEventArgs e)
        {
            var pingWnd = new PingWindow();

            pingWnd.Show();
        }