private void button1_Click(object sender, EventArgs e) { string code = richTextBox1.Text; abbas = new optimizer(code); richTextBox2.Text = abbas.kod; textBox1.Text = abbas.loopcounter().ToString() + " loops"; }
public Form1() { InitializeComponent(); abbas = new optimizer(); }