arkadaşlar bir form uygulaması yaptım hesap makinesi yaptım kodları şu;
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();
}
private void button1_Click(object sender, EventArgs e)
{
int a, b, c;
a = Convert.ToInt32(textBox1.Text);
b = Convert.ToInt32(textBox2.Text);
c = a + b;
textBox3.Text = (c + ToString());
}
private void button2_Click(object sender, EventArgs e)
{int a,b,c;
a = Convert.ToInt32(textBox1.Text);
b = Convert.ToInt32(textBox2.Text);
c = a*b;
Convert.ToInt32(c);
textBox3.Text = (c+ToString());
}
private void button3_Click(object sender, EventArgs e)
{
int a, b, c;
a = Convert.ToInt32(textBox1.Text);
b = Convert.ToInt32(textBox2.Text);
c = a / b;
textBox3.Text = (c + ToString());
}
private void button4_Click(object sender, EventArgs e)
{
int a, b, c;
a = Convert.ToInt32(textBox1.Text);
b = Convert.ToInt32(textBox2.Text);
c = a - b;
textBox3.Text = (c + ToString());
}
}
}
gelelim soruna sorunum herhangi bir işlem yaparken textBox3'e WindowsFormsApplication1.Form1, Text: Form1 yazıyor bu sorunu nasıl çözebilirim