private void Imprimir() { int tipo_mov = 1; // rb_orcamento.Checked == true ? 0 : 1; int tipo_lanc = rb_orcamento.Checked == true ? 0 : 1; int cod_venda = int.Parse(tb_codigo.Text); Frm_Imp_CompVenda printOS = new Frm_Imp_CompVenda(cod_venda, tipo_mov, tipo_lanc, rb_orcamento.Checked == true ? "Orçamento" : "Relatório de Venda"); // "Venda"); printOS.Show(); }
private void imprimir_Click(object sender, EventArgs e) { int tipo_mov = rb_orcamento.Checked == true ? 0 : 1; int tipo_lanc = 1; int cod_venda = int.Parse(tb_codigo.Text); Frm_Imp_CompVenda printOS = new Frm_Imp_CompVenda(cod_venda, tipo_mov, tipo_lanc, "Relatório de Venda"); printOS.Show(); }
private void btn_imprimir_Click(object sender, EventArgs e) { int tipo_mov = 0; int tipo_lanc = 0; int cod_compra = int.Parse(tb_codigo.Text); Frm_Imp_CompVenda printOS = new Frm_Imp_CompVenda(cod_compra, tipo_mov, tipo_lanc, "Relatório de Compra"); printOS.Show(); }
private void Imprimir() { int tipo_mov = 0; int tipo_lanc = 0; int cod_compra = int.Parse(tb_codigo.Text); Frm_Imp_CompVenda printOS = new Frm_Imp_CompVenda(cod_compra, tipo_mov, tipo_lanc, "Relatório de Compra"); printOS.Show(); }