public Room(Multicast.networking network) { this.network = network; InitializeComponent(); help_button.MouseEnter += new EventHandler(help_MouseEnter); help_button.MouseLeave += new EventHandler(help_MouseLeave); exit_button.MouseEnter += new EventHandler(exit_MouseEnter); exit_button.MouseLeave += new EventHandler(exit_MouseLeave); send_button.MouseEnter += new EventHandler(send_MouseEnter); send_button.MouseLeave += new EventHandler(send_MouseLeave); }
public GuessPic() { InitializeComponent(); network = new Multicast.networking("224.0.1.78", 1305); network.start_receiving(); fb_login.MouseEnter += new EventHandler(fb_MouseEnter); fb_login.MouseLeave += new EventHandler(fb_MouseLeave); tw_login.MouseEnter += new EventHandler(tw_MouseEnter); tw_login.MouseLeave += new EventHandler(tw_MouseLeave); gp_login.MouseEnter += new EventHandler(gp_MouseEnter); gp_login.MouseLeave += new EventHandler(gp_MouseLeave); help_button.MouseEnter += new EventHandler(help_MouseEnter); help_button.MouseLeave += new EventHandler(help_MouseLeave); exit_button.MouseEnter += new EventHandler(exit_MouseEnter); exit_button.MouseLeave += new EventHandler(exit_MouseLeave); }