示例#1
0
        void Preencher_Etiquetas()
        {
            Preencher.ComboBox(sexo_input, Tabela.Sexos, "sexo");
            Preencher.ComboBox(uf_input, Tabela.Estados, "estado");
            Preencher.ComboBox(registro_uf_input, Tabela.Estados, "estado");
            Preencher.ComboBox(cargo_input, Listar.Cargos.Todos, "titulo", "id");
            Preencher.ComboBox(especialidade_input, Listar.Especialidades.Todos, "titulo", "id");

            especialidade_input.SelectedValue = Buscar.Estabelecimento.EspecialidadeNenhuma;
        }
示例#2
0
        void Preencher_cargos_especialidades()
        {
            Preencher.ComboBox(cargo_default, Listar.Cargos.Todos, "titulo", "id");
            Preencher.ListBox(boxCargos, Listar.Cargos.Todos, "titulo", "id");

            Preencher.ComboBox(especialidade_default, Listar.Especialidades.Todos, "titulo", "id");
            Preencher.ListBox(boxEspecialidades, Listar.Especialidades.Todos, "titulo", "id");

            Atualizar_estabelecimento_Info();
        }
示例#3
0
        public Administracao()
        {
            InitializeComponent();

            Preencher.ComboBox(uf_input, Tabela.Estados, "estado");
            Preencher.ComboBox(abertura_input, Tabela.Horario.Geral, "hora");
            Preencher.ComboBox(fechamento_input, Tabela.Horario.Geral, "hora");
            Preencher.ComboBox(atendimento_input, Tabela.TempoDeAtendimento, "tempo");

            Preencher_dgv_funcionarios(null, null);
            Preencher_cargos_especialidades();
        }
示例#4
0
 void Preencher_agendamentos_search()
 {
     Preencher.ComboBox(agendamentos_search, Listar.Agendamentos.Datas(), "dia");
     agendamentos_search.SelectedValue = Datas.HojeFormatada;
 }