Exemple #1
0
        private void pictureBoxNuevoTelefono_Click(object sender, EventArgs e)
        {
            FormNuevoTelefono f = new FormNuevoTelefono(entitat.id);

            alta = true;
            f.ShowDialog();
        }
Exemple #2
0
 private void listBoxTelefons_DoubleClick(object sender, EventArgs e)
 {
     alta = true;
     try
     {
         int id_telef        = (int)listBoxTelefons.SelectedValue;
         FormNuevoTelefono f = new FormNuevoTelefono(id_telef, true);
         f.Show();
     }
     catch (Exception)
     {
     }
 }