Exemplo n.º 1
0
        private void Fill()
        {
            StaffPositionsLogic positions = new StaffPositionsLogic(manager);
            StaffPosition position = positions.Get(Convert.ToInt32(id));
            if (position != null)
            {

                NameTB.Text = position.Name;
                ActiveCB.Checked = position.Active;
            }
            //StaffTeam team = teams.Get(Convert.ToInt32(id));
            //NameTB.Text = team.Name;
        }
Exemplo n.º 2
0
        private void Fill()
        {
            StaffPositionsLogic positions = new StaffPositionsLogic(manager);
            StaffPosition       position  = positions.Get(Convert.ToInt32(id));

            if (position != null)
            {
                NameTB.Text      = position.Name;
                ActiveCB.Checked = position.Active;
            }
            //StaffTeam team = teams.Get(Convert.ToInt32(id));
            //NameTB.Text = team.Name;
        }