示例#1
0
        private void iPConfigToolStripMenuItem_Click(object sender, EventArgs e)
        {
            input_ip_box iib = new input_ip_box(IpAdd);

            if (DialogResult.OK == iib.ShowDialog())
            {
                IpAdd        = iib.get_ip();
                reply        = IpAddress.Send(IPAddress.Parse(iib.get_ip()));
                label10.Text = IpAdd;
            }
        }
示例#2
0
        public Form1()
        {
            InitializeComponent();

            _mjpeg             = new MjpegDecoder();
            _mjpeg.FrameReady += mjpeg_FrameReady;

            input_ip_box iib = new input_ip_box();

            if (DialogResult.OK == iib.ShowDialog())
            {
                pi_ip       = iib.get_ip();
                label1.Text = pi_ip;
            }
        }