예제 #1
0
 private void Timer1_Tick(object sender, EventArgs e)
 {
     if (this.Opacity == 0)
     {
         timer1.Stop();
         yapimcilar yap = new yapimcilar();
         yap.Visible = true;
         this.Close();
     }
     else
     {
         this.Opacity -= 0.025;
     }
 }
예제 #2
0
 private void Timer1_Tick(object sender, EventArgs e)
 {
     if (a == "anasayfa")
     {
         if (this.Opacity == 0)
         {
             timer1.Stop();
             this.Visible = false;
             ceviri cev = new ceviri();
             cev.Visible = true;
         }
         else
         {
             this.Opacity -= 0.025;
         }
     }
     else if (a == "yapimci")
     {
         if (this.Opacity == 0)
         {
             timer1.Stop();
             yapimcilar yap = new yapimcilar();
             yap.Visible = true;
             this.Close();
         }
         else
         {
             this.Opacity -= 0.025;
         }
     }
     else if (a == "ayarlar")
     {
         if (this.Opacity == 0)
         {
             timer1.Stop();
             ayarlar ayar = new ayarlar();
             ayar.Visible = true;
             this.Close();
         }
         else
         {
             this.Opacity -= 0.025;
         }
     }
 }