public Caixa() { InitializeComponent(); comboBoxigreja.Items.Clear(); IgrejaNegocio igreja = new IgrejaNegocio(); igreja.Obterigrejas().ForEach(delegate (string nome) { comboBoxigreja.Items.Add(nome); }); }
public Registrar_Entrada() { IgrejaNegocio igreja = new IgrejaNegocio(); InitializeComponent(); tipo_TelaRegistrarEntrada_textbox.Items.Add("DÍZIMO"); tipo_TelaRegistrarEntrada_textbox.Items.Add("OFERTA"); tipo_TelaRegistrarEntrada_textbox.Items.Add("DOAÇÃO"); tipo_TelaRegistrarEntrada_textbox.Items.Add("VENDA"); igreja.Obterigrejas().ForEach(delegate (string nome) { igreja_TelaRegistrarEntrada_Textbox.Items.Add(nome); }); }
public Cadastrar_Evento() { InitializeComponent(); dataate.Value = DateTime.Today.Date; Datade.Value = DateTime.Today.Date; recorrencia_TelaCadastarEvento_textbox.Items.Add(recorrencias.Anual); recorrencia_TelaCadastarEvento_textbox.Items.Add(recorrencias.Mensal); recorrencia_TelaCadastarEvento_textbox.Items.Add(recorrencias.Bisemanal); recorrencia_TelaCadastarEvento_textbox.Items.Add(recorrencias.Semanal); recorrencia_TelaCadastarEvento_textbox.Items.Add(recorrencias.Diário); IgrejaNegocio igreja = new IgrejaNegocio(); igreja.Obterigrejas().ForEach(delegate (string nome) { comboBoxigreja.Items.Add(nome); }); }
public Registrar_Saida() { InitializeComponent(); tiposaidacombobox.Items.Add("PAGAMENTO DE CONTAS"); tiposaidacombobox.Items.Add("DOAÇÃO"); tiposaidacombobox.Items.Add("PAGAMENTO DE SALÁRIO"); tiposaidacombobox.Items.Add("COMPRA DE MERCADORIA"); tiposaidacombobox.Items.Add("COMPRA DE BENS"); IgrejaNegocio igreja = new IgrejaNegocio(); FornecedorNegocio fornecedor = new FornecedorNegocio(); igreja.Obterigrejas().ForEach(delegate (string nome) { igreja_TelaRegistrarSaida_Textbox.Items.Add(nome); }); fornecedor.Retornafornecedores().ForEach(delegate (string nome) { fornecedor_TelaRegistrarSaida_Textbox.Items.Add(nome); }); }
public ChurchAdmin___Camada_de_Negocio.Entidades_Negocio.MunicipioNegocio membro; //deve usar camada de negocio #endregion Fields #region Constructors public Cadastro_Membro() { InitializeComponent(); sexo_TelaCadastrarMembro_texbox.Items.Add("Masculino"); sexo_TelaCadastrarMembro_texbox.Items.Add("Feminino"); dtcadastro_TelaCadastrarMembro_texbox.Text = DateTime.Today.ToString("dd-MM-yyyy"); dt_batismo.Value = DateTime.Today.Date; CargoNegocio cargos = new CargoNegocio(); IgrejaNegocio igreja = new IgrejaNegocio(); igreja.Obterigrejas().ForEach(delegate (string nome) { comboBoxIgreja.Items.Add(nome); }); cargos.Obtercargos().ForEach(delegate (string nome) { comboboxCargo.Items.Add(nome); }); }