private void button1_Click_3(object sender, EventArgs e) { if (arm == null) { return; } trajectory = arm.demoSinwave(); clockticks = 0; timer1.Enabled = true; }