Esempio n. 1
0
        private void CreareMatriceLocuri_Click(object sender, EventArgs e)
        {
            int    index = -1;
            Button b     = (Button)sender;

            index = Convert.ToInt32(b.Name.Substring(9, b.Name.Length - 9));
            Spectacol s = spectacolRepo.getSpectacole()[index];

            view.setMatriceLocuri(index, spectacolRepo.getBileteBySpectacol(s), MoveMatrice_Event, MatriceLeave_Event, Matrice_Click);
        }