private void FormLogin_Load(object sender, EventArgs e) { // Set database programatically AppDomain.CurrentDomain.SetData("DataDirectory", Environment.GetFolderPath(Environment.SpecialFolder.Desktop)); Variaveis.prepararImagens(); Variaveis.insertsIniciais(); }