forked from wenjy/HighWayIot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using HighWayIot.Log4net;
|
|
using HighWayIot.Winform.Business;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace HighWayIot.Winform.UserControlPages
|
|
{
|
|
public partial class TestPage : UserControl
|
|
{
|
|
private static LogHelper logger = LogHelper.Instance;
|
|
|
|
public TestPage()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
XmlUtil xmlUtil = new XmlUtil();
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
var list = xmlUtil.ConfigReader();
|
|
foreach (var item in list)
|
|
{
|
|
Console.WriteLine(item.RoleIndex + item.PageName);
|
|
}
|
|
}
|
|
|
|
private void button2_Click(object sender, EventArgs e)
|
|
{
|
|
char[] chars = new char[100];
|
|
for (int i = 0; i < 100; i++)
|
|
{
|
|
chars[i] = '0';
|
|
}
|
|
string originalRole = new string(chars);
|
|
}
|
|
}
|
|
}
|