コード例 #1
0
 //client form
 public GameForm(String hostIp, int hostPM)
 {
     InitializeComponent();
     this.DoubleBuffered = true;
     bp = new BricksPanel();
     initClient_Communication(hostIp, hostPM);
 }
コード例 #2
0
 //host form
 public GameForm(int hostPM)
 {
     InitializeComponent();
     this.DoubleBuffered = true;
     bp = new BricksPanel();
     initHost_Communication(hostPM);
 }