Ejemplo n.º 1
0
 private void ButDrop_Click(object sender, EventArgs e)
 {
   instrument = new  Instrument();
   instrument.changeinstrument = true;
   instrument.drop = true;
   SetParams(false);
 }
Ejemplo n.º 2
0
 private void XTrack_Scroll(object sender, EventArgs e)
 {
   instrument = new Instrument();
   instrument.zoom = true;
   instrument.zoomx = XTrack.Value;
   instrument.changeinstrument = true;
   SetParams(false);
 }
Ejemplo n.º 3
0
    private void butObstacle_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.setter = true;
      SetParams(false);

    }
Ejemplo n.º 4
0
    private void butPipe_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.pipe = true;
      SetParams(false);

    }
Ejemplo n.º 5
0
 private void FileList_SelectedIndexChanged(object sender, EventArgs e)
 {
   instrument = new Instrument();
   SetParams(true);
 }
Ejemplo n.º 6
0
    private void butShowSurf_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.showsurf = true;
      SetParams(false);

    }
Ejemplo n.º 7
0
    private void btnStep_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.step = true;
      SetParams(false);

    }
Ejemplo n.º 8
0
    private void buttLift_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.forcelift = true;
      SetParams(false);

    }
Ejemplo n.º 9
0
    private void butForceDown_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.forcedown = true;
      SetParams(false);

    }
Ejemplo n.º 10
0
    private void butDelate_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.remover = true;
      SetParams(false);

    }
Ejemplo n.º 11
0
    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;
      }

    }
Ejemplo n.º 12
0
 private void FileList_SelectedIndexChanged(object sender, EventArgs e)
 {
     instrument = new Instrument();
     SetParams(true);
 }