private void vendaMoreButton_Click(object sender, EventArgs e)
        {
            vendaDetail = new Forms.Venda.VendaDetail();

            vendaDetail.Venda = this.Comissao.Venda;

            vendaDetail.ShowDialog(this);
        }
예제 #2
0
 private void moreButton_Click(object sender, EventArgs e)
 {
     if (this.Cheque.Venda != null)
     {
         vendaDetail       = new Forms.Venda.VendaDetail();
         vendaDetail.Venda = this.Cheque.Venda;
         vendaDetail.ShowDialog(this);
     }
 }
예제 #3
0
        private void transacoesDGV_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewRow rowSelected = transacoesDGV.SelectedRows[0];

            Library.CaixaTransacao transacao = Library.CaixaTransacaoBD.FindCaixaTransacaoById((long)rowSelected.Cells[0].Value);

            if (transacao.Venda != null)
            {
                vd       = new Forms.Venda.VendaDetail();
                vd.Venda = transacao.Venda;

                vd.ShowDialog(this);
            }
        }
예제 #4
0
        private void resultadoDGV_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewRow rowSelected = resultadoDGV.SelectedRows[0];

            Library.Venda venda = Library.VendaBD.FindVendaById((long)rowSelected.Cells[0].Value);

            if (venda != null)
            {
                sd       = new Forms.Venda.VendaDetail();
                sd.Venda = venda;

                sd.ShowDialog(this);
            }
        }