示例#1
0
 public DirectoryBrowser()
 {
     try
     {
         m_CurrentDir       = null;
         m_curSelection     = new Selection();
         m_Searcher         = new FileHatchery.Algorithm.StupidSearcher();
         onChangeDirectory += delegate(object obj, EventArgs e)
         {
             m_curSelection.clear();
         };
         onChangeDirectory += delegate(object obj, EventArgs e)
         {
             List <string> list = new List <string>();
             foreach (IBrowserItem item in m_ItemList)
             {
                 list.Add(item.showName);
             }
         };
     }
     catch (Exception EE)
     {
         MessageBox.Show(EE.Message);
     }
 }
示例#2
0
 public DirectoryBrowser()
 {
     try
     {
         m_CurrentDir      = null;
         m_curSelection    = new Selection();
         m_Searcher        = new FileHatchery.Algorithm.StupidSearcher();
         DirectoryChanged += delegate(object obj, EventArgs e)
         {
             m_curSelection.clear();
         };
     }
     catch (Exception EE)
     {
         MessageBox.Show(EE.Message);
     }
 }
示例#3
0
 public DirectoryBrowser()
 {
     try
     {
         m_CurrentDir = null;
         m_curSelection = new Selection();
         m_Searcher = new FileHatchery.Algorithm.StupidSearcher();
         DirectoryChanged += delegate(object obj, EventArgs e)
         {
             m_curSelection.clear();
         };
     }
     catch (Exception EE)
     {
         MessageBox.Show(EE.Message);
     }
 }
示例#4
0
 public DirectoryBrowser()
 {
     try
     {
         m_CurrentDir = null;
         m_curSelection = new Selection();
         m_Searcher = new FileHatchery.Algorithm.StupidSearcher();
         onChangeDirectory += delegate(object obj, EventArgs e)
         {
             m_curSelection.clear();
         };
         onChangeDirectory += delegate(object obj, EventArgs e)
         {
             List<string> list = new List<string>();
             foreach(IBrowserItem item in m_ItemList)
             {
                 list.Add(item.showName);
             }
         };
     }
     catch (Exception EE)
     {
         MessageBox.Show(EE.Message);
     }
 }