Ejemplo n.º 1
0
        /// <summary>
        ///   Carga los patrones
        /// </summary>
        /// <history>
        ///   [vku] 13/Jun/2016 Created
        /// </history>
        protected async void LoadPersonelBoss()
        {
            try
            {
                List <PersonnelShort> lstPersonelBoss = await BRPersonnel.GetPersonnelByRole("BOSS");

                cboocBoss.ItemsSource = lstPersonelBoss;
            }
            catch (Exception ex)
            {
                UIHelper.ShowMessage(ex);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Carga el combobox de Prs
        /// </summary>
        /// <history>
        /// [emoguel] created 05/05/2016
        /// </history>
        private async void LoadPrs()
        {
            try
            {
                List <PersonnelShort> lstPrs = await BRPersonnel.GetPersonnelByRole("PR");

                cmbPersonnel.ItemsSource = lstPrs;
            }
            catch (Exception ex)
            {
                UIHelper.ShowMessage(ex);
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        ///   Carga los administradores
        /// </summary>
        /// <history>
        ///   [vku] 13/Jun/2016 Created
        /// </history>
        protected async void LoadPersonelAdmin()
        {
            try
            {
                List <PersonnelShort> lstPersonelAdmin = await BRPersonnel.GetPersonnelByRole("ADMIN");

                cboocAdminUser.ItemsSource = lstPersonelAdmin;
            }
            catch (Exception ex)
            {
                UIHelper.ShowMessage(ex);
            }
        }