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 鼠标点击事件 /// /// 用户管理 /// /// /// 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(); } } } }