示例#1
0
 public WizFolderCtrl()
 {
     wizdb = new WizKMCoreLib.WizDatabase();
     //WizDocument wizdoc = new WizDocument();
     wizdb.Open("");
     folders =wizdb.Folders;
     wizdb.Close();
 }
示例#2
0
        static void Main(string[] args)
        {
            WizDatabase _wizdb=new WizDatabase();
            _wizdb.Open("");
            Action<WizFolder> ac = Program.Counter;

              //  dynamic forEach = Parallel.ForEach(_wizdb.Folders, ac(dynamic file));

            Console.ReadKey();
        }
示例#3
0
 /*
  * 初始化wiz
  */
 public void initWiz()
 {
     WizDatabase db = new WizDatabase();
     try
     {
         db.Open("");
         axWizCategoryTree.Database = db;
         axWizCategoryTree.Border = true;
     }
     catch (Exception ex)
     {
         AddLog("打开Wiz数据失败:");
     }
 }