using System.Collections.Generic;
using System.Threading.Tasks;
namespace WindowsFormsApp3
public void Hasah(double a, double b)
public double Huwaah(double a, double b)
public void Zereg(int a , int y)
for (int i = 1; i <= b; i++)
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp3
public partial class Form1 : Form
private void button1_Click(object sender, EventArgs e)
Matimatics math5 = new Matimatics();
int x = int.Parse(textBox1.Text);
int y = int.Parse(textBox2.Text);
label1.Text = math5.total.ToString();
private void button2_Click(object sender, EventArgs e)
double x = double.Parse(textBox1.Text);
double y = double.Parse(textBox2.Text);
Matimatics math1 = new Matimatics();
label1.Text = math1.total.ToString();
private void button3_Click(object sender, EventArgs e)
double x = int.Parse(textBox1.Text);
double y = int.Parse(textBox2.Text);
Matimatics math2 = new Matimatics();
label1.Text = math2.total.ToString();
private void button4_Click(object sender, EventArgs e)
double x = int.Parse(textBox1.Text);
double y = int.Parse(textBox2.Text);
Matimatics math3 = new Matimatics();
double urdun = math3.Urjih();
label1.Text = urdun.ToString();
private void button5_Click(object sender, EventArgs e)
double x = int.Parse(textBox1.Text);
double y = int.Parse(textBox2.Text);
Matimatics math4 = new Matimatics();
double urdun = math4.Huwaah(x, y);
label1.Text = urdun.ToString();