Пример #1
0
 private void afterbusca()
 {
     bsOrcamento.DataSource = TCN_Orcamento.Buscar(vCd_Empresa, vId_Orcamento, string.Empty, string.Empty,
                                                   string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, null);
     bsOrcamento_PositionChanged(this, new EventArgs());
     bsOrcamento.ResetCurrentItem();
 }
Пример #2
0
 private void afterBusca()
 {
     //buscar orcamento/itens
     bsOrcamento.DataSource = TCN_Orcamento.Buscar(cOrcamento.Cd_endereco,
                                                   cOrcamento.Id_orcamentostr,
                                                   cOrcamento.Nr_versaostr,
                                                   string.Empty,
                                                   string.Empty,
                                                   string.Empty,
                                                   string.Empty,
                                                   string.Empty,
                                                   "'H'",
                                                   null);
     bsOrcamento_PositionChanged(this, new EventArgs());
 }
Пример #3
0
 private void afterBusca()
 {
     bsOrcamento.DataSource = TCN_Orcamento.Buscar(cd_empresa.Text,
                                                   id_orcamento.Text,
                                                   nr_versao.Text,
                                                   cd_clifor.Text,
                                                   string.Empty,
                                                   //rbIni.Checked ? "I" : rbFin.Checked ? "F" :
                                                   string.Empty,
                                                   dt_ini.Text,
                                                   dt_fin.Text,
                                                   "= 'E'",
                                                   //st_projeto.Checked ? "= 'T'" : st_finalizado.Checked ? "= 'F'" : st_aprovadorep.Checked ? "= 'R' OR isnull(a.st_registro, 'A') = 'P' " : "= 'A' OR ISNULL(a.st_registro,'A') = 'N' ",
                                                   null);
     bsOrcamento_PositionChanged(this, new EventArgs());
     bsOrcamento.ResetCurrentItem();
 }
Пример #4
0
 private void afterBusca()
 {
     bsOrcamento.DataSource = TCN_Orcamento.Buscar(cd_empresa.Text, nr_orcamento.Text, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, null);
     bsOrcamento_PositionChanged(this, new EventArgs());
     bsOrcamento.ResetCurrentItem();
 }