예제 #1
0
 private void submarineGame1_ShipClick(object sender, Lb_4.ShipPositionEventArgs e)
 {
     lbPositionShip.Text = "X = " + e.X + "; Y = " + e.Y;
 }
예제 #2
0
 private void submarineGame1_TorpedoClick(object sender, Lb_4.TorpedoPositionEventArgs e)
 {
     lbSpeedTorpedo.Text = e.Speed.ToString();
 }
예제 #3
0
 private void submarineGame1_Hit(object sender, Lb_4.TorpedoPositionEventArgs e)
 {
     score++;
     lbScore.Text = score.ToString();
 }