Exemplo n.º 1
0
 public Launcher()
 {
     //Initialize UI components
     InitializeComponent();
     //Define delegate and callback
     updateText = new recieveMessageCallback(this.logMessage);
     //Create a server based on the defined configs
     server = Loader.getServer();
     //Set the callback in the server so messages can be send back
     server.setRecieveMessageCallback(updateText);
     //Start the display
     display = new Display(glControl);
 }