Kroxxy
Hectopat
- Katılım
- 31 Ocak 2019
- Mesajlar
- 74
Daha fazla
- Cinsiyet
- Erkek
Merhabalar. Bir otomasyon üzerinde çalışıyorum. En başta log in ekranı yapmadım. Şimdi log in ekranı eklemek istiyorum. Bir logo animasyonlu form sayfası oluşturdum ama logo gelip ekranın ortasında duruyor ve otomasyonun ana sayfasını açmasını ayarladığım halde açmıyor. Nasıl düzeltebilirim?
Kodları bu şekilde;
Kodları bu şekilde;
C#:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace StokTakip
{
public partial class Giris : Form
{
public Giris()
{
InitializeComponent();
}
bool islem = false;
private void timer1_Tick(object sender, EventArgs e)
{if(!islem)
{
this.Opacity += 0.009;
}
if(islem){
this.Opacity -= 0.009;
if(this.Opacity == 0) {
Stoktakip gtr = new Stoktakip();
timer1.Enabled= false;
gtr.Show();
}
}
}
}
}