Exemplo n.º 1
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            using (InviteDialog invite = new InviteDialog())
            {
                invite.ShowDialog();

                if (invite.Port != -1)
                {
                    protocol.InvitePeer(new Peer(IPAddress.Parse(invite.IP), invite.Port));
                }
            }
        }
Exemplo n.º 2
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            using (InviteDialog invite = new InviteDialog())
            {
                invite.ShowDialog();

                if (invite.Port != -1)
                {
                    protocol.InvitePeer(new Peer(IPAddress.Parse(invite.IP), invite.Port));
                }
            }
        }