using System;
using System.Windows.Forms;

namespace CalculatorApp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
// TextBox'tan verileri çek
double num1 = Convert.ToDouble(textBox1.Text);
double num2 = Convert.ToDouble(textBox2.Text);

// İşlemi gerçekleştir
double result = Math.Atan2(-num1 / num2, 1) * (180 / Math.PI);

// Sonucu Label'a yazdır
label1.Text = "Sonuç: " + result.ToString();
}
}
}

Dener misiniz? (ChatGPT)