//Methouds: private void Followerofuser() { AutoFollowerc followerc = new AutoFollowerc(); int num = 0; if (tbNumberOfFollower.Text.Length > 0) { num = Convert.ToInt32(tbNumberOfFollower.Text); } followerc.Start(num, Convert.ToInt32(sldSpeed.Value), "Followerofuser", tbSourcer.Text); }
private void Nested() { AutoFollowerc followerc = new AutoFollowerc(); int num = 0; if (Uri.IsWellFormedUriString(tbSourcer.Text, UriKind.RelativeOrAbsolute)) { if (tbNumberOfFollower.Text.Length > 0) { num = Convert.ToInt32(tbNumberOfFollower.Text); } followerc.Start(num, Convert.ToInt32(sldSpeed.Value), "Nested", tbSourcer.Text); } else { Debug.WriteLine("Nested error: is not url"); } }