41 lines
		
	
	
		
			765 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			41 lines
		
	
	
		
			765 B
		
	
	
	
		
			C#
		
	
	
	
|  | 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"); | |||
|  |              | |||
|  | 
 | |||
|  |         } | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  | 
 | |||
|  |     } | |||
|  | } |