示例#1
0
        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";
        }
示例#2
0
 public Form1()
 {
     InitializeComponent();
     abbas = new optimizer();
 }