示例#1
0
 private void Jessie_timer_Tick(object sender, EventArgs e)
 {
     Jessie.Visible        = true;
     Jessie_answer.Visible = true;
     clues?.Invoke("button_call_to_a_friend");
     Jessie_timer.Stop();
 }
示例#2
0
 private void button_call_to_a_friend_Click(object sender, EventArgs e)
 {
     if (!call)
     {
         SoundPlayer call_sound = new SoundPlayer("../../sound/zvonok.wav");
         call_sound.Play();
         Jessie_timer.Start();
         (sender as Button).Image = Image.FromFile("../../Image/5.jpg");
         call = true;
     }
 }