ldj/winform/基础资料/字典/AuthorityForm.cs

41 lines
765 B
C#
Raw Permalink Normal View History

2023-05-23 16:13:17 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DeiNiu.wms.Logical;
namespace DeiNiu.wms.win
{
public partial class AuthorityForm : BasicRibbonForm//DevExpress.XtraBars.Ribbon.RibbonForm
{
public AuthorityForm()
{
InitializeComponent();
loadAuthority();
}
LAuthority la = new LAuthority();
private void loadAuthority()
{
this.treeList1.DataSource = la.getAllActiveData().Tables[0];
// this.treeList1.Nodes.ParentNode.SetValue("parentid", "name");
}
}
}