1. 26.
    0
    static void main()
    {
    application.run(new form1());
    }


    private void button1_click_1(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+1;
    }

    private void button2_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+2;

    }

    private void button3_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+3;
    }

    private void button4_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+4;
    }

    private void button5_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+5;
    }

    private void button6_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+6;
    }

    private void button7_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+7;
    }

    private void button8_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+8;
    }

    private void button9_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+9;
    }

    private void button11_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+0;
    }

    private void button13_click(object sender, system. eventargs e)
    {
    tut();
    islem='+';

    }
    private void tut()
    {
    i=double. parse(textbox1.text);
    textbox1.text="";
    }

    private void button14_click(object sender, system. eventargs e)
    {
    tut();
    islem='-';
    }

    private void button15_click(object sender, system. eventargs e)
    {
    tut();
    islem='*';
    }

    private void button16_click(object sender, system. eventargs e)
    {
    tut();
    islem='/';
    }

    private void button12_click(object sender, system. eventargs e)
    {
    j=double. parse(textbox1.text);
    textbox1.text="";
    double y=0;
    switch (islem)
    {
    case '+':
    y=i+j;
    break;
    case '-':
    y=i-j;
    break;
    case '*':
    y=i*j;
    break;
    case '/':
    y=i/j;
    break;
    }
    textbox1.text=y.tostring();



    }

    private void button10_click(object sender, system. eventargs e)
    {
    textbox1.text=textbox1.text+'.';
    }
    }
    }

    c# Akarrrr
    ···
   tümünü göster