private void start_Click(object sender, EventArgs e) { Sound.PlaySE("se_buttonclick"); learn Learn = new learn(Auser); Learn.OnShow(); this.OnClose(true); }
public learn() { InitializeComponent(); Atimer.Tick += Atimer_Tick; Atimer.Interval = 25; Ale = this; Ahanzi = HanziIO.Read(Ahanzilist[i].Zi); this.hanziPictureBox1.Hanzi = Ahanzi; hanziPictureBox1.CorrectDrew += new BihuaHandler(OnCorrectDrew); hanziPictureBox1.WrongDrew += new BihuaHandler(OnWrongDrew); hanziPictureBox1.Completed += new BihuaHandler(OnCompleted); this.paraphrase.Text = Ahanzi.Info; this.infoLabel.Text = "已成功载入汉字 " + "'" + Ahanzi.Zi + "'"; }