Ejemplo n.º 1
0
 public Caixa()
 {
     InitializeComponent();
     comboBoxigreja.Items.Clear();
     IgrejaNegocio igreja = new IgrejaNegocio();
     igreja.Obterigrejas().ForEach(delegate (string nome)
         {
             comboBoxigreja.Items.Add(nome);
         });
 }
Ejemplo n.º 2
0
        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);

            });
        }
Ejemplo n.º 3
0
 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);
     });
 }
Ejemplo n.º 4
0
        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);
            });
        }
Ejemplo n.º 5
0
        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);
            });
        }