コード例 #1
0
ファイル: GameOver.cs プロジェクト: renato2110/Hangedman
 public GameOver(String message, String player, Game game, Landing landing)
 {
     InitializeComponent();
     this.message.Text = message;
     this.game         = game;
     this.landing      = landing;
     this.player       = player;
 }
コード例 #2
0
ファイル: Game.cs プロジェクト: renato2110/Hangedman
 public Game(String playerName, Landing landing)
 {
     this.server = new ServiceReference1.ECCI_GamePortClient();
     this.server.resetGame();
     this.landing = landing;
     InitializeComponent();
     if (!string.IsNullOrEmpty(playerName))
     {
         player_name_label.Text = playerName;
     }
     tries_count.Text = server.getTries();
     word_label.Text  = server.getWord();
 }
コード例 #3
0
ファイル: Records.cs プロジェクト: renato2110/Hangedman
 public Records(Landing landing)
 {
     InitializeComponent();
     this.landing = landing;
     this.fillTable();
 }