36 lines
		
	
	
		
			726 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			726 B
		
	
	
	
		
			C#
		
	
	
	
| using System;
 | |
| using System.Linq;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel;
 | |
| using System.Data;
 | |
| using System.Drawing;
 | |
| using System.Text;
 | |
| using System.Windows.Forms;
 | |
| using DeiNiu.Wms.CE.Util;
 | |
| using DeiNiu.Wms.CE.utils;
 | |
| 
 | |
| namespace DeiNiu.Wms.CE.forms
 | |
| {
 | |
|     public partial class About : Form
 | |
|     {
 | |
|         public About()
 | |
|         {
 | |
|             InitializeComponent();
 | |
|             loadCfg();
 | |
|         }
 | |
| 
 | |
| 
 | |
| 
 | |
|         void loadCfg()
 | |
|         {
 | |
|             if (LoginInfo.Account.Equals("root"))
 | |
|             {
 | |
|                 lbSn.Text = Utils.Encrypt(NetUtil.GetMac());
 | |
|             }else
 | |
|             lbSn.Text = WcfHelp.readSN(); // WcfHelp.iniHostPort;
 | |
|             lbSvr.Text = WcfHelp.ReadIni();
 | |
|         }
 | |
| 
 | |
| 
 | |
|     }
 | |
| } |