public Main() { InitializeComponent(); //settings initialize Program.fine_sin_amplitude = Program.fine_cos_amplitude = Program.coarse_sin_amplitude = Program.coarse_cos_amplitude = 1; Program.fine_sin_offeset = Program.fine_cos_offeset = Program.coarse_sin_offeset = Program.coarse_cos_offeset = 0; Program.fine_envelope = Program.coarse_envelope = 0; Program.fine_Angle_Offset = Program.coarse_Angle_Offset = 0; Program.zeros_angle = 0; Program.zeros_bit = 0; f1 = new verification_win(); f2 = new Calibration(); f3 = new parameter(); f4 = new ZeroPosition(); }
private void setUZPToolStripMenuItem_Click(object sender, EventArgs e) { f4 = new ZeroPosition(); f4.display = true; f4.Show(); }