示例#1
0
 private void ButDrop_Click(object sender, EventArgs e)
 {
   instrument = new  Instrument();
   instrument.changeinstrument = true;
   instrument.drop = true;
   SetParams(false);
 }
示例#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);
 }
示例#3
0
    private void butObstacle_Click(object sender, EventArgs e)
    {
      instrument = new Instrument();
      instrument.changeinstrument = true;
      instrument.setter = true;
      SetParams(false);

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

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

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

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

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

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

    }
示例#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;
      }

    }
示例#12
0
 private void FileList_SelectedIndexChanged(object sender, EventArgs e)
 {
     instrument = new Instrument();
     SetParams(true);
 }