private void ButDrop_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.drop = true; SetParams(false); }
private void XTrack_Scroll(object sender, EventArgs e) { instrument = new Instrument(); instrument.zoom = true; instrument.zoomx = XTrack.Value; instrument.changeinstrument = true; SetParams(false); }
private void butObstacle_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.setter = true; SetParams(false); }
private void butPipe_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.pipe = true; SetParams(false); }
private void FileList_SelectedIndexChanged(object sender, EventArgs e) { instrument = new Instrument(); SetParams(true); }
private void butShowSurf_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.showsurf = true; SetParams(false); }
private void btnStep_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.step = true; SetParams(false); }
private void buttLift_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.forcelift = true; SetParams(false); }
private void butForceDown_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.forcedown = true; SetParams(false); }
private void butDelate_Click(object sender, EventArgs e) { instrument = new Instrument(); instrument.changeinstrument = true; instrument.remover = true; SetParams(false); }
public void SetInstrument(Instrument i) { if (i.showneed) { showneed = true; showsurf = false; } else if (i.showsurf) { showsurf = true; showneed = false; } else if (i.pause) { pause = !pause; } else if (i.zoom) { zoom = i.zoomx; } }