//--------------------------------------------- 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; } } }
//--------------------------------------------- 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); } } }