Ejemplo n.º 1
0
        protected override bool novo_Insert_Registro()
        {
            teste();
            Hope_c.caixa.teste();
            teste
            HopeDataSet.CaixaRow row = Hope_c.localSet.Caixa.NewCaixaRow();

            row.ID_Colaborador    = Hope_c.colaborador._Logado._ID_Colaborador;
            row.Dia_Hora_Abertura = DateTime.Now.ToString();
            Hope_c.localSet.Caixa.Rows.Add(row);
            row       = Hope_c.localSet.Caixa.Rows[Hope_c.localSet.Caixa.Count - 1] as HopeDataSet.CaixaRow;
            _MeuCaixa = new Caixa_Ent_b()
            {
                _ID_Caixa       = row.ID_Caixa,
                _ID_Colaborador = row.ID_Colaborador,
                _Abertura       = row.Dia_Hora_Abertura
            };
            CaixaAberto = true;
            Hope_c.caixa.SituacaoCaixa = ListEnum.TipoSituacaoCaixa.Aberto;
            return(true);

            throw new NotImplementedException();
        }
Ejemplo n.º 2
0
 public CaixaRowChangeEvent(CaixaRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }