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