private void Statut_Loading() { string caca = wait_string; bouton_1 = new Bouton(this, r1, font_texte, caca, marge, 0, Color.White, color_case_vide, font_manage._scale); _statut_bouton = Statut_Bouton.Attente_Verification; int height_loading = (int)(r1.Height / 2); _loading = new LoadingSprite(this, height_loading, new Vector2(r1.X + (r1.Width / 2 - font_texte.MeasureString(caca).X *font_manage._scale / 2 - height_loading), r1.Y + r1.Height / 2), Color.White); server.Check_Name(_name); }
private void Statut_Envoie() { string caca = wait_creation_string; bouton_1 = new Bouton(this, r1, font_texte, caca, marge, 0, Color.White, color_green, font_manage._scale * 0.8f); _statut_bouton = Statut_Bouton.Envoie_Confirmation; int height_loading = (int)(r1.Height / 4); _loading = new LoadingSprite(this, height_loading, new Vector2((float)(r1.X + (r1.Width * 0.1)), r1.Y + r1.Height / 2), Color.White); string side = (string)IsolatedStorageSettings.ApplicationSettings ["side"]; server.Nouveau_Joueur(_name, side); }
private void Statut_Already_Take() { bouton_1 = new Bouton(this, r1, font_texte, deja_pris_string, marge, 0, Color.White, color_red, font_manage._scale); _statut_bouton = Statut_Bouton.Deja_Pris; }
private void Statut_Bon() { bouton_1 = new Bouton(this, r1, font_texte, tap_confirm_string, marge, 0, Color.White, color_green, font_manage._scale); _statut_bouton = Statut_Bouton.Attente_Confirmation; }
private void Statut_Normal() { bouton_1 = new Bouton(this, r1, font_texte, check_string, marge, 0, Color.White, color_bouton, font_manage._scale); _statut_bouton = Statut_Bouton.Normal; }