Exemple #1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            double x = 0, y = 0;
            x = Convert.ToDouble(TextBoxX.Text);
            y = Convert.ToDouble(TextBoxY.Text);

            KI3_Class_3 name = new KI3_Class_3();

            double rezult = 2 * KI3_Class_4.F4(x, y) + name.F3(x,y);
            Label3.Text = Convert.ToString(rezult);
        }
Exemple #2
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     try
     {
         int x = Int32.Parse(TextBox2.Text);
         int y = Int32.Parse(TextBox1.Text);
         KI3_Class_3 m3 = new KI3_Class_3();
         Label3.Text =(m3.F3(x,y)+2*KI3_Class_4.F4(x,y)).ToString();
     }
     catch (Exception ex)
     {
         Label3.Text = ex.Message;
     }
 }
Exemple #3
0
 public double Test()
 {
     KI3_Class_3 name = new KI3_Class_3();
     return name.F3(2, 3);
 }
Exemple #4
0
 public static int F4(int x, int y)
 {
     KI3_Class_3 cl3 = new KI3_Class_3();
     return 8 * cl3.F3(x, y) - 6;
 }