Exemple #1
0
        void SetRemoteIp(object sender, EventArgs e)
        {
            SetRemoteIP setRemoteIp = new SetRemoteIP();

            setRemoteIp.SetRemoteIp(textBoxRemoteIp.Text);
            if (setRemoteIp.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            textBoxRemoteIp.Text = setRemoteIp.GetRemoteIp();
        }
Exemple #2
0
 void SetRemoteIp(object sender, EventArgs e)
 {
     SetRemoteIP setRemoteIp = new SetRemoteIP();
     setRemoteIp.SetRemoteIp(textBoxRemoteIp.Text);
     if (setRemoteIp.ShowDialog() != DialogResult.OK)
     {
         return;
     }
     textBoxRemoteIp.Text = setRemoteIp.GetRemoteIp();
 }