Esempio n. 1
0
        private void myMenu_JoinGameClicked(object sender, JoinGameClickEventArgs e)
        {
            comm.UserRole = Communicator.ROLE.CLIENT;
            IPRequest ip = new IPRequest();

            ip.Owner     = this;
            ip.IPAccept += new EventHandler <ConnectClickedEventArgs>(ip_IPAccept);
            ip.ShowDialog();
        }
 private void OnJoinGameClicked(JoinGameClickEventArgs e)
 {
     JoinGameClicked(this, e);
 }
Esempio n. 3
0
 private void OnJoinGameClicked(JoinGameClickEventArgs e)
 {
     JoinGameClicked(this, e);
 }
 private void myMenu_JoinGameClicked(object sender, JoinGameClickEventArgs e)
 {
     comm.UserRole = Communicator.ROLE.CLIENT;
     IPRequest ip = new IPRequest();
     ip.Owner = this;
     ip.IPAccept += new EventHandler<ConnectClickedEventArgs>(ip_IPAccept);
     ip.ShowDialog();
 }