예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     AsignarLocker mostrar = new AsignarLocker(this,sesion,"",año_actual,semestre.ToString());
     mostrar.ShowDialog();
 }
예제 #2
0
        public void lockers_Click(object sender, EventArgs args)
        {
             
            for (int i = 0; i < lockers.Length; i++)
            {
                if (sender.Equals(lockers[i]))
                {
                    if (String.IsNullOrEmpty(lockers[i].est_nombre.ToString()))
                    {
                        if (!hist_act)
                        {
                            AsignarLocker mostrar = new AsignarLocker(this, sesion, lockers[i].lok_num.ToString(), año_actual, semestre.ToString());
                            mostrar.ShowDialog();

                        }
                    }
                    else
                    {
                        
                            locker_info a = new locker_info(lockers[i].est_nombre.ToString(), lockers[i].lok_inicio.ToString(), lockers[i].lok_num.ToString(), lockers[i].lok_sem);

                            a.ShowDialog();
                        

                    }
                }
            }

        }