Example #1
0
 //---------------------------------------------
 public static bool Edit( VsqFile vsq ) {
   using ( TransposeEx d = new TransposeEx() ) {
     if ( d.ShowDialog() != DialogResult.OK ) {
       return false;
     } else {
       int step = (int)d.numUpDown.Value;
       if (step != 0) transpose( vsq, step );
       return true;
     }
   }
 }
Example #2
0
 //---------------------------------------------
 public static bool Edit(VsqFile vsq)
 {
     using (TransposeEx d = new TransposeEx()) {
         if (d.ShowDialog() != DialogResult.OK)
         {
             return(false);
         }
         else
         {
             int step = (int)d.numUpDown.Value;
             if (step != 0)
             {
                 transpose(vsq, step);
             }
             return(true);
         }
     }
 }