private void JanelasRecebimento(string formaPgto) { TelaReceber.Refresh(); if (!Recebimentos) { return; } if (!CheckCaixa()) { return; } TelaReceber.Visible = true; lTipo.Text = formaPgto; valor.Select(); valor.Text = ""; parcelas.Text = ""; iniciar.Text = ""; switch (formaPgto) { case "Dinheiro": label5.Visible = false; taxas.Visible = false; label9.Visible = false; Info1.Visible = false; parcelas.Visible = false; label8.Visible = false; Info2.Visible = false; iniciar.Visible = false; break; case "Cartão de Crédito": label5.Visible = true; taxas.Visible = true; label5.Location = new Point(15, 262); taxas.Location = new Point(15, 281); label9.Visible = true; Info1.Visible = true; parcelas.Visible = true; label8.Visible = true; Info2.Visible = true; iniciar.Visible = true; break; case "Cartão de Débito": label5.Visible = true; taxas.Visible = true; label5.Location = label9.Location; taxas.Location = parcelas.Location; label9.Visible = false; Info1.Visible = false; parcelas.Visible = false; label8.Visible = false; Info2.Visible = false; iniciar.Visible = false; break; case "Cheque": case "Crediário": case "Boleto": label5.Visible = false; taxas.Visible = false; label9.Visible = true; Info1.Visible = true; parcelas.Visible = true; label8.Visible = true; Info2.Visible = true; iniciar.Visible = true; break; } valor.Text = PedidoModalDividirConta.ValorDividido <= 0 ? Validation.FormatPrice(_controllerTitulo.GetRestante(idPedido)) : Validation.FormatPrice(PedidoModalDividirConta.ValorDividido); }