Professional Documents
Culture Documents
حاسوبة ج
حاسوبة ج
namespace WindowsFormsApplication46
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
double x;
char y;
double m;
private void button1_Click(object sender, EventArgs e)
{
{
int w = 1;
textBox1.Text = textBox1.Text + w.ToString();
}
}
private void button2_Click(object sender, EventArgs e)
{
DialogResult d= MessageBox.Show("م تحيات مع الحاسوبة اغالق تريد هل. " حالوة محمد, "Exit calculated",
MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (d == DialogResult.Yes)
this.Close();
}