public void GetTeams()
        {
            if (!(_view is V_IT_Vong2_NhapDiem))
            {
                return;
            }
            //int year = DateTime.UtcNow.Year;
            teams = (new BLL()).GetTeams();
            V_IT_Vong2_NhapDiem view = _view as V_IT_Vong2_NhapDiem;

            view.IDDoi1 = teams[0].ID;
            view.IDDoi2 = teams[1].ID;
            view.IDDoi3 = teams[2].ID;

            //
            view.TenDoi1 = teams[0].Name;
            view.TenDoi2 = teams[1].Name;
            view.TenDoi3 = teams[2].Name;
        }
        public void InsertPointRound2(string teamId, int point)
        {
            if (!(_view is V_IT_Vong2_NhapDiem))
            {
                return;
            }
            //int year = DateTime.UtcNow.Year;
            //teams = (new BLL()).GetTeams();
            V_IT_Vong2_NhapDiem view = _view as V_IT_Vong2_NhapDiem;

            if ((new BLL()).InsertPointRound2(teamId, point))
            {
                MessageBox.Show("Nhap Diem Thanh Cong, " + teamId + ", " + point);
            }
            else
            {
                MessageBox.Show("Something Wrong");
            }
        }
 public App(V_IT_Vong2_NhapDiem view)
 {
     _view            = view;
     _controller      = new IT_Vong2NhapDiem_Controller(view);
     _view.Controller = _controller;
 }
 public IT_Vong2NhapDiem_Controller(V_IT_Vong2_NhapDiem view) : base(view)
 {
     view.Load += View_Load;
 }