Esempio n. 1
0
 public static void OnFileMgrDrives(FileMgrDrivesEventArgs e)
 {
     if (FileMgrDrives != null)
     {
         FileMgrDrives(new object(), e);
     }
 }
Esempio n. 2
0
        public void onGetDrives(object o, FileMgrDrivesEventArgs e)
        {
            try
            {
                if (e.RemoteIP != RemoteIP)
                    return;

                string[] str = new string[3];
                str[0] = e._FileMgrDrives.Drive;
                str[1] = e._FileMgrDrives.Caption;
                str[2] = e._FileMgrDrives.type;
                ListViewItem itm = new ListViewItem(str, 1);
                listView1.Items.Add(itm);
            }catch{}
        }
Esempio n. 3
0
 public override void Run()
 {
     FileMgrDrivesEventArgs e1 = new FileMgrDrivesEventArgs(info, Client.RemoteEndPoint.ToString());
     FileMgrDrivesEvent.OnFileMgrDrives(e1);
     info = null; //clean memory
 }
Esempio n. 4
0
 public static void OnFileMgrDrives(FileMgrDrivesEventArgs e)
 {
     if (FileMgrDrives != null)
         FileMgrDrives(new object(), e);
 }