public int GetDepthFromUser()
 {
     using (WikiFunctions.Controls.LevelNumber num = new WikiFunctions.Controls.LevelNumber())
     {
         if (num.ShowDialog() != DialogResult.OK)
         {
             return(-1);
         }
         return(num.Levels);
     }
 }
예제 #2
0
 public int GetDepthFromUser()
 {
     using (WikiFunctions.Controls.LevelNumber num = new WikiFunctions.Controls.LevelNumber())
     {
         if (num.ShowDialog() != DialogResult.OK) return -1;
         return num.Levels;
     }
 }