예제 #1
0
        private void btnVerReferencia_Click(object sender, EventArgs e)
        {
            Int32 Codigo = Convert.ToInt32(cbbClientes.SelectedValue);
            frmListaFacturasPorCliente ListaDocumento = new frmListaFacturasPorCliente(Codigo, "Referencia");

            ListaDocumento.ShowDialog(this);
        }
예제 #2
0
 private void btnVerDocumento_Click(object sender, EventArgs e)
 {
     if (CodigoCliente.HasValue)
     {
         Int32 Codigo = Convert.ToInt32(CodigoCliente);
         frmListaFacturasPorCliente ListarDocumentos = new frmListaFacturasPorCliente(Codigo, "Referencia");
         ListarDocumentos.ShowDialog(this);
     }
 }
예제 #3
0
        private void btnVerDocumentos_Click(object sender, EventArgs e)

        {
            try
            {
                Int32 Codigo = Convert.ToInt32(cbbClientes.SelectedValue);
                frmListaFacturasPorCliente ListaDocumento = new frmListaFacturasPorCliente(Codigo, "Documento");
                ListaDocumento.ShowDialog(this);
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message);
            }
        }