private void button3_Click(object sender, EventArgs e)
        {
            criarLink link = new criarLink(decide, "");

            link.Show();
            link.FormClosed += (s, args) => GetAllnotes();
        }
 private void button4_Click(object sender, EventArgs e)
 {
     if (idToDelete == "")
     {
         MessageBox.Show("Selecione um link para atualizar!", "AVISO", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         criarLink link = new criarLink(decide, idToDelete);
         link.Show();
         link.FormClosed += (s, args) => GetAllnotes();
     }
 }