Pasar de calculadora normal a cientifica

Cerrado
chompiras Mensajes enviados 14 Fecha de inscripción jueves, 13 de noviembre de 2008 Estatus Miembro Última intervención jueves, 4 de diciembre de 2008 - 19 nov 2008 a las 18:44
 celso rosmeebrg - 27 sep 2013 a las 17:10
Hola,
Alguien me podria decir como le paso de calculadora normal a calculadora cientifica de windows?
Consulta también:

3 respuestas

Mira es facil abres calculadora en inicio, accesorios, calculadora.
Luego le das ver y te sale modo normal y modo cientifica....
Es todo.....
11
Necesiti un codigo fuente completo para crear una calculadora en C# 2005.
8
1-abrís la calculadora,pones ver y ahí te sale estándar o científica
2-antes de hacer perder el tiempo a la gente,mira un poquito.
3-corregí tu ortografía,analfabeta.
0
Necesito el codigo fuente en Windows Application de una calculadora tanto normal como cientifica
0
123 > anonimus
15 oct 2009 a las 01:59
ke eres bestia, ella necesita el CODIGO para CREAR la calculadora como aplicacion, no que un niño le diga algo que ya todos saben -,- lee un poquito ;) ignorante
0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication1
{
public partial class Form1 : Form
{

bool detectaoperacion = true;
string operacion;
double num1;
double num2;
double resultado;


public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{

}

private void cmd_punto_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = ".";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + ".";
}
}

private void cmd_mas_Click(object sender, EventArgs e)
{
operacion = "+";
detectaoperacion = true;
num1 = double.Parse(textBox1.Text);
}

private void cmd_menos_Click(object sender, EventArgs e)
{
operacion = "-";
detectaoperacion = true;
num1 = double.Parse(textBox1.Text);
}

private void cmd_por_Click(object sender, EventArgs e)
{
operacion = "*";
detectaoperacion = true;
num1 = double.Parse(textBox1.Text);
}

private void cmd_salir_Click(object sender, EventArgs e)
{
this.Close();
}

private void cmd_uno_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "1";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "1";
}
}

private void cmd_cero_Click(object sender, EventArgs e)
{
if(textBox1.Text == "0")
{
return;
}
else
{
textBox1.Text = textBox1.Text + "0";
}
}

private void cmd_dos_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "2";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "2";
}
}

private void cmd_tres_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "3";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "3";
}
}

private void cmd_cuatro_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "4";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "4";
}
}

private void cmd_cinco_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "5";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "5";
}
}

private void cmd_seis_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "6";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "6";
}
}

private void cmd_siete_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "7";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "7";
}
}

private void cmd_ocho_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "8";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "8";
}
}

private void cmd_nueve_Click(object sender, EventArgs e)
{
if (detectaoperacion)
{
textBox1.Text = "";
textBox1.Text = "9";
detectaoperacion = false;
}
else
{
textBox1.Text = textBox1.Text + "9";
}
}

private void cmd_entre_Click(object sender, EventArgs e)
{
operacion = "/";
detectaoperacion = true;
num1 = double.Parse(textBox1.Text);
}

private void cmd_C_Click(object sender, EventArgs e)
{
textBox1.Text = "";
textBox1.Focus();
}

private void cmd_igual_Click(object sender, EventArgs e)
{
num2 = double.Parse(textBox1.Text);
detectaoperacion = true;

switch (operacion)
{
case "/":
resultado = num1 / num2;
textBox1.Text = resultado.ToString();
break;

case "*":
resultado = num1 * num2;
textBox1.Text = resultado.ToString();
break;
case "-":
resultado = num1 - num2;
textBox1.Text = resultado.ToString();
break;
case "+":
resultado = num1 + num2;
textBox1.Text = resultado.ToString();
break;
}
}
}
}
0
El diseño es igual ala de windows espero i les sirva =)
0
necesito como unir la programación de visual basic con postgre, si me podrian mandar un codigo fuente se los voy agradecer enviar a mi correo sandraderymar@hotmail.com
-1