private void FrmAdmin_FormClosed(object sender, FormClosedEventArgs e) { UserBLL.SetUserOffline(um); FrmGiris fg = new FrmGiris(); fg.Show(); }
private void timer1_Tick(object sender, EventArgs e) { pbSplash.Increment(2); if (pbSplash.Value == 100) { this.Hide(); FrmGiris fg = new FrmGiris(); fg.Show(); timer1.Stop(); } }