public void Regiter() { mSRound.Play(); Console.Clear(); Graphic.Frame(); Graphic.WriteAt("CHAO MUNG BAN DA DEN VOI CHUONG TRINH", 11, 2); Graphic.WriteAt("CHIEC NON KI DIEU", 19, 3); Graphic.WriteAt("Ban vui long dang ki choi tai day", 13, 5); L1 : Graphic.WriteAt("Ten cua ban : ", 19, 9); plS.InPlayer(Console.ReadLine()); if (plS.Getname() == "") { Graphic.WriteAt("Ban chua dien ten . Xin vui long dien lai !", 10, 10); goto L1; } Graphic.WriteAt("Ban dang ki ten thanh cong.Moi ban chon chu de.", 7, 15); Graphic.WriteAt("Nhan enter de tiep tuc!", 17, 19); Console.ReadKey(); }
public static void FramePlay() { WriteAt("Nguoi choi la : ", 15, 5); WriteAt(pls.Getname(), 35, 5); WriteAt("Chu de : ", 15, 6); WriteAt(crS.GetTopic(), 25, 6); WriteAt("Goi y : ", 5, 10); WriteAt("Thong bao : ", 5, 16); WriteAt("Ket qua : ", 5, 19); WriteAt("▲", 23, 20); WriteAt("Tong Diem:", 63, 17); }