예제 #1
0
 private void top5Gift_Click(object sender, EventArgs e)
 {
     if (this.semestre.Text == null || this.semestre.Text == "" || this.anio.Text == null || this.anio.Text == "")
     {
         MessageBox.Show("Debe elegir un semestre y un año");
     }
     else
     {
         Top5Form d = new Top5Form(new Top5GiftApp(), Int32.Parse(this.semestre.Text), Int32.Parse(this.anio.Text), "Top five de usuarios a los cuales se les acredito giftcards");
         d.Owner = this;
         d.Show();
     }
 }
예제 #2
0
 private void top5dev_Click(object sender, EventArgs e)
 {
     if (this.semestre.Text == null || this.semestre.Text == "" || this.anio.Text == null || this.anio.Text == "")
     {
         MessageBox.Show("Debe elegir un semestre y un año");
     }
     else
     {
         Top5Form d = new Top5Form(new Top5DevApp(), Int32.Parse(this.semestre.Text), Int32.Parse(this.anio.Text), null);
         d.Owner = this;
         d.Show();
     }
 }
예제 #3
0
 private void top5dev_Click(object sender, EventArgs e)
 {
     if (this.semestre.Text == null || this.semestre.Text == "" || this.anio.Text == null || this.anio.Text == "")
     {
         MessageBox.Show("Debe elegir un semestre y un año");
     }
     else
     {
         Top5Form d = new Top5Form(new Top5DevApp(), Int32.Parse(this.semestre.Text), Int32.Parse(this.anio.Text), null);
         d.Owner = this;
         d.Show();
     }
 }
예제 #4
0
        private void top5Gift_Click(object sender, EventArgs e)
        {
            if (this.semestre.Text == null || this.semestre.Text == "" || this.anio.Text == null || this.anio.Text == "")
            {
                MessageBox.Show("Debe elegir un semestre y un año");
            }
            else
            {

                Top5Form d = new Top5Form(new Top5GiftApp(), Int32.Parse(this.semestre.Text), Int32.Parse(this.anio.Text),"Top five de usuarios a los cuales se les acredito giftcards");
                d.Owner = this;
                d.Show();
            }
        }