Beispiel #1
0
 private void button3_Click_1(object sender, EventArgs e)
 {
     try
     {
         var    alumno = textBox1.Text;
         string aux    = string.Empty;
         this.Hide();
         //string name, string price, string teacher, string amount, string clasesTotal)
         ComprobantesAlumnos frm3 = new ComprobantesAlumnos(alumno);
         frm3.ShowDialog();
         this.Show();
     }
     catch
     {
     }
 }
Beispiel #2
0
 private void listView3_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         var alumno = listView3.SelectedItems[0].SubItems[0].Text;
         if (MessageBox.Show("Abrir los Recibos de " + alumno + "?", "Confirmar", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
         {
             string aux = string.Empty;
             this.Hide();
             //string name, string price, string teacher, string amount, string clasesTotal)
             ComprobantesAlumnos frm3 = new ComprobantesAlumnos(alumno);
             frm3.ShowDialog();
             this.Show();
         }
     }
     catch
     {
     }
 }