Exemplo n.º 1
0
        private void btnAjustar_Click(object sender, EventArgs e)
        {
            Servico servicoSelecionado = new Servico();

            servicoSelecionado = (dataGridViewAjusteServico.SelectedRows[0].DataBoundItem as Servico);
            FrmCadastroServico fcs = new FrmCadastroServico(EnumeradorServico.Alterar, servicoSelecionado);

            fcs.Show();
        }
Exemplo n.º 2
0
        private void toolStripButtonServicos_Click(object sender, EventArgs e)
        {
            FrmCadastroServico fcs = new FrmCadastroServico(EnumeradorServico.Inserir, null);

            fcs.MdiParent = this;
            fcs.Show();
        }
Exemplo n.º 3
0
        private void btnNovo_Click(object sender, EventArgs e)
        {
            FrmCadastroServico fas = new FrmCadastroServico(EnumeradorServico.Inserir,null);

            fas.Show();
        }