Exemplo n.º 1
0
 public FormMainScreen(string idPlayer)
 {
     InitializeComponent();
     this.idPlayer = idPlayer;
     NewGameRequestManager.GetInstance(Convert.ToInt32(this.idPlayer));
     aTimer          = new System.Timers.Timer();
     aTimer.Elapsed += new ElapsedEventHandler(OnTimedEvent);
     aTimer.Interval = 1000;
     aTimer.Enabled  = true;
     this.Text       = "Tela Principal - Id: " + idPlayer;
     FormSkinManager.LoadMe();
 }
Exemplo n.º 2
0
 private void btnStartGameNow_Click(object sender, EventArgs e)
 {
     NewGameRequestManager.GetInstance(Convert.ToInt32(idPlayer)).enablePlaying();
 }