Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace WindowsFormsApplication3
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- }
- private void button1_Click(object sender, EventArgs e)
- {
- }
- public void Loc_ssh_loi()
- {
- string[] danh_sach_nhap_vao = sshvao.Text.Trim().Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
- for (int i = 0; i < danh_sach_nhap_vao.Length; i++)
- {
- //MessageBox.Show(" Đã thực hiện xong");
- string ssh = danh_sach_nhap_vao[i];
- if (string.IsNullOrEmpty(ssh) == false)
- {
- string[] ssh_nhap_vao = ssh.Split('|');
- if (ssh_nhap_vao.Length >3)
- {
- sshra.Text += ssh+Environment.NewLine;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment