private void buildChart_Click(object sender, EventArgs e) { long elapsedMilliseconds_nod, elapsedMilliseconds_binaryNod; int a = 100202; int b = 300202; //string orient = "Bar"; //string color = "Fire"; Nod.nod(a, b, out elapsedMilliseconds_nod); Nod.binaryNod(a, b, out elapsedMilliseconds_binaryNod); goBuildChart(elapsedMilliseconds_nod, elapsedMilliseconds_binaryNod); }
private void Solve2_Click(object sender, EventArgs e) { label1.Text = Convert.ToString(Nod.binaryNod(Convert.ToInt32(textBox1.Text), Convert.ToInt32(textBox2.Text))); }