Пример #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();
        }
Пример #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();
 }