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

            alta = true;
            f.ShowDialog();
        }
コード例 #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)
     {
     }
 }