private void button2_Click(object sender, EventArgs e) { Point p1 = new Point(q, 100); g1 = new GearZ_Rot(p1, q, 1.5, this, 1); q += 70; }
private void button1_Click(object sender, EventArgs e) { Point p1 = new Point(q, 100); q += 15; g1 = new GearZ(q + 1, Side.outside, p1, q / 2, 1.5, this); }