You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.4 KiB
65 lines
2.4 KiB
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;
|
|
using MorClient;
|
|
|
|
namespace MorClient.UserControls
|
|
{
|
|
public partial class UserControl_tools : UserControl
|
|
{
|
|
PublicPara publicPara = new PublicPara();
|
|
public UserControl_tools()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
#region 鼠标点击事件
|
|
/// <summary>
|
|
/// 用户管理
|
|
/// </summary>
|
|
/// <param name="sender"></param>
|
|
/// <param name="e"></param>
|
|
private void uiSymbolButton1_Click(object sender, EventArgs e)
|
|
{
|
|
if (PublicPara.twoFunctionButtons != "[用户管理]")
|
|
{
|
|
FrmMainFrame.CreatOperatorContent("工具-用户管理");
|
|
publicPara.GetTwoFunctionButtons("[用户管理]");
|
|
PublicPara.pubMainFrameObject.SetNowTwoPage("[用户管理]");
|
|
|
|
ToolUserMent toolUserMent = new ToolUserMent();
|
|
toolUserMent.set();
|
|
toolUserMent.Dock = DockStyle.Fill;
|
|
PublicPara.pubMainFrameObject.plMain.Controls.Clear();
|
|
PublicPara.pubMainFrameObject.plMain.Controls.Add(toolUserMent);
|
|
PublicPara.pubMainFrameObject.plMain.Show();
|
|
}
|
|
}
|
|
#endregion 鼠标点击事件
|
|
|
|
private void uiSymbolButton2_Click(object sender, EventArgs e)
|
|
{
|
|
// ToolsOperateMent
|
|
if (PublicPara.twoFunctionButtons != "[操作员]")
|
|
{
|
|
FrmMainFrame.CreatOperatorContent("工具-操作员");
|
|
publicPara.GetTwoFunctionButtons("[操作员]");
|
|
PublicPara.pubMainFrameObject.SetNowTwoPage("[操作员]");
|
|
ToolsOperateMent toolsOperateMent = new ToolsOperateMent();
|
|
//int heigth;
|
|
//toolsOperateMent.Width = PublicPara.LeftPageSet(out heigth);
|
|
//toolsOperateMent.Height = heigth;
|
|
toolsOperateMent.Dock = DockStyle.Fill;
|
|
PublicPara.pubMainFrameObject.plMain.Controls.Clear();
|
|
PublicPara.pubMainFrameObject.plMain.Controls.Add(toolsOperateMent);
|
|
PublicPara.pubMainFrameObject.plMain.Show();
|
|
}
|
|
}
|
|
}
|
|
}
|