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 Loc_SSH
{
public partial class Form1 : Form
{
MySSH my_SSH = new MySSH();
public Form1()
{
InitializeComponent();
}
private void label2_Click(object sender, EventArgs e)
{
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void bnKetqua_Click(object sender, EventArgs e)
{
String[] SSH_mang_moi = txtmoi.Text.Trim().Split(new string[]{Environment.NewLine},StringSplitOptions.None);
String[] SSH_mang_cu = txtcu.Text.Trim().Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
if (rdloctrungnhau.Checked == true)
{
txtKetqua.Text=string.Join(Environment.NewLine,my_SSH.SSH_dup(SSH_mang_moi));
}
else if (rdlocsshfilecuip.Checked==true)
{
MessageBox.Show("bạn chọn lọc ip");
}
else if (rdlocsshfilecuca.Checked == true)
{
MessageBox.Show("bạn chọn lọc ca");
}
}
}
}