There is a little problem that I didnt understand why its happen.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ElSoft_FactuStocks
{
public partial class SplashScreen : Form
{
public SplashScreen()
{
InitializeComponent();
}
private void timer1_Tick(object sender, EventArgs e)
{
this.Close();
}
}
}
}
------------------------------
//the senha_entrada's form
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ElSoft_FactuStocks
{
public partial class Senha_entrada : Form
{
public Senha_entrada()
{
InitializeComponent();
}
private void Senha_entrada_Load(object sender, EventArgs e)
{
Senha_entrada Splash = new Senha_entrada();
Splash.Show();
}
}
}