tuan6956

Untitled

Aug 8th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.27 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace ssh_pro_checker
  12. {
  13.     public partial class Form1 : Form
  14.     {
  15.         public Form1()
  16.         {
  17.             InitializeComponent();
  18.         }
  19.  
  20.         private void Form1_Load(object sender, EventArgs e)
  21.         {
  22.  
  23.         }
  24.  
  25.         private void bt1_Click(object sender, EventArgs e)
  26.         {
  27.             string[] danh_sach_nhap_vao = txtdauvao.Text.Trim().Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
  28.             for (int i = 0; i <danh_sach_nhap_vao.Length; i++);
  29.             //MessageBox.Show(" Đã thực hiện xong");
  30.             string ssh = danh_sach_nhap_vao[i];
  31.             if (string.IsNullOrEmpty(ssh) == false)
  32.             {
  33.                 string [] ssh_nhap_vao=ssh.Split('|');
  34.                 if (ssh_nhap_vao.Length<3)
  35.                 {
  36.                     MessageBox.Show("ssh " + ssh + "là ssh lỗi");
  37.                 }
  38.             }
  39.  
  40.         }
  41.  
  42.         private void tacvu_SelectedIndexChanged(object sender, EventArgs e)
  43.         {
  44.             //if (tacvu.SelectedIndex == 0)
  45.             //{
  46.             //    MessageBox.Show(" Lọc SSH hư");
  47.             //}
  48.             //else if(tacvu.SelectedIndex ==1)
  49.             //{
  50.             //    MessageBox.Show(" Lọc bỏ các ssh trùng( cả ip, user, pass)");
  51.             //}
  52.             //else if (tacvu.SelectedIndex == 2)
  53.             //{
  54.             //    MessageBox.Show("Lọc bỏ các ssh trùng ip");
  55.             //}
  56.             //else if (tacvu.SelectedIndex == 3)
  57.             //{
  58.             //    MessageBox.Show("Check info ip 1 thread");
  59.             //}
  60.             //else if (tacvu.SelectedIndex == 4)
  61.             //{
  62.             //    MessageBox.Show("Check ssh live/died 1 thread");
  63.             //}
  64.             //else if (tacvu.SelectedIndex == 4)
  65.             //{
  66.             //    MessageBox.Show("Check ssh live/died 1 thread");
  67.             //}
  68.             //else if (tacvu.SelectedIndex == 5)
  69.             //{
  70.             //    MessageBox.Show("Xuất ssh ra file txt");
  71.             //}
  72.  
  73.         }
  74.     }
  75. }
Advertisement
Add Comment
Please, Sign In to add comment