예제 #1
0
 public void WSDZMove(int step)
 {
     if (isPowerOn && wsdBtn.ZRelBtn)
     {
         if (step >= 0)
         {
             for (int i = 0; i < step; i++)
             {
                 wsd.ZStepUp();
             }
         }
         else
         {
             for (int i = 0; i < -step; i++)
             {
                 wsd.ZStepDown();
             }
         }
     }
 }
예제 #2
0
 private void button20_Click(object sender, EventArgs e)
 {
     wsd.ZStepUp();
     RefreshData();
 }