Пример #1
0
 public explorer_exchange(string host, string user, string pass, locale_explorer l_explorer, remote_explorer r_explorer)
 {
     this.host       = host;
     this.user       = user;
     this.l_explorer = l_explorer;
     this.r_explorer = r_explorer;
     this.scp_client = new ScpClient(host, user, pass);
     this.scp_client.Connect();
 }
Пример #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     l_explorer = new locale_explorer(@"C:\Users\" + System.Environment.UserName + @"\Desktop\", listBox1, listBox2);
     listBox1.MouseDoubleClick += l_explorer.locale_dir_double_click;
     listBox2.MouseDoubleClick += l_explorer.virtual_dir_double_click;
 }