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; }
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(); }
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(); }
void Preencher_agendamentos_search() { Preencher.ComboBox(agendamentos_search, Listar.Agendamentos.Datas(), "dia"); agendamentos_search.SelectedValue = Datas.HojeFormatada; }