コード例 #1
0
        public ActionResult TestDataSet(string tree)
        {
            ActivityTree currentTree = new ActivityTree();

            if (tree == "Activity")
            {
                TreeViewData = currentTree.ActivityData();
            }
            else if (tree == "Transact")
            {
                TreeViewData = currentTree.TransactData();
            }


            JavaScriptSerializer serializer = new JavaScriptSerializer();

            return(Json(serializer.Serialize(TreeViewData), JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
 public NuixCommandConsole()
 {
     InitializeComponent();
     LoadFromConfig();
     ActivityTree.ExpandAll();
 }