1. Este site usa cookies. Ao continuar a usar este site está a concordar com o nosso uso de cookies. Saber Mais.

Calculadora

Discussão em 'Programação' iniciada por ricamerica, 24 de Novembro de 2008. (Respostas: 1; Visualizações: 595)

  1. caros colegas e amigos eu para este trabalho tentei elaborar uma calculadora que atravez de 1 unica textbox elaborace as contas basicas mas o meu codigo nao funciona o codigo é o seguinte:
    Código:
     
     
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    namespace WindowsFormsApplication1
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]partial[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]class[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]Form1[/COLOR][/SIZE][SIZE=2] : [/SIZE][SIZE=2][COLOR=#2b91af]Form[/COLOR][/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2] Form1()[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]InitializeComponent();[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][SIZE=2] y;[/SIZE]
    [SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] z;[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] Form1_Load([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#2b91af]MessageBox[/COLOR][/SIZE][SIZE=2].Show([/SIZE][SIZE=2][COLOR=#a31515]"Bem Vindo … calculadora"[/COLOR][/SIZE][SIZE=2], [/SIZE][SIZE=2][COLOR=#a31515]"Calculadora!!!"[/COLOR][/SIZE][SIZE=2]);[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1;[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2;[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] res;[/SIZE]
     
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button1_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"1"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button10_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"2"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button9_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"3"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button8_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"4"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button7_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"5"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button6_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"6"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button5_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"7"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button4_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"8"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button3_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"9"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button2_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]"0"[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button12_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]tbx01.Text += [/SIZE][SIZE=2][COLOR=#a31515]","[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2]}[/SIZE]
     
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button20_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(tbx01.Text);[/SIZE]
    [SIZE=2]tbx01.Text = [/SIZE][SIZE=2][COLOR=#a31515]""[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(tbx01.Text);[/SIZE]
    [SIZE=2]res = N1 + N2;[/SIZE]
    [SIZE=2]}[/SIZE]
     
     
     
     
     
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button13_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(tbx01.Text);[/SIZE]
    [SIZE=2]tbx01.Text = [/SIZE][SIZE=2][COLOR=#a31515]""[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] outcome; [/SIZE][SIZE=2][COLOR=#008000]// necessario para mostrar o resultado[/COLOR][/SIZE]
    [SIZE=2]outcome = N1 + N2;[/SIZE]
    [SIZE=2]tbx01.Update = outcome.ToString();[/SIZE]
    [SIZE=2][COLOR=#008000]//Rbox.Text = outcome.ToString();[/COLOR][/SIZE]
    [SIZE=2][COLOR=#008000]//Xbox.Text = tbx01.Text + " + " + tbx01.Text + " = " + outcome.ToString();[/COLOR][/SIZE]
    [SIZE=2][COLOR=#008000]/*tbx01.Clear();*/[/COLOR][/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#008000]/* Para ser possivel calcular dois valores em caixas de texto ‚ necess rio converter os valores,[/COLOR][/SIZE]
    [SIZE=2][COLOR=#008000]‚ presiso usar o m‚todo Parse, pois uma caixa de texto ‚ um conjunto de caracteres e deve ser[/COLOR][/SIZE]
    [SIZE=2][COLOR=#008000]convertido para int (inteiro) ou outro tipo, como double. Declarei double por ser mais[/COLOR][/SIZE]
    [SIZE=2][COLOR=#008000]abrangente do que o int.[/COLOR][/SIZE]
    [SIZE=2][COLOR=#008000]*/[/COLOR][/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button20_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(tbx01.Text);[/SIZE]
    [SIZE=2]tbx01.Text = [/SIZE][SIZE=2][COLOR=#a31515]""[/COLOR][/SIZE][SIZE=2];[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] outcome; [/SIZE][SIZE=2][COLOR=#008000]// necessario para mostrar o resultado[/COLOR][/SIZE]
    [SIZE=2]outcome = N1 + N2;[/SIZE]
    [SIZE=2]Rbox.Text = outcome.ToString();[/SIZE]
    [SIZE=2]Xbox.Text = tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" + "[/COLOR][/SIZE][SIZE=2] + tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" = "[/COLOR][/SIZE][SIZE=2] + outcome.ToString();[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button14_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(Tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(Tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] outcome;[/SIZE]
    [SIZE=2]outcome = N1 - N2;[/SIZE]
    [SIZE=2]Rbox.Text = outcome.ToString();[/SIZE]
    [SIZE=2]Xbox.Text = Tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" - "[/COLOR][/SIZE][SIZE=2] + Tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" = "[/COLOR][/SIZE][SIZE=2] + outcome.ToString();[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button21_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(Tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(Tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] outcome;[/SIZE]
    [SIZE=2]outcome = N1 * N2;[/SIZE]
    [SIZE=2]Rbox.Text = outcome.ToString();[/SIZE]
    [SIZE=2]Xbox.Text = Tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" x "[/COLOR][/SIZE][SIZE=2] + Tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" = "[/COLOR][/SIZE][SIZE=2] + outcome.ToString();[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button19_Click([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N1 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(Tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] N2 = [/SIZE][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2].Parse(Tbx01.Text);[/SIZE]
    [SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][SIZE=2] outcome;[/SIZE]
    [SIZE=2]outcome = N1 / N2;[/SIZE]
    [SIZE=2]Rbox.Text = outcome.ToString();[/SIZE]
    [SIZE=2]Xbox.Text = Tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" / "[/COLOR][/SIZE][SIZE=2] + Tbx01.Text + [/SIZE][SIZE=2][COLOR=#a31515]" = "[/COLOR][/SIZE][SIZE=2] + outcome.ToString();[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] tbx02_TextChanged([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]}[/SIZE]
    [SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] button13_Click_1([/SIZE][SIZE=2][COLOR=#0000ff]object[/COLOR][/SIZE][SIZE=2] sender, [/SIZE][SIZE=2][COLOR=#2b91af]EventArgs[/COLOR][/SIZE][SIZE=2] e)[/SIZE]
    [SIZE=2]{[/SIZE]
    [SIZE=2]}[/SIZE]
     
     
     
     
     
    [SIZE=2]}[/SIZE]
    [SIZE=2]}[/SIZE]
     
      
    se me pudesem ajudar agradecia. obrigado

    ja agora o codigo do gformulario é:

    Código:
    [SIZE=2][COLOR=#0000ff]namespace[/COLOR][/SIZE][SIZE=2][COLOR=#000000] WindowsFormsApplication1[/COLOR]
    {
    [/SIZE][SIZE=2][COLOR=#0000ff]partial[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]class[/COLOR][/SIZE][SIZE=2][COLOR=#2b91af]Form1
    [/COLOR][/SIZE][SIZE=2]{
    [/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]<summary>
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#008000] Required designer variable.
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]</summary>
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.ComponentModel.[/SIZE][SIZE=2][COLOR=#2b91af]IContainer[/COLOR][/SIZE][SIZE=2] components = [/SIZE][SIZE=2][COLOR=#0000ff]null[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]<summary>
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#008000] Clean up any resources being used.
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]</summary>
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]<param name="disposing">[/COLOR][/SIZE][SIZE=2][COLOR=#008000]true if managed resources should be disposed; otherwise, false.[/COLOR][/SIZE][SIZE=2][COLOR=#808080]</param>
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]protected[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]override[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] Dispose([/SIZE][SIZE=2][COLOR=#0000ff]bool[/COLOR][/SIZE][SIZE=2] disposing)
    {
    [/SIZE][SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][SIZE=2] (disposing && (components != [/SIZE][SIZE=2][COLOR=#0000ff]null[/COLOR][/SIZE][SIZE=2]))
    {
    components.Dispose();
    }
    [/SIZE][SIZE=2][COLOR=#0000ff]base[/COLOR][/SIZE][SIZE=2].Dispose(disposing);
    }
    [/SIZE][SIZE=2][COLOR=#0000ff]#region[/COLOR][/SIZE][SIZE=2][COLOR=#000000] Windows Form Designer generated code[/COLOR]
    [/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]<summary>
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#008000] Required method for Designer support - do not modify
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#008000] the contents of this method with the code editor.
    [/COLOR][/SIZE][SIZE=2][COLOR=#808080]///[/COLOR][/SIZE][SIZE=2][COLOR=#808080]</summary>
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] InitializeComponent()
    {
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]TextBox[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13 = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2]();
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].SuspendLayout();
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button1
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](30, 108);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button1"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.TabIndex = 0;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.Text = [/SIZE][SIZE=2][COLOR=#a31515]"1"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button2
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](30, 252);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button2"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.TabIndex = 1;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.Text = [/SIZE][SIZE=2][COLOR=#a31515]"0"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button3
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](142, 203);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button3"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.TabIndex = 2;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.Text = [/SIZE][SIZE=2][COLOR=#a31515]"9"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button4
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](86, 203);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button4"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.TabIndex = 3;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.Text = [/SIZE][SIZE=2][COLOR=#a31515]"8"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button5
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](30, 203);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button5"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.TabIndex = 4;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.Text = [/SIZE][SIZE=2][COLOR=#a31515]"7"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button6
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](142, 153);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button6"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.TabIndex = 5;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.Text = [/SIZE][SIZE=2][COLOR=#a31515]"6"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button7
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](86, 153);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button7"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.TabIndex = 6;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.Text = [/SIZE][SIZE=2][COLOR=#a31515]"5"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button8
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](30, 153);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button8"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.TabIndex = 7;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.Text = [/SIZE][SIZE=2][COLOR=#a31515]"4"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button9
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](142, 108);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button9"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.TabIndex = 8;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.Text = [/SIZE][SIZE=2][COLOR=#a31515]"3"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button10
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](86, 108);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button10"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.TabIndex = 9;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.Text = [/SIZE][SIZE=2][COLOR=#a31515]"2"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button11
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](142, 252);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button11"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.TabIndex = 10;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.Text = [/SIZE][SIZE=2][COLOR=#a31515]"="[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button12
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](86, 252);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button12"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.TabIndex = 11;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.Text = [/SIZE][SIZE=2][COLOR=#a31515]"."[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button14
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](296, 153);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button14"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.TabIndex = 13;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.Text = [/SIZE][SIZE=2][COLOR=#a31515]"-"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button19
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](350, 153);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button19"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.TabIndex = 18;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.Text = [/SIZE][SIZE=2][COLOR=#a31515]"\\"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button20
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](350, 111);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button20"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.TabIndex = 19;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.Text = [/SIZE][SIZE=2][COLOR=#a31515]"+"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20_Click);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button21
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](296, 111);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button21"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](32, 28);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.TabIndex = 20;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.Text = [/SIZE][SIZE=2][COLOR=#a31515]"*"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// tbx01
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](30, 37);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01.Name = [/SIZE][SIZE=2][COLOR=#a31515]"tbx01"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](144, 20);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01.TabIndex = 21;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// button13
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.Location = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Point[/COLOR][/SIZE][SIZE=2](296, 203);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.Name = [/SIZE][SIZE=2][COLOR=#a31515]"button13"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.Size = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](31, 27);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.TabIndex = 22;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.Text = [/SIZE][SIZE=2][COLOR=#a31515]"C"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.UseVisualStyleBackColor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13.Click += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13_Click_1);
    [/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// Form1
    [/COLOR][/SIZE][SIZE=2][COLOR=#008000]// 
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].AutoScaleDimensions = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]SizeF[/COLOR][/SIZE][SIZE=2](6F, 13F);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].AutoScaleMode = System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]AutoScaleMode[/COLOR][/SIZE][SIZE=2].Font;
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].ClientSize = [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.Drawing.[/SIZE][SIZE=2][COLOR=#2b91af]Size[/COLOR][/SIZE][SIZE=2](576, 318);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button13);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].tbx01);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button21);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button20);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button19);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button14);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button12);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button11);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button10);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button9);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button8);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button7);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button6);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button5);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button4);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button3);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button2);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Controls.Add([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].button1);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Name = [/SIZE][SIZE=2][COLOR=#a31515]"Form1"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Text = [/SIZE][SIZE=2][COLOR=#a31515]"Form1"[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].UseWaitCursor = [/SIZE][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][SIZE=2];
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Load += [/SIZE][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][SIZE=2] System.[/SIZE][SIZE=2][COLOR=#2b91af]EventHandler[/COLOR][/SIZE][SIZE=2]([/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].Form1_Load);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].ResumeLayout([/SIZE][SIZE=2][COLOR=#0000ff]false[/COLOR][/SIZE][SIZE=2]);
    [/SIZE][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][SIZE=2].PerformLayout();
    }
    [/SIZE][SIZE=2][COLOR=#0000ff]#endregion
    [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button1;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button2;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button3;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button4;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button5;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button6;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button7;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button8;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button9;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button10;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button11;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button12;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button14;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button19;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button20;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button21;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]TextBox[/COLOR][/SIZE][SIZE=2] tbx01;
    [/SIZE][SIZE=2][COLOR=#0000ff]private[/COLOR][/SIZE][SIZE=2] System.Windows.Forms.[/SIZE][SIZE=2][COLOR=#2b91af]Button[/COLOR][/SIZE][SIZE=2] button13;
    }
    }
    
    [/SIZE]  
     
    Última edição pelo moderador: 24 de Novembro de 2008
  2. problema resolvido

    o problema esta resolvido quando acabar o codigo mando-o ok????

    aqui esta a resoluçao:

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    namespace WindowsFormsApplication1
    {
    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
    }
    public string y;
    public double z;
    private void Form1_Load(object sender, EventArgs e)
    {
    MessageBox.Show("Bem Vindo … calculadora", "Calculadora!!!");
    }
    double N1;
    double N2;
    double res;
    char op;

    private void button1_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "1";
    }
    private void button10_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "2";
    }
    private void button9_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "3";
    }
    private void button8_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "4";
    }
    private void button7_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "5";
    }
    private void button6_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "6";
    }
    private void button5_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "7";
    }
    private void button4_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "8";
    }
    private void button3_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "9";
    }
    private void button2_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    "0";
    }
    private void button12_Click(object sender, EventArgs e)
    {
    tbx01.Text +=
    ",";
    }

    private void button20_Click(object sender, EventArgs e)
    {
    N1 =
    double.Parse(tbx01.Text);
    op =
    '+';
    tbx01.Text =
    " ";

    }

    /* Para ser possivel calcular dois valores em caixas de texto ‚ necess rio converter os valores,
    ‚ presiso usar o m‚todo Parse, pois uma caixa de texto ‚ um conjunto de caracteres e deve ser
    convertido para int (inteiro) ou outro tipo, como double. Declarei double por ser mais
    abrangente do que o int.
    */

    private void button11_Click(object sender, EventArgs e)
    {
    N2 =
    double.Parse(tbx01.Text);
    switch (op)
    {
    case '+': tbx01.Text = Convert.ToString(N1 + N2); break;
    case '-': tbx01.Text = Convert.ToString(N1 - N2); break;
    case '/': tbx01.Text = Convert.ToString(N1 / N2); break;
    case '*': tbx01.Text = Convert.ToString(N1 * N2); break;

    }







    }
    private void button21_Click(object sender, EventArgs e)
    {
    N1 =
    double.Parse(tbx01.Text);
    op =
    '*';
    tbx01.Text =
    "";
    }
    private void button14_Click(object sender, EventArgs e)
    {
    N1 =
    double.Parse(tbx01.Text);
    op =
    '-';
    tbx01.Text =
    "";
    }
    private void button19_Click(object sender, EventArgs e)
    {
    N1 =
    double.Parse(tbx01.Text);
    op =
    '/';
    tbx01.Text =
    "";
    }
    }
    }
     
    Última edição: 25 de Novembro de 2008

Partilhar esta Página