private void tv_list_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            CurrentNode = e.Node;

            //绑定列表
            var list = _bll.GetBase_ButtonByModule(long.Parse(CurrentNode.Name));

            gv_module.DataSource = list;
        }
 private void ButtonSearch_Load(object sender, EventArgs e)
 {
     if (ModuleID.HasValue)
     {
         var source = _bll.GetBase_ButtonByModule(ModuleID.Value);
         if (source.Count > 0)
         {
             foreach (var item in source)
             {
                 if (ButtonID == item.ButtonId)
                 {
                     continue;
                 }
                 tree.Nodes.Add(new TreeNode()
                 {
                     Text = item.FullName,
                     Name = item.ButtonId.ToString(),
                 });
             }
         }
     }
 }