Пример #1
0
 /// <summary>
 /// ��ָ��·��
 /// </summary>
 /// <param name="path">·��</param>
 /// <param name="lView">��ʾ������б���ͼ�ؼ�</param>
 /// <param name="imageHashtable">�ļ�ͼ��ļ�ֵ(��ϣ��)</param>
 public static void OpenDirectory(string path, ListView lView, Hashtable imageHashtable)
 {
     if (path == "")
         OpenRoot(lView, imageHashtable);
     else
     {
         ExplorerCode explorer = new ExplorerCode();
         explorer.Enter(path);
         ShowHostDirectory(explorer, lView, imageHashtable);
     }
 }
Пример #2
0
 /// <summary>
 /// �����ļ����ڵ���Ϣ(��ǰ·���µ��ļ����ļ���)
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="code"></param>
 private void sendDirectoryDetial(BaseCommunication sender, Code code)
 {
     DoubleCode tempcode = code as DoubleCode;
     if (tempcode != null)
     {
         if (tempcode.Body != "")
         {
             ExplorerCode explorer = new ExplorerCode();
             explorer.Enter(tempcode.Body);
             sender.SendCode(explorer);
         }
     }
 }