public Main() { InitializeComponent(); Sunisoft.IrisSkin.SkinEngine se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true;//所有窗体应用此皮肤 se.SkinFile = @"..\..\skin\MSN.ssk"; }
public Login() { InitializeComponent(); db = new DB(this); num = this.Num; pwd1 = this.pwd; //外观 this.skinEngine1.SkinFile = Application.StartupPath + "//DiamondBlue.ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; //开机启动注册表引用对象rk2 rk2 = rk.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run"); //取消自动启动 //rk2.DeleteValue("AutoRun"); //rk2.Close(); //rk.Close(); //判断是否设置了自动启动 //autoRun = isSetAutoRun(rk2); //if (autoRun == false) //设置开机自动启动 //setAutoRun(rk2); //else MessageBox.Show("autoRun"); }
static void Main() { #region 设置皮肤 SoftConfig.SkinFile = @"Skins\Office2007\Office2007.ssk"; Sunisoft.IrisSkin.SkinEngine se = new Sunisoft.IrisSkin.SkinEngine(); se.@__DrawButtonFocusRectangle = true; se.DisabledButtonTextColor = System.Drawing.Color.Gray; se.DisabledMenuFontColor = System.Drawing.SystemColors.GrayText; se.InactiveCaptionColor = System.Drawing.SystemColors.InactiveCaptionText; se.SerialNumber = ""; se.SkinFile = System.AppDomain.CurrentDomain.BaseDirectory + SoftConfig.SkinFile; //皮肤文件.ssk #endregion //获取欲启动进程名 string strProcessName = System.Diagnostics.Process.GetCurrentProcess().ProcessName; //检查进程是否已经启动,已经启动则显示报错信息退出程序。 if (System.Diagnostics.Process.GetProcessesByName(strProcessName).Length > 1) { MessageBox.Show("程序已开启,不能重复启动!", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error); Application.Exit(); return; } Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FM_Main()); }
public Main() { InitializeComponent(); Sunisoft.IrisSkin.SkinEngine se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true;//所有窗体应用此皮肤 se.SkinFile = @"..\..\skin\MSN.ssk"; }
//===================================================//载入 public void form1load(object sender, EventArgs e) { // button2_Click(null, null); // ConfigurationManager.RefreshSection("appSettings"); path = GetValueByKey("FtpPath"); LPath = GetValueByKey("LocalPath"); FTPUSERNAME = GetValueByKey("FtpUser"); FTPPASSWORD = GetValueByKey("FtpPassWord");//读取配置文件 SvnUrl = GetValueByKey("SvnUrl"); if (!LPath.EndsWith("\\")) { LPath = LPath + "\\";//非常关键的一步 } SkinMode = GetValueByKey("Skin"); skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(this); skinEngine1.SkinFile = Application.StartupPath + "//Skins//" + SkinMode + ".ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; //path = ConForm2.textBox6.Text; //LPath = textBox4.Text; // LPath = LPath.Replace("\\", "\\\\"); }
//加载 private void Main_Load(object sender, EventArgs e) { string role = LoginInfo.RoleName.ToString(); if (role == "导购员") { this.pictureBox5.Enabled = false; this.pictureBox6.Enabled = false; this.pictureBox7.Enabled = false; this.pictureBox9.Enabled = false; this.pictureBox11.Enabled = false; } //启动定时器 this.timer1.Start(); //显示欢迎 string haoma = LoginInfo.LoginID; string sql = string.Format("select [Salesman-Name],Role from Salesman where Mobile ='{0}' ", haoma); DataSet ds = db.getDataSet(sql); this.label2.Text = ds.Tables["info"].Rows[0][0].ToString() + "(" + ds.Tables["info"].Rows[0][1].ToString() + ")" + ",欢迎您!"; //创建IrisSkin皮肤引擎对象 skinEngine = new Sunisoft.IrisSkin.SkinEngine(); //设置项目中所有窗体均应用该皮肤 skinEngine.SkinAllForm = true; //加载ssk皮肤文件,当前使用的皮肤为WavaeColor1 skinEngine.SkinFile = "界面ssk/WaveColor1.ssk"; //绑定到下拉框中 this.cb_skin.Text = "WaveColor1"; }
public Form1() { InitializeComponent(); se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true;//所有窗体均应用此皮肤 se.SkinFile = "skin/MacOS.ssk"; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); int i = 0; foreach (Process vProcess in Process.GetProcesses()) { if (vProcess.ProcessName == "FileTools") { i++; if (i >= 2) { MessageBox.Show("对不起!你已经运行了本系统不可同时运行相同系统!", "提示"); return; } } } Login log = new Login(); Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine((System.ComponentModel.Component)log); skin.SkinFile = "MSN.ssk"; //指定皮肤文件 skin.TitleFont = new System.Drawing.Font("微软雅黑", 10F); // 指定标题栏的Font。 Application.Run(log); //登录用户 if (log.DialogResult == System.Windows.Forms.DialogResult.OK) { UploadForm bf = new UploadForm(); Sunisoft.IrisSkin.SkinEngine skin1 = new Sunisoft.IrisSkin.SkinEngine((System.ComponentModel.Component)bf); skin1.SkinFile = "MSN.ssk"; //指定皮肤文件 skin1.TitleFont = new System.Drawing.Font("微软雅黑", 10F); // 指定标题栏的Font。 Application.Run(bf); } }
public MainForm() { InitializeComponent(); se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true;//所有窗体均应用此皮肤 se.SkinFile = AppDomain.CurrentDomain.BaseDirectory + "\\skin\\RealOne.ssk"; }
public MainForm() { Me = this; InitializeComponent(); // TheWebSocketServer.Start(); var skinName = Utils.GetSysInfo(DB.Global(), "SkinName", ""); if (skinName != "") { skinEngine_ = new Sunisoft.IrisSkin.SkinEngine(); MainForm.Me.skinEngine_.SkinFile = Path.Combine(Dist.binPath_, "Skins", skinName); } msgText.Text = ""; toolStripStatusLabel1_.Text = DataStore.DataMode ? "Partial" : "Full"; toolStripStatusLabel2_.Text = ""; App.host_ = this; LUtils.InitItemListView(selectListView_); autoSelectModeToolStripMenuItem.Checked = true; startupTime_ = DateTime.Now; timer_.Start(); SelectTask.Init(); int nSendCount = DB.Global().ExecuteScalar <int>("Select Count(*) From already_send_sms"); int nAllCount = Utils.ToType <int>(Utils.GetSysInfo(DB.Global(), "Sms.Count", "0")); if (nSendCount > nAllCount - 100) { Sms.SendMsgIfTodayNotSend("No sms quickly!"); } }
public FrmLogin() { InitializeComponent();//设计器Designer se = new Sunisoft.IrisSkin.SkinEngine(); //se.SkinAllForm = true;//所有窗体均应用此皮肤 se.SkinFile = "skin/skin.ssk";//加载初始化皮肤风格 }
private void yonghudl_Load(object sender, EventArgs e) { skinEngine = new Sunisoft.IrisSkin.SkinEngine(); skinEngine.SkinAllForm = true; skinEngine.SkinFile = "DeepCyan.ssk"; this.label5.Text = GetRandomNumber(5); }
public FrmBase() { InitializeComponent(); skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); skinEngine1.SkinFile = Application.StartupPath.Replace("\\bin\\Debug", "") + "/Resources/office2007.ssk"; //MessageBox.Show(Application.StartupPath.ToString().Replace("\\bin\\Debug", "")); }
private void getskin(string skinname) { InitializeComponent(); if (se == null) { se = new Sunisoft.IrisSkin.SkinEngine(this); skinname = ConfigurationManager.AppSettings["SkinName"].ToString(); } if (string.IsNullOrEmpty(skinname)) { se.SkinFile = Application.StartupPath + "\\skin/DeepCyan.ssk"; } else { se.SkinFile = Application.StartupPath + "\\skin/" + skinname + ".ssk"; currskin = skinname; } se.Active = true; this.DoubleBuffered = true; SetStyle(ControlStyles.DoubleBuffer, true); // 双缓冲 }
public Form1() { InitializeComponent(); files = Directory.GetFiles("Skins"); engine = new Sunisoft.IrisSkin.SkinEngine(); engine.SkinFile = files[index]; engine.AddControl(this); }
public Main() { InitializeComponent(); this.skinEngine1.SkinFile = Application.StartupPath + "//DiamondBlue.ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; }
Sunisoft.IrisSkin.SkinEngine se = null; //皮肤对象 public Form1() { InitializeComponent(); se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; //所有窗体均应用此皮肤 se.SkinFile = "skin/Vista2_color6.ssk"; se.SkinDialogs = false; //防止对话框报错 }
public CashForm() { InitializeComponent(); //加载皮肤 se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; se.SkinFile = "skin/" + Settings.SkinName + ".ssk"; }
public allinformation() { Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine(); skin.SkinFile = "MP10.ssk"; skin.Active = true; InitializeComponent(); getDataGridView(); }
public frmLogin() { InitializeComponent(); aboutbox = new frmAboutBox(); se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; se.SkinFile = Path.Combine(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, ""), "WBlue.ssk"); }
public Form1() { //this.skinEngine1.SkinFile = "office2007.ssk"; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; se.SkinFile = "Skins\\SteelBlack.ssk"; InitializeComponent(); }
static void Main() { log4net.Config.XmlConfigurator.Configure(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); s = new Sunisoft.IrisSkin.SkinEngine(); s.SkinFile = System.AppDomain.CurrentDomain.BaseDirectory + "\\Skins\\RealOne.ssk"; //读取配置文件是否自动登录 EncryptedNameValueSectionHandler hand = new EncryptedNameValueSectionHandler(); string autoLogin = hand.ReadConfig("autoLogin"); if (autoLogin == "T") { string passWord = hand.ReadConfig("userPwd"); string userName = hand.ReadConfig("userName"); LoginService login = new LoginService(); string result = login.login(userName, passWord); if (result.Equals("1")) { Application.Run(new Main()); } else { MessageBox.Show(result); //首先载入登录窗体实例 Login frmLogin = new Login(); frmLogin.StartPosition = FormStartPosition.CenterScreen; DialogResult loginResult = frmLogin.ShowDialog(); //若登录成功则加载主窗体 if (loginResult == DialogResult.OK) { Application.Run(new Main()); } else { //登录失败则关闭当前程序进程 Application.Exit(); } } } else { //首先载入登录窗体实例 Login frmLogin = new Login(); frmLogin.StartPosition = FormStartPosition.CenterScreen; DialogResult loginResult = frmLogin.ShowDialog(); //若登录成功则加载主窗体 if (loginResult == DialogResult.OK) { Application.Run(new Main()); } else { //登录失败则关闭当前程序进程 Application.Exit(); } } }
public MS3() { InitializeComponent(); label1.Text = "登入時間:" + Convert.ToString(DateTime.Now); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Login)); this.skinEngine = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); }
public Form登录窗口() { this.StartPosition = FormStartPosition.CenterScreen; InitializeComponent(); this.skinEngine1.SkinFile = Application.StartupPath + "//Wave.ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; }
private void Form1_Load(object sender, EventArgs e) { skin = new Sunisoft.IrisSkin.SkinEngine(); skin.SkinFile = "MacOS.ssk"; udpclient = new UdpClient(new IPEndPoint(IPAddress.Parse(localIP), udpport)); this.radioButton_Slave.Checked = true; UDP_ReceiveFile_thread = new Thread(new ThreadStart(UDP_ReceiveFile)); UDP_ReceiveFile_thread.Start(); }
private void Frmguanliyuanmain_Load(object sender, EventArgs e) { skinEngine = new Sunisoft.IrisSkin.SkinEngine(); skinEngine.SkinAllForm = true; skinEngine.SkinFile = "DeepCyan.ssk"; this.toolStripStatusLabel1.Text = string.Format("时间:{0},欢迎", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); this.toolStripStatusLabel2.Text = Conmen.SuoQuGuanLiYuanDLName; this.toolStripStatusLabel3.Text = "使用Another小区业务管理系统"; }
public HelpWeb() { InitializeComponent(); //C#皮肤文件加载 this.Text = "studio"; this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.skinEngine1.SkinFile = Application.StartupPath + "//OmegaSkin.ssk"; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine(); skin.SkinFile = System.Environment.CurrentDirectory + "\\skins\\" + "MSN.ssk"; skin.Active = true; Application.Run(new SCMSystem()); }
public User() { InitializeComponent(); this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.skinEngine1.SkinFile = Application.StartupPath + "//DiamondBlue.ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; }
public FrmStudent() { //加载皮肤 this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.skinEngine1.SkinFile = Application.StartupPath + "\\Skins\\SportsBlue.ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; InitializeComponent(); }
static void Main() { Sunisoft.IrisSkin.SkinEngine skinEngine = new Sunisoft.IrisSkin.SkinEngine(); string skinPath = Application.StartupPath + Path.DirectorySeparatorChar + "skin" + Path.DirectorySeparatorChar + "skin.ssk"; skinEngine.SkinFile = skinPath; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); }
public Form4() { InitializeComponent(); this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.skinEngine1.SkinFile = Application.StartupPath + "//" + ConfigurationManager.AppSettings["skin"] + ".ssk"; Sunisoft.IrisSkin.SkinEngine se = null; se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; }
private void frmLogin_Load(object sender, EventArgs e) { se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinFile = Application.StartupPath + @"\Skin\MP10.ssk"; //读取上次登录名 INIService ini = new INIService(); string _userName = ini.IniReadValue("LoginUser","UserName",Application.StartupPath+"\\LastLogin.ini"); txt_UserName.Text = _userName; txt_UserName.Focus(); }
/// <summary> /// Changes the skin. /// </summary> /// <param name="st">The st.</param> public static void ChangeSkin(SkinType st) { System.Reflection.Assembly thisDll = System.Reflection.Assembly.GetExecutingAssembly(); if (se == null) { se = new Sunisoft.IrisSkin.SkinEngine(Application.OpenForms[0], thisDll.GetManifestResourceStream("Fm.Src.Common.SkinProcessor.Skins." + st.ToString() + ".ssk")); se.Active = true; for (int i = 0; i < Application.OpenForms.Count; i++) { se.AddForm(Application.OpenForms[i]); } } else { se.SkinStream = thisDll.GetManifestResourceStream("FT.Commons.SkinProcessor.Skins." + st.ToString() + ".ssk"); se.Active = true; } }
private void getskin(string skinname) { InitializeComponent(); if (se == null) { se = new Sunisoft.IrisSkin.SkinEngine(this); skinname= ConfigurationManager.AppSettings["SkinName"].ToString(); } if (string.IsNullOrEmpty(skinname)) { se.SkinFile = Application.StartupPath + "\\skin/DeepCyan.ssk"; } else { se.SkinFile = Application.StartupPath + "\\skin/" + skinname + ".ssk"; currskin = skinname; } se.Active = true; this.DoubleBuffered = true; SetStyle(ControlStyles.DoubleBuffer, true); // 双缓冲 }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetOp)); this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components); this.dockSite4 = new DevComponents.DotNetBar.DockSite(); this.dockSite1 = new DevComponents.DotNetBar.DockSite(); this.dockSite2 = new DevComponents.DotNetBar.DockSite(); this.dockSite8 = new DevComponents.DotNetBar.DockSite(); this.dockSite5 = new DevComponents.DotNetBar.DockSite(); this.dockSite6 = new DevComponents.DotNetBar.DockSite(); this.dockSite7 = new DevComponents.DotNetBar.DockSite(); this.bar1 = new DevComponents.DotNetBar.Bar(); this.btnItm_Sav = new DevComponents.DotNetBar.ButtonItem(); this.btnItm_Modify = new DevComponents.DotNetBar.ButtonItem(); this.btnItm_Del = new DevComponents.DotNetBar.ButtonItem(); this.btnItm_Search = new DevComponents.DotNetBar.ButtonItem(); this.BtnSave = new DevComponents.DotNetBar.ButtonItem(); this.BtnCancle = new DevComponents.DotNetBar.ButtonItem(); this.btnItm_Exit = new DevComponents.DotNetBar.ButtonItem(); this.customizeItem1 = new DevComponents.DotNetBar.CustomizeItem(); this.dockSite3 = new DevComponents.DotNetBar.DockSite(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.groupPanel3 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.treeView2 = new System.Windows.Forms.TreeView(); this.groupPanel2 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.treeView1 = new System.Windows.Forms.TreeView(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.comboBoxEx2 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.TxtTel = new DevComponents.DotNetBar.Controls.TextBoxX(); this.TxtPws = new DevComponents.DotNetBar.Controls.TextBoxX(); this.labelX3 = new DevComponents.DotNetBar.LabelX(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.lblX3 = new DevComponents.DotNetBar.LabelX(); this.lblX2 = new DevComponents.DotNetBar.LabelX(); this.lblX1 = new DevComponents.DotNetBar.LabelX(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.txtBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.txtBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.dockSite7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); this.panelEx1.SuspendLayout(); this.groupPanel3.SuspendLayout(); this.groupPanel2.SuspendLayout(); this.groupPanel1.SuspendLayout(); this.SuspendLayout(); // // skinEngine1 // this.skinEngine1.SerialNumber = ""; this.skinEngine1.SkinFile = null; // // dotNetBarManager1 // this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.F1); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlA); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlV); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlZ); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlY); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.Del); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.Ins); this.dotNetBarManager1.BottomDockSite = this.dockSite4; this.dotNetBarManager1.DefinitionName = ""; this.dotNetBarManager1.EnableFullSizeDock = false; this.dotNetBarManager1.LeftDockSite = this.dockSite1; this.dotNetBarManager1.ParentForm = this; this.dotNetBarManager1.RightDockSite = this.dockSite2; this.dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.dotNetBarManager1.ToolbarBottomDockSite = this.dockSite8; this.dotNetBarManager1.ToolbarLeftDockSite = this.dockSite5; this.dotNetBarManager1.ToolbarRightDockSite = this.dockSite6; this.dotNetBarManager1.ToolbarTopDockSite = this.dockSite7; this.dotNetBarManager1.TopDockSite = this.dockSite3; // // dockSite4 // this.dockSite4.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite4.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockSite4.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.dockSite4.Location = new System.Drawing.Point(0, 559); this.dockSite4.Name = "dockSite4"; this.dockSite4.Size = new System.Drawing.Size(638, 0); this.dockSite4.TabIndex = 3; this.dockSite4.TabStop = false; // // dockSite1 // this.dockSite1.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite1.Dock = System.Windows.Forms.DockStyle.Left; this.dockSite1.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.dockSite1.Location = new System.Drawing.Point(0, 57); this.dockSite1.Name = "dockSite1"; this.dockSite1.Size = new System.Drawing.Size(0, 502); this.dockSite1.TabIndex = 0; this.dockSite1.TabStop = false; // // dockSite2 // this.dockSite2.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite2.Dock = System.Windows.Forms.DockStyle.Right; this.dockSite2.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.dockSite2.Location = new System.Drawing.Point(638, 57); this.dockSite2.Name = "dockSite2"; this.dockSite2.Size = new System.Drawing.Size(0, 502); this.dockSite2.TabIndex = 1; this.dockSite2.TabStop = false; // // dockSite8 // this.dockSite8.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite8.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockSite8.Location = new System.Drawing.Point(0, 559); this.dockSite8.Name = "dockSite8"; this.dockSite8.Size = new System.Drawing.Size(638, 0); this.dockSite8.TabIndex = 7; this.dockSite8.TabStop = false; // // dockSite5 // this.dockSite5.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite5.Dock = System.Windows.Forms.DockStyle.Left; this.dockSite5.Location = new System.Drawing.Point(0, 57); this.dockSite5.Name = "dockSite5"; this.dockSite5.Size = new System.Drawing.Size(0, 502); this.dockSite5.TabIndex = 4; this.dockSite5.TabStop = false; // // dockSite6 // this.dockSite6.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite6.Dock = System.Windows.Forms.DockStyle.Right; this.dockSite6.Location = new System.Drawing.Point(638, 57); this.dockSite6.Name = "dockSite6"; this.dockSite6.Size = new System.Drawing.Size(0, 502); this.dockSite6.TabIndex = 5; this.dockSite6.TabStop = false; // // dockSite7 // this.dockSite7.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite7.Controls.Add(this.bar1); this.dockSite7.Dock = System.Windows.Forms.DockStyle.Top; this.dockSite7.Location = new System.Drawing.Point(0, 0); this.dockSite7.Name = "dockSite7"; this.dockSite7.Size = new System.Drawing.Size(638, 57); this.dockSite7.TabIndex = 6; this.dockSite7.TabStop = false; // // bar1 // this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)"; this.bar1.AccessibleName = "DotNetBar Bar"; this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.bar1.DockSide = DevComponents.DotNetBar.eDockSide.Top; this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.Office2003; this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnItm_Sav, this.btnItm_Modify, this.btnItm_Del, this.btnItm_Search, this.BtnSave, this.BtnCancle, this.btnItm_Exit, this.customizeItem1}); this.bar1.Location = new System.Drawing.Point(0, 0); this.bar1.Name = "bar1"; this.bar1.Size = new System.Drawing.Size(300, 57); this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.bar1.TabIndex = 0; this.bar1.TabStop = false; this.bar1.Text = "bar1"; // // btnItm_Sav // this.btnItm_Sav.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_Sav.Image"))); this.btnItm_Sav.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_Sav.ImagePaddingHorizontal = 8; this.btnItm_Sav.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_Sav.Name = "btnItm_Sav"; this.btnItm_Sav.Text = "添加"; this.btnItm_Sav.Click += new System.EventHandler(this.btnItm_Sav_Click); // // btnItm_Modify // this.btnItm_Modify.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_Modify.Image"))); this.btnItm_Modify.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_Modify.ImagePaddingHorizontal = 8; this.btnItm_Modify.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_Modify.Name = "btnItm_Modify"; this.btnItm_Modify.Text = "修改"; this.btnItm_Modify.Click += new System.EventHandler(this.btnItm_Modify_Click); // // btnItm_Del // this.btnItm_Del.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_Del.Image"))); this.btnItm_Del.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_Del.ImagePaddingHorizontal = 8; this.btnItm_Del.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_Del.Name = "btnItm_Del"; this.btnItm_Del.Text = "删除"; this.btnItm_Del.Click += new System.EventHandler(this.btnItm_Del_Click); // // btnItm_Search // this.btnItm_Search.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_Search.Image"))); this.btnItm_Search.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_Search.ImagePaddingHorizontal = 8; this.btnItm_Search.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_Search.Name = "btnItm_Search"; this.btnItm_Search.Text = "查询"; this.btnItm_Search.Click += new System.EventHandler(this.btnItm_search_Click); // // BtnSave // this.BtnSave.Image = ((System.Drawing.Image)(resources.GetObject("BtnSave.Image"))); this.BtnSave.ImagePaddingHorizontal = 8; this.BtnSave.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.BtnSave.Name = "BtnSave"; this.BtnSave.Text = "保存"; this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click); // // BtnCancle // this.BtnCancle.Image = ((System.Drawing.Image)(resources.GetObject("BtnCancle.Image"))); this.BtnCancle.ImagePaddingHorizontal = 8; this.BtnCancle.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.BtnCancle.Name = "BtnCancle"; this.BtnCancle.Text = "撤消"; this.BtnCancle.Click += new System.EventHandler(this.BtnCancle_Click); // // btnItm_Exit // this.btnItm_Exit.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_Exit.Image"))); this.btnItm_Exit.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_Exit.ImagePaddingHorizontal = 8; this.btnItm_Exit.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_Exit.Name = "btnItm_Exit"; this.btnItm_Exit.Text = "关闭"; this.btnItm_Exit.Click += new System.EventHandler(this.btnItm_exit_Click); // // customizeItem1 // this.customizeItem1.Name = "customizeItem1"; this.customizeItem1.Text = "添加或删除按钮(&A)"; this.customizeItem1.Tooltip = "工具栏选项"; // // dockSite3 // this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite3.Dock = System.Windows.Forms.DockStyle.Top; this.dockSite3.DocumentDockContainer = new DevComponents.DotNetBar.DocumentDockContainer(); this.dockSite3.Location = new System.Drawing.Point(0, 57); this.dockSite3.Name = "dockSite3"; this.dockSite3.Size = new System.Drawing.Size(638, 0); this.dockSite3.TabIndex = 2; this.dockSite3.TabStop = false; // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorScheme.ItemDesignTimeBorder = System.Drawing.Color.Black; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.Controls.Add(this.groupPanel3); this.panelEx1.Controls.Add(this.groupPanel2); this.panelEx1.Controls.Add(this.groupPanel1); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 57); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(638, 502); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 8; // // groupPanel3 // this.groupPanel3.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel3.Controls.Add(this.treeView2); this.groupPanel3.Location = new System.Drawing.Point(276, 9); this.groupPanel3.Name = "groupPanel3"; this.groupPanel3.Size = new System.Drawing.Size(350, 490); // // // this.groupPanel3.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.groupPanel3.Style.BackColorGradientAngle = 90; this.groupPanel3.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.groupPanel3.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel3.Style.BorderBottomWidth = 1; this.groupPanel3.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.groupPanel3.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel3.Style.BorderLeftWidth = 1; this.groupPanel3.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel3.Style.BorderRightWidth = 1; this.groupPanel3.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel3.Style.BorderTopWidth = 1; this.groupPanel3.Style.CornerDiameter = 4; this.groupPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanel3.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.groupPanel3.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.groupPanel3.TabIndex = 2; this.groupPanel3.Text = "操作员权限"; // // treeView2 // this.treeView2.Location = new System.Drawing.Point(13, 13); this.treeView2.Name = "treeView2"; this.treeView2.Size = new System.Drawing.Size(328, 448); this.treeView2.TabIndex = 0; // // groupPanel2 // this.groupPanel2.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel2.Controls.Add(this.treeView1); this.groupPanel2.Location = new System.Drawing.Point(12, 241); this.groupPanel2.Name = "groupPanel2"; this.groupPanel2.Size = new System.Drawing.Size(249, 258); // // // this.groupPanel2.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.groupPanel2.Style.BackColorGradientAngle = 90; this.groupPanel2.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.groupPanel2.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderBottomWidth = 1; this.groupPanel2.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.groupPanel2.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderLeftWidth = 1; this.groupPanel2.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderRightWidth = 1; this.groupPanel2.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderTopWidth = 1; this.groupPanel2.Style.CornerDiameter = 4; this.groupPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanel2.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.groupPanel2.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.groupPanel2.TabIndex = 1; this.groupPanel2.Text = "操作员列表"; // // treeView1 // this.treeView1.ImageIndex = 0; this.treeView1.ImageList = this.imageList1; this.treeView1.Location = new System.Drawing.Point(3, 3); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = 0; this.treeView1.Size = new System.Drawing.Size(237, 226); this.treeView1.TabIndex = 0; this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "I156.ICO"); this.imageList1.Images.SetKeyName(1, "msnnew_009.ico"); this.imageList1.Images.SetKeyName(2, "msnnew_019.ico"); // // groupPanel1 // this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel1.Controls.Add(this.comboBoxEx2); this.groupPanel1.Controls.Add(this.TxtTel); this.groupPanel1.Controls.Add(this.TxtPws); this.groupPanel1.Controls.Add(this.labelX3); this.groupPanel1.Controls.Add(this.labelX2); this.groupPanel1.Controls.Add(this.labelX1); this.groupPanel1.Controls.Add(this.lblX3); this.groupPanel1.Controls.Add(this.lblX2); this.groupPanel1.Controls.Add(this.lblX1); this.groupPanel1.Controls.Add(this.linkLabel1); this.groupPanel1.Controls.Add(this.comboBoxEx1); this.groupPanel1.Controls.Add(this.txtBoxX2); this.groupPanel1.Controls.Add(this.txtBoxX1); this.groupPanel1.Location = new System.Drawing.Point(12, 8); this.groupPanel1.Name = "groupPanel1"; this.groupPanel1.Size = new System.Drawing.Size(249, 225); // // // this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.groupPanel1.Style.BackColorGradientAngle = 90; this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderBottomWidth = 1; this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderLeftWidth = 1; this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderRightWidth = 1; this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderTopWidth = 1; this.groupPanel1.Style.CornerDiameter = 4; this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.groupPanel1.TabIndex = 0; this.groupPanel1.Text = "操作员信息"; // // comboBoxEx2 // this.comboBoxEx2.DisplayMember = "Text"; this.comboBoxEx2.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx2.FormattingEnabled = true; this.comboBoxEx2.Location = new System.Drawing.Point(64, 137); this.comboBoxEx2.Name = "comboBoxEx2"; this.comboBoxEx2.Size = new System.Drawing.Size(121, 22); this.comboBoxEx2.TabIndex = 17; // // TxtTel // // // // this.TxtTel.Border.Class = "TextBoxBorder"; this.TxtTel.Location = new System.Drawing.Point(64, 103); this.TxtTel.Name = "TxtTel"; this.TxtTel.Size = new System.Drawing.Size(100, 21); this.TxtTel.TabIndex = 16; // // TxtPws // this.TxtPws.BackColor = System.Drawing.Color.YellowGreen; // // // this.TxtPws.Border.Class = "TextBoxBorder"; this.TxtPws.Location = new System.Drawing.Point(64, 73); this.TxtPws.MaxLength = 16; this.TxtPws.Name = "TxtPws"; this.TxtPws.PasswordChar = '*'; this.TxtPws.Size = new System.Drawing.Size(100, 21); this.TxtPws.TabIndex = 15; this.TxtPws.UseSystemPasswordChar = true; // // labelX3 // this.labelX3.BackColor = System.Drawing.Color.Transparent; this.labelX3.Location = new System.Drawing.Point(3, 106); this.labelX3.Name = "labelX3"; this.labelX3.Size = new System.Drawing.Size(43, 23); this.labelX3.TabIndex = 14; this.labelX3.Text = "电话:"; // // labelX2 // this.labelX2.BackColor = System.Drawing.Color.Transparent; this.labelX2.Location = new System.Drawing.Point(3, 74); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(43, 23); this.labelX2.TabIndex = 13; this.labelX2.Text = "密码:"; // // labelX1 // this.labelX1.BackColor = System.Drawing.Color.Transparent; this.labelX1.Location = new System.Drawing.Point(3, 137); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(72, 23); this.labelX1.TabIndex = 12; this.labelX1.Text = "所属部门:"; // // lblX3 // this.lblX3.BackColor = System.Drawing.Color.Transparent; this.lblX3.Location = new System.Drawing.Point(3, 172); this.lblX3.Name = "lblX3"; this.lblX3.Size = new System.Drawing.Size(55, 23); this.lblX3.TabIndex = 9; this.lblX3.Text = "权限:"; // // lblX2 // this.lblX2.BackColor = System.Drawing.Color.Transparent; this.lblX2.Location = new System.Drawing.Point(3, 42); this.lblX2.Name = "lblX2"; this.lblX2.Size = new System.Drawing.Size(43, 23); this.lblX2.TabIndex = 8; this.lblX2.Text = "姓名:"; // // lblX1 // this.lblX1.BackColor = System.Drawing.Color.Transparent; this.lblX1.Location = new System.Drawing.Point(3, 13); this.lblX1.Name = "lblX1"; this.lblX1.Size = new System.Drawing.Size(55, 23); this.lblX1.TabIndex = 7; this.lblX1.Text = "工号:"; // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.BackColor = System.Drawing.Color.MistyRose; this.linkLabel1.Location = new System.Drawing.Point(179, 15); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(29, 12); this.linkLabel1.TabIndex = 6; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "检查"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // comboBoxEx1 // this.comboBoxEx1.DisplayMember = "Text"; this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxEx1.FormattingEnabled = true; this.comboBoxEx1.Location = new System.Drawing.Point(64, 173); this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.Size = new System.Drawing.Size(121, 22); this.comboBoxEx1.TabIndex = 5; this.comboBoxEx1.SelectionChangeCommitted += new System.EventHandler(this.comboBoxEx1_SelectionChangeCommitted); // // txtBoxX2 // this.txtBoxX2.BackColor = System.Drawing.Color.YellowGreen; // // // this.txtBoxX2.Border.Class = "TextBoxBorder"; this.txtBoxX2.Location = new System.Drawing.Point(64, 42); this.txtBoxX2.Name = "txtBoxX2"; this.txtBoxX2.Size = new System.Drawing.Size(100, 21); this.txtBoxX2.TabIndex = 1; // // txtBoxX1 // this.txtBoxX1.BackColor = System.Drawing.Color.YellowGreen; // // // this.txtBoxX1.Border.Class = "TextBoxBorder"; this.txtBoxX1.Location = new System.Drawing.Point(64, 13); this.txtBoxX1.Name = "txtBoxX1"; this.txtBoxX1.Size = new System.Drawing.Size(100, 21); this.txtBoxX1.TabIndex = 0; this.txtBoxX1.TextChanged += new System.EventHandler(this.txtBoxX1_TextChanged); this.txtBoxX1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtBoxX1_KeyPress); // // SetOp // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(638, 559); this.Controls.Add(this.panelEx1); this.Controls.Add(this.dockSite1); this.Controls.Add(this.dockSite2); this.Controls.Add(this.dockSite3); this.Controls.Add(this.dockSite4); this.Controls.Add(this.dockSite5); this.Controls.Add(this.dockSite6); this.Controls.Add(this.dockSite7); this.Controls.Add(this.dockSite8); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SetOp"; this.Text = "操作员设置"; this.Load += new System.EventHandler(this.SetOp_Load); this.dockSite7.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit(); this.panelEx1.ResumeLayout(false); this.groupPanel3.ResumeLayout(false); this.groupPanel2.ResumeLayout(false); this.groupPanel1.ResumeLayout(false); this.groupPanel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// 改变皮肤 /// </summary> /// <param name="st"></param> public static void ChangeSkin(SkinType st) { System.Reflection.Assembly thisDll = System.Reflection.Assembly.GetExecutingAssembly(); if (se == null) { //ShortMessageClient是指命名空间,这里你可以换成你自己的。 se = new Sunisoft.IrisSkin.SkinEngine(Application.OpenForms[0], thisDll.GetManifestResourceStream("OSM.skin." + st.ToString() + ".ssk")); se.Active = true; for (int i = 0; i < Application.OpenForms.Count; i++) { se.AddForm(Application.OpenForms[i]); } } else { //ShortMessageClient是指命名空间,这里你可以换成你自己的。 se.SkinStream = thisDll.GetManifestResourceStream("OSM.Skin." + st.ToString() + ".ssk"); se.Active = true; } }
private static void RunResumeFactory() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); FormLogin formLogin = new FormLogin(); Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine(formLogin); skin.SkinFile = ResumeFactory.Common.Config.SkinFile; skin.TitleFont = new System.Drawing.Font("微软雅黑", 10F); skin.SkinScrollBar = false; if (formLogin.ShowDialog() == DialogResult.OK) { Application.Run(new FormMain(formLogin.LoginUser)); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetLimit)); this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); this.label1 = new System.Windows.Forms.Label(); this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.lblX2 = new DevComponents.DotNetBar.LabelX(); this.lblX1 = new DevComponents.DotNetBar.LabelX(); this.txtBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.groupPanel2 = new DevComponents.DotNetBar.Controls.GroupPanel(); this.treeView1 = new System.Windows.Forms.TreeView(); this.dotNetBarManager1 = new DevComponents.DotNetBar.DotNetBarManager(this.components); this.dockSite4 = new DevComponents.DotNetBar.DockSite(); this.dockSite1 = new DevComponents.DotNetBar.DockSite(); this.dockSite2 = new DevComponents.DotNetBar.DockSite(); this.dockSite8 = new DevComponents.DotNetBar.DockSite(); this.dockSite5 = new DevComponents.DotNetBar.DockSite(); this.dockSite6 = new DevComponents.DotNetBar.DockSite(); this.dockSite7 = new DevComponents.DotNetBar.DockSite(); this.dockSite3 = new DevComponents.DotNetBar.DockSite(); this.btnItm_ADD = new DevComponents.DotNetBar.ButtonItem(); this.bar1 = new DevComponents.DotNetBar.Bar(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.BtnSave = new DevComponents.DotNetBar.ButtonItem(); this.BtnCancle = new DevComponents.DotNetBar.ButtonItem(); this.btnItm_Cancel = new DevComponents.DotNetBar.ButtonItem(); this.customizeItem1 = new DevComponents.DotNetBar.CustomizeItem(); this.panelEx1.SuspendLayout(); this.groupPanel1.SuspendLayout(); this.groupPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit(); this.SuspendLayout(); // // skinEngine1 // this.skinEngine1.SerialNumber = ""; this.skinEngine1.SkinFile = null; // // panelEx1 // this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control; this.panelEx1.ColorScheme.ItemDesignTimeBorder = System.Drawing.Color.Black; this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.panelEx1.Controls.Add(this.label1); this.panelEx1.Controls.Add(this.groupPanel1); this.panelEx1.Controls.Add(this.groupPanel2); this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(0, 0); this.panelEx1.Name = "panelEx1"; this.panelEx1.Size = new System.Drawing.Size(375, 562); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.panelEx1.Style.GradientAngle = 90; this.panelEx1.TabIndex = 0; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(96, 62); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(11, 12); this.label1.TabIndex = 2; this.label1.Text = "A"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label1.Visible = false; // // groupPanel1 // this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel1.Controls.Add(this.comboBoxEx1); this.groupPanel1.Controls.Add(this.lblX2); this.groupPanel1.Controls.Add(this.lblX1); this.groupPanel1.Controls.Add(this.txtBoxX2); this.groupPanel1.Location = new System.Drawing.Point(6, 75); this.groupPanel1.Name = "groupPanel1"; this.groupPanel1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.groupPanel1.Size = new System.Drawing.Size(363, 79); // // // this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.groupPanel1.Style.BackColorGradientAngle = 90; this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderBottomWidth = 1; this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderLeftWidth = 1; this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderRightWidth = 1; this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel1.Style.BorderTopWidth = 1; this.groupPanel1.Style.CornerDiameter = 4; this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.groupPanel1.TabIndex = 0; this.groupPanel1.Text = "权限组设置"; this.groupPanel1.TitleImagePosition = DevComponents.DotNetBar.eTitleImagePosition.Center; // // comboBoxEx1 // this.comboBoxEx1.DisplayMember = "Text"; this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx1.FormattingEnabled = true; this.comboBoxEx1.ItemHeight = 14; this.comboBoxEx1.Location = new System.Drawing.Point(70, 12); this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.Size = new System.Drawing.Size(121, 20); this.comboBoxEx1.TabIndex = 10; this.comboBoxEx1.SelectionChangeCommitted += new System.EventHandler(this.comboBoxEx1_SelectionChangeCommitted); // // lblX2 // this.lblX2.BackColor = System.Drawing.Color.Transparent; this.lblX2.Location = new System.Drawing.Point(200, 13); this.lblX2.Name = "lblX2"; this.lblX2.Size = new System.Drawing.Size(48, 23); this.lblX2.TabIndex = 9; this.lblX2.Text = "备注:"; // // lblX1 // this.lblX1.BackColor = System.Drawing.Color.Transparent; this.lblX1.Location = new System.Drawing.Point(-2, 13); this.lblX1.Name = "lblX1"; this.lblX1.Size = new System.Drawing.Size(66, 23); this.lblX1.TabIndex = 8; this.lblX1.Text = "权限名称:"; // // txtBoxX2 // // // // this.txtBoxX2.Border.Class = "TextBoxBorder"; this.txtBoxX2.Location = new System.Drawing.Point(254, 13); this.txtBoxX2.Name = "txtBoxX2"; this.txtBoxX2.Size = new System.Drawing.Size(100, 21); this.txtBoxX2.TabIndex = 3; // // groupPanel2 // this.groupPanel2.CanvasColor = System.Drawing.SystemColors.Control; this.groupPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.groupPanel2.Controls.Add(this.treeView1); this.groupPanel2.Location = new System.Drawing.Point(6, 160); this.groupPanel2.Name = "groupPanel2"; this.groupPanel2.Size = new System.Drawing.Size(363, 394); // // // this.groupPanel2.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.groupPanel2.Style.BackColorGradientAngle = 90; this.groupPanel2.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.groupPanel2.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderBottomWidth = 1; this.groupPanel2.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.groupPanel2.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderLeftWidth = 1; this.groupPanel2.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderRightWidth = 1; this.groupPanel2.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.groupPanel2.Style.BorderTopWidth = 1; this.groupPanel2.Style.CornerDiameter = 4; this.groupPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded; this.groupPanel2.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; this.groupPanel2.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near; this.groupPanel2.TabIndex = 1; this.groupPanel2.Text = "操作权限"; // // treeView1 // this.treeView1.CheckBoxes = true; this.treeView1.ItemHeight = 18; this.treeView1.Location = new System.Drawing.Point(3, 3); this.treeView1.Name = "treeView1"; this.treeView1.Size = new System.Drawing.Size(349, 361); this.treeView1.TabIndex = 0; this.treeView1.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterCheck); // // dotNetBarManager1 // this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.F1); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlC); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlA); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlV); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlX); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlZ); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlY); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.Del); this.dotNetBarManager1.AutoDispatchShortcuts.Add(DevComponents.DotNetBar.eShortcut.Ins); this.dotNetBarManager1.BottomDockSite = this.dockSite4; this.dotNetBarManager1.DefinitionName = ""; this.dotNetBarManager1.EnableFullSizeDock = false; this.dotNetBarManager1.LeftDockSite = this.dockSite1; this.dotNetBarManager1.ParentForm = this; this.dotNetBarManager1.RightDockSite = this.dockSite2; this.dotNetBarManager1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2003; this.dotNetBarManager1.ToolbarBottomDockSite = this.dockSite8; this.dotNetBarManager1.ToolbarLeftDockSite = this.dockSite5; this.dotNetBarManager1.ToolbarRightDockSite = this.dockSite6; this.dotNetBarManager1.ToolbarTopDockSite = this.dockSite7; this.dotNetBarManager1.TopDockSite = this.dockSite3; // // dockSite4 // this.dockSite4.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite4.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockSite4.Location = new System.Drawing.Point(0, 562); this.dockSite4.Name = "dockSite4"; this.dockSite4.Size = new System.Drawing.Size(375, 0); this.dockSite4.TabIndex = 4; this.dockSite4.TabStop = false; // // dockSite1 // this.dockSite1.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite1.Dock = System.Windows.Forms.DockStyle.Left; this.dockSite1.Location = new System.Drawing.Point(0, 0); this.dockSite1.Name = "dockSite1"; this.dockSite1.Size = new System.Drawing.Size(0, 562); this.dockSite1.TabIndex = 1; this.dockSite1.TabStop = false; // // dockSite2 // this.dockSite2.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite2.Dock = System.Windows.Forms.DockStyle.Right; this.dockSite2.Location = new System.Drawing.Point(375, 0); this.dockSite2.Name = "dockSite2"; this.dockSite2.Size = new System.Drawing.Size(0, 562); this.dockSite2.TabIndex = 2; this.dockSite2.TabStop = false; // // dockSite8 // this.dockSite8.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite8.Dock = System.Windows.Forms.DockStyle.Bottom; this.dockSite8.Location = new System.Drawing.Point(0, 562); this.dockSite8.Name = "dockSite8"; this.dockSite8.Size = new System.Drawing.Size(375, 0); this.dockSite8.TabIndex = 8; this.dockSite8.TabStop = false; // // dockSite5 // this.dockSite5.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite5.Dock = System.Windows.Forms.DockStyle.Left; this.dockSite5.Location = new System.Drawing.Point(0, 0); this.dockSite5.Name = "dockSite5"; this.dockSite5.Size = new System.Drawing.Size(0, 562); this.dockSite5.TabIndex = 5; this.dockSite5.TabStop = false; // // dockSite6 // this.dockSite6.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite6.Dock = System.Windows.Forms.DockStyle.Right; this.dockSite6.Location = new System.Drawing.Point(375, 0); this.dockSite6.Name = "dockSite6"; this.dockSite6.Size = new System.Drawing.Size(0, 562); this.dockSite6.TabIndex = 6; this.dockSite6.TabStop = false; // // dockSite7 // this.dockSite7.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite7.Dock = System.Windows.Forms.DockStyle.Top; this.dockSite7.Location = new System.Drawing.Point(0, 0); this.dockSite7.Name = "dockSite7"; this.dockSite7.Size = new System.Drawing.Size(375, 0); this.dockSite7.TabIndex = 7; this.dockSite7.TabStop = false; // // dockSite3 // this.dockSite3.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.dockSite3.Dock = System.Windows.Forms.DockStyle.Top; this.dockSite3.Location = new System.Drawing.Point(0, 0); this.dockSite3.Name = "dockSite3"; this.dockSite3.Size = new System.Drawing.Size(375, 0); this.dockSite3.TabIndex = 3; this.dockSite3.TabStop = false; // // btnItm_ADD // this.btnItm_ADD.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_ADD.Image"))); this.btnItm_ADD.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_ADD.ImagePaddingHorizontal = 8; this.btnItm_ADD.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_ADD.Name = "btnItm_ADD"; this.btnItm_ADD.Text = "添加"; this.btnItm_ADD.Click += new System.EventHandler(this.btnItm_ADD_Click); // // bar1 // this.bar1.AccessibleDescription = "DotNetBar Bar (bar1)"; this.bar1.AccessibleName = "DotNetBar Bar"; this.bar1.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar; this.bar1.Dock = System.Windows.Forms.DockStyle.Fill; this.bar1.GrabHandleStyle = DevComponents.DotNetBar.eGrabHandleStyle.Office2003; this.bar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnItm_ADD, this.buttonItem2, this.buttonItem1, this.BtnSave, this.BtnCancle, this.btnItm_Cancel, this.customizeItem1}); this.bar1.Location = new System.Drawing.Point(0, 0); this.bar1.Name = "bar1"; this.bar1.Size = new System.Drawing.Size(375, 59); this.bar1.Stretch = true; this.bar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.bar1.TabIndex = 0; this.bar1.TabStop = false; this.bar1.Text = "bar1"; // // buttonItem2 // this.buttonItem2.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem2.Image"))); this.buttonItem2.ImageFixedSize = new System.Drawing.Size(32, 32); this.buttonItem2.ImagePaddingHorizontal = 8; this.buttonItem2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem2.Name = "buttonItem2"; this.buttonItem2.Text = "修改"; this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click); // // buttonItem1 // this.buttonItem1.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image"))); this.buttonItem1.ImageFixedSize = new System.Drawing.Size(32, 32); this.buttonItem1.ImagePaddingHorizontal = 8; this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Text = "删除"; this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click); // // BtnSave // this.BtnSave.Image = ((System.Drawing.Image)(resources.GetObject("BtnSave.Image"))); this.BtnSave.ImagePaddingHorizontal = 8; this.BtnSave.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.BtnSave.Name = "BtnSave"; this.BtnSave.Text = "保存"; this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click); // // BtnCancle // this.BtnCancle.Image = ((System.Drawing.Image)(resources.GetObject("BtnCancle.Image"))); this.BtnCancle.ImagePaddingHorizontal = 8; this.BtnCancle.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.BtnCancle.Name = "BtnCancle"; this.BtnCancle.Text = "撤消"; this.BtnCancle.Click += new System.EventHandler(this.BtnCancle_Click); // // btnItm_Cancel // this.btnItm_Cancel.Image = ((System.Drawing.Image)(resources.GetObject("btnItm_Cancel.Image"))); this.btnItm_Cancel.ImageFixedSize = new System.Drawing.Size(32, 32); this.btnItm_Cancel.ImagePaddingHorizontal = 8; this.btnItm_Cancel.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top; this.btnItm_Cancel.Name = "btnItm_Cancel"; this.btnItm_Cancel.Text = "退出"; this.btnItm_Cancel.Click += new System.EventHandler(this.btnItm_Cancel_Click); // // customizeItem1 // this.customizeItem1.Name = "customizeItem1"; this.customizeItem1.Text = "添加或删除按钮(&A)"; this.customizeItem1.Tooltip = "工具栏选项"; // // SetLimit // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; this.AutoScrollMinSize = new System.Drawing.Size(0, 10); this.AutoSize = true; this.ClientSize = new System.Drawing.Size(375, 562); this.Controls.Add(this.bar1); this.Controls.Add(this.panelEx1); this.Controls.Add(this.dockSite1); this.Controls.Add(this.dockSite2); this.Controls.Add(this.dockSite3); this.Controls.Add(this.dockSite4); this.Controls.Add(this.dockSite5); this.Controls.Add(this.dockSite6); this.Controls.Add(this.dockSite7); this.Controls.Add(this.dockSite8); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SetLimit"; this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds; this.Text = "系统权限设置"; this.Load += new System.EventHandler(this.setlimit_Load); this.Resize += new System.EventHandler(this.SetLimit_Resize); this.panelEx1.ResumeLayout(false); this.panelEx1.PerformLayout(); this.groupPanel1.ResumeLayout(false); this.groupPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Initializes the <see cref="IrisSkin2Proccssor"/> class. /// </summary> public static void InitSkinEngine() { System.Reflection.Assembly thisDll = System.Reflection.Assembly.GetExecutingAssembly(); if (se == null) { se = new Sunisoft.IrisSkin.SkinEngine(Application.OpenForms[0], thisDll.GetManifestResourceStream(defaultSkin)); se.SkinAllForm = true; se.SkinDialogs = true; //se.SkinScrollBar = true; se.Active = true; } else { se.SkinStream = thisDll.GetManifestResourceStream(defaultSkin); se.SkinAllForm = true; se.SkinDialogs = true; //se.SkinScrollBar = true; se.Active = true; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnlogin = new System.Windows.Forms.Button(); this.txtusername = new System.Windows.Forms.TextBox(); this.btncancel = new System.Windows.Forms.Button(); this.txtuserpwd = new System.Windows.Forms.TextBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // skinEngine1 // this.skinEngine1.SerialNumber = ""; this.skinEngine1.SkinFile = null; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(42, 96); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(49, 13); this.label1.TabIndex = 25; this.label1.Text = "User ID:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(42, 139); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(59, 13); this.label2.TabIndex = 26; this.label2.Text = "Password:"; // // btnlogin // this.btnlogin.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); this.btnlogin.Location = new System.Drawing.Point(110, 181); this.btnlogin.Name = "btnlogin"; this.btnlogin.Size = new System.Drawing.Size(59, 24); this.btnlogin.TabIndex = 30; this.btnlogin.Text = "Login"; this.btnlogin.UseCompatibleTextRendering = true; this.btnlogin.UseVisualStyleBackColor = true; this.btnlogin.Click += new System.EventHandler(this.btnlogin_Click); // // txtusername // this.txtusername.Location = new System.Drawing.Point(102, 93); this.txtusername.Name = "txtusername"; this.txtusername.Size = new System.Drawing.Size(159, 20); this.txtusername.TabIndex = 24; // // btncancel // this.btncancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btncancel.Location = new System.Drawing.Point(192, 181); this.btncancel.Name = "btncancel"; this.btncancel.Size = new System.Drawing.Size(59, 24); this.btncancel.TabIndex = 31; this.btncancel.Text = "Cancel"; this.btncancel.UseVisualStyleBackColor = true; this.btncancel.Click += new System.EventHandler(this.btncancel_Click); // // txtuserpwd // this.txtuserpwd.Location = new System.Drawing.Point(102, 135); this.txtuserpwd.Name = "txtuserpwd"; this.txtuserpwd.PasswordChar = '*'; this.txtuserpwd.Size = new System.Drawing.Size(159, 20); this.txtuserpwd.TabIndex = 27; this.txtuserpwd.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtuserpwd_KeyUp); // // pictureBox1 // this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; this.pictureBox1.Image = global::fxpa.Properties.Resources.about; this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(311, 70); this.pictureBox1.TabIndex = 33; this.pictureBox1.TabStop = false; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.btncancel); this.panel1.Controls.Add(this.txtuserpwd); this.panel1.Controls.Add(this.btnlogin); this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.txtusername); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(313, 222); this.panel1.TabIndex = 12; // // LoginForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(313, 222); this.Controls.Add(this.panel1); this.Icon = global::fxpa.Properties.Resources.fxpa_app; this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(329, 260); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(329, 260); this.Name = "LoginForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Forex-Mate User Login"; this.TopMost = true; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LoginForm_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }
private void LoginForm_Load(object sender, EventArgs e) { //皮肤 Sunisoft.IrisSkin.SkinEngine skin = new Sunisoft.IrisSkin.SkinEngine(); skin.SkinAllForm = true; skin.SkinFile = "Skins/MP10/mp10.ssk";// "Skins/MacOS/MacOS.ssk"; //"Skins/MP10/mp10.ssk"; //"Skins/MacOS/MacOS.ssk"; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmLogin)); this.skinEngine1 = new Sunisoft.IrisSkin.SkinEngine(((System.ComponentModel.Component)(this))); this.bubbleBar1 = new DevComponents.DotNetBar.BubbleBar(); this.bubbleBarTab1 = new DevComponents.DotNetBar.BubbleBarTab(this.components); this.bubbleBarTab2 = new DevComponents.DotNetBar.BubbleBarTab(this.components); this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); this.button3 = new System.Windows.Forms.Button(); this.textBox11 = new System.Windows.Forms.TextBox(); this.textBox8 = new System.Windows.Forms.TextBox(); this.textBox10 = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.CmdGet = new System.Windows.Forms.Button(); this.label9 = new System.Windows.Forms.Label(); this.textBox9 = new System.Windows.Forms.TextBox(); this.TabP2 = new DevComponents.DotNetBar.TabItem(this.components); this.tabControl1 = new DevComponents.DotNetBar.TabControl(); this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); this.comboBoxEx1 = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.CmdCancel = new System.Windows.Forms.Button(); this.textBox6 = new System.Windows.Forms.TextBox(); this.CmdOK = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.TabP1 = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel4 = new DevComponents.DotNetBar.TabControlPanel(); this.button1 = new System.Windows.Forms.Button(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); this.button2 = new System.Windows.Forms.Button(); this.textBox4 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.TabP3 = new DevComponents.DotNetBar.TabItem(this.components); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.labelX2 = new DevComponents.DotNetBar.LabelX(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.bubbleBar1)).BeginInit(); this.tabControlPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabControlPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.tabControlPanel4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.tabControlPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); // // skinEngine1 // this.skinEngine1.Enable3rdControl = true; this.skinEngine1.SerialNumber = ""; this.skinEngine1.SkinFile = null; // // bubbleBar1 // this.bubbleBar1.Alignment = DevComponents.DotNetBar.eBubbleButtonAlignment.Bottom; this.bubbleBar1.AntiAlias = true; this.bubbleBar1.BackColor = System.Drawing.Color.Transparent; // // // this.bubbleBar1.ButtonBackAreaStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); this.bubbleBar1.ButtonBackAreaStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; this.bubbleBar1.ButtonBackAreaStyle.BorderBottomWidth = 1; this.bubbleBar1.ButtonBackAreaStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.bubbleBar1.ButtonBackAreaStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; this.bubbleBar1.ButtonBackAreaStyle.BorderLeftWidth = 1; this.bubbleBar1.ButtonBackAreaStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; this.bubbleBar1.ButtonBackAreaStyle.BorderRightWidth = 1; this.bubbleBar1.ButtonBackAreaStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; this.bubbleBar1.ButtonBackAreaStyle.BorderTopWidth = 1; this.bubbleBar1.ButtonBackAreaStyle.PaddingBottom = 3; this.bubbleBar1.ButtonBackAreaStyle.PaddingLeft = 3; this.bubbleBar1.ButtonBackAreaStyle.PaddingRight = 3; this.bubbleBar1.ButtonBackAreaStyle.PaddingTop = 3; this.bubbleBar1.Dock = System.Windows.Forms.DockStyle.Bottom; this.bubbleBar1.ImageSizeNormal = new System.Drawing.Size(24, 24); this.bubbleBar1.Location = new System.Drawing.Point(0, 648); this.bubbleBar1.MouseOverTabColors.BorderColor = System.Drawing.SystemColors.Highlight; this.bubbleBar1.Name = "bubbleBar1"; this.bubbleBar1.SelectedTab = this.bubbleBarTab1; this.bubbleBar1.SelectedTabColors.BorderColor = System.Drawing.Color.Black; this.bubbleBar1.Size = new System.Drawing.Size(839, 52); this.bubbleBar1.TabIndex = 7; this.bubbleBar1.Tabs.Add(this.bubbleBarTab1); this.bubbleBar1.Tabs.Add(this.bubbleBarTab2); // // bubbleBarTab1 // this.bubbleBarTab1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(230)))), ((int)(((byte)(247))))); this.bubbleBarTab1.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(168)))), ((int)(((byte)(228))))); this.bubbleBarTab1.DarkBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); this.bubbleBarTab1.LightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.bubbleBarTab1.Name = "bubbleBarTab1"; this.bubbleBarTab1.PredefinedColor = DevComponents.DotNetBar.eTabItemColor.Blue; this.bubbleBarTab1.Text = "开发单位"; this.bubbleBarTab1.TextColor = System.Drawing.Color.Black; // // bubbleBarTab2 // this.bubbleBarTab2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(244)))), ((int)(((byte)(213))))); this.bubbleBarTab2.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(216)))), ((int)(((byte)(105))))); this.bubbleBarTab2.DarkBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105))))); this.bubbleBarTab2.LightBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.bubbleBarTab2.Name = "bubbleBarTab2"; this.bubbleBarTab2.PredefinedColor = DevComponents.DotNetBar.eTabItemColor.Yellow; this.bubbleBarTab2.Text = "软件版本"; this.bubbleBarTab2.TextColor = System.Drawing.Color.Black; // // tabControlPanel2 // this.tabControlPanel2.Controls.Add(this.button3); this.tabControlPanel2.Controls.Add(this.textBox11); this.tabControlPanel2.Controls.Add(this.textBox8); this.tabControlPanel2.Controls.Add(this.textBox10); this.tabControlPanel2.Controls.Add(this.label8); this.tabControlPanel2.Controls.Add(this.CmdGet); this.tabControlPanel2.Controls.Add(this.label9); this.tabControlPanel2.Controls.Add(this.textBox9); this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel2.Location = new System.Drawing.Point(0, 25); this.tabControlPanel2.Name = "tabControlPanel2"; this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel2.Size = new System.Drawing.Size(409, 164); this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.Green; this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel2.Style.GradientAngle = 90; this.tabControlPanel2.TabIndex = 2; this.tabControlPanel2.TabItem = this.TabP2; // // button3 // this.button3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button3.Location = new System.Drawing.Point(365, 130); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(46, 25); this.button3.TabIndex = 12; this.button3.Text = "退 出"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // textBox11 // this.textBox11.Location = new System.Drawing.Point(69, 137); this.textBox11.Name = "textBox11"; this.textBox11.Size = new System.Drawing.Size(110, 21); this.textBox11.TabIndex = 10; this.textBox11.Visible = false; // // textBox8 // this.textBox8.Location = new System.Drawing.Point(69, 92); this.textBox8.MaxLength = 20; this.textBox8.Name = "textBox8"; this.textBox8.Size = new System.Drawing.Size(323, 21); this.textBox8.TabIndex = 5; // // textBox10 // this.textBox10.Location = new System.Drawing.Point(69, 119); this.textBox10.Name = "textBox10"; this.textBox10.Size = new System.Drawing.Size(110, 21); this.textBox10.TabIndex = 9; this.textBox10.Visible = false; // // label8 // this.label8.AutoSize = true; this.label8.BackColor = System.Drawing.Color.Transparent; this.label8.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.label8.Location = new System.Drawing.Point(23, 15); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(37, 14); this.label8.TabIndex = 0; this.label8.Text = "问题"; // // CmdGet // this.CmdGet.ForeColor = System.Drawing.SystemColors.HotTrack; this.CmdGet.Location = new System.Drawing.Point(290, 130); this.CmdGet.Name = "CmdGet"; this.CmdGet.Size = new System.Drawing.Size(60, 25); this.CmdGet.TabIndex = 8; this.CmdGet.Text = "提 交"; this.CmdGet.UseVisualStyleBackColor = true; this.CmdGet.Click += new System.EventHandler(this.CmdGet_Click); // // label9 // this.label9.AutoSize = true; this.label9.BackColor = System.Drawing.Color.Transparent; this.label9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label9.Location = new System.Drawing.Point(20, 93); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(35, 14); this.label9.TabIndex = 6; this.label9.Text = "答案"; // // textBox9 // this.textBox9.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox9.ForeColor = System.Drawing.Color.Blue; this.textBox9.Location = new System.Drawing.Point(69, 15); this.textBox9.MaxLength = 20; this.textBox9.Multiline = true; this.textBox9.Name = "textBox9"; this.textBox9.Size = new System.Drawing.Size(323, 62); this.textBox9.TabIndex = 7; // // TabP2 // this.TabP2.AttachedControl = this.tabControlPanel2; this.TabP2.Name = "TabP2"; this.TabP2.Text = "忘记密码"; // // tabControl1 // this.tabControl1.BackColor = System.Drawing.Color.Transparent; this.tabControl1.CanReorderTabs = true; this.tabControl1.ColorScheme.TabBorder = System.Drawing.Color.Green; this.tabControl1.ColorScheme.TabItemBackgroundColorBlend.AddRange(new DevComponents.DotNetBar.BackgroundColorBlend[] { new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(230)))), ((int)(((byte)(249))))), 0F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(199)))), ((int)(((byte)(220)))), ((int)(((byte)(248))))), 0.45F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(179)))), ((int)(((byte)(208)))), ((int)(((byte)(245))))), 0.45F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(229)))), ((int)(((byte)(247))))), 1F)}); this.tabControl1.ColorScheme.TabItemBorder = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.tabControl1.ColorScheme.TabItemBorderDark = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tabControl1.ColorScheme.TabItemHotBackground2 = System.Drawing.Color.LimeGreen; this.tabControl1.ColorScheme.TabItemHotBackgroundColorBlend.AddRange(new DevComponents.DotNetBar.BackgroundColorBlend[] { new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(253)))), ((int)(((byte)(235))))), 0F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(236)))), ((int)(((byte)(168))))), 0.45F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(218)))), ((int)(((byte)(89))))), 0.45F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(230)))), ((int)(((byte)(141))))), 1F)}); this.tabControl1.ColorScheme.TabItemSelectedBackgroundColorBlend.AddRange(new DevComponents.DotNetBar.BackgroundColorBlend[] { new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(210)))), ((int)(((byte)(155))))), 0F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(187)))), ((int)(((byte)(110))))), 0.45F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(175)))), ((int)(((byte)(68))))), 0.45F), new DevComponents.DotNetBar.BackgroundColorBlend(System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(220)))), ((int)(((byte)(117))))), 1F)}); this.tabControl1.ColorScheme.TabItemSelectedBorder = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.tabControl1.ColorScheme.TabPanelBorder = System.Drawing.Color.Green; this.tabControl1.Controls.Add(this.tabControlPanel1); this.tabControl1.Controls.Add(this.tabControlPanel4); this.tabControl1.Controls.Add(this.tabControlPanel2); this.tabControl1.Controls.Add(this.tabControlPanel3); this.tabControl1.Location = new System.Drawing.Point(430, 310); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); this.tabControl1.SelectedTabIndex = 0; this.tabControl1.Size = new System.Drawing.Size(409, 189); this.tabControl1.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Document; this.tabControl1.TabIndex = 7; this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.MultilineWithNavigationBox; this.tabControl1.Tabs.Add(this.TabP1); this.tabControl1.Tabs.Add(this.TabP2); this.tabControl1.Tabs.Add(this.TabP3); this.tabControl1.Tabs.Add(this.tabItem1); this.tabControl1.Text = "tabControl2"; this.tabControl1.SelectedTabChanged += new DevComponents.DotNetBar.TabStrip.SelectedTabChangedEventHandler(this.tabControl1_SelectedTabChanged); this.tabControl1.TabIndexChanged += new System.EventHandler(this.tabControl1_TabIndexChanged); // // tabControlPanel1 // this.tabControlPanel1.Controls.Add(this.comboBoxEx1); this.tabControlPanel1.Controls.Add(this.pictureBox1); this.tabControlPanel1.Controls.Add(this.CmdCancel); this.tabControlPanel1.Controls.Add(this.textBox6); this.tabControlPanel1.Controls.Add(this.CmdOK); this.tabControlPanel1.Controls.Add(this.label6); this.tabControlPanel1.Controls.Add(this.label5); this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel1.Location = new System.Drawing.Point(0, 25); this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel1.Size = new System.Drawing.Size(409, 164); this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.Green; this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel1.Style.GradientAngle = 90; this.tabControlPanel1.TabIndex = 1; this.tabControlPanel1.TabItem = this.TabP1; // // comboBoxEx1 // this.comboBoxEx1.DisplayMember = "Text"; this.comboBoxEx1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.comboBoxEx1.FormattingEnabled = true; this.comboBoxEx1.Location = new System.Drawing.Point(225, 51); this.comboBoxEx1.Name = "comboBoxEx1"; this.comboBoxEx1.Size = new System.Drawing.Size(121, 22); this.comboBoxEx1.TabIndex = 10; // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.Color.Transparent; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(76, 38); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(77, 80); this.pictureBox1.TabIndex = 6; this.pictureBox1.TabStop = false; // // CmdCancel // this.CmdCancel.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.CmdCancel.Location = new System.Drawing.Point(238, 134); this.CmdCancel.Name = "CmdCancel"; this.CmdCancel.Size = new System.Drawing.Size(46, 25); this.CmdCancel.TabIndex = 5; this.CmdCancel.Text = "退 出"; this.CmdCancel.UseVisualStyleBackColor = true; this.CmdCancel.Click += new System.EventHandler(this.CmdCancel_Click); // // textBox6 // this.textBox6.Location = new System.Drawing.Point(225, 87); this.textBox6.MaxLength = 16; this.textBox6.Name = "textBox6"; this.textBox6.PasswordChar = '*'; this.textBox6.Size = new System.Drawing.Size(121, 21); this.textBox6.TabIndex = 7; this.textBox6.Tag = "输入登录密码"; // // CmdOK // this.CmdOK.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.CmdOK.ForeColor = System.Drawing.SystemColors.ControlText; this.CmdOK.Location = new System.Drawing.Point(140, 134); this.CmdOK.Name = "CmdOK"; this.CmdOK.Size = new System.Drawing.Size(46, 25); this.CmdOK.TabIndex = 4; this.CmdOK.Text = "登 录"; this.CmdOK.UseVisualStyleBackColor = true; this.CmdOK.Click += new System.EventHandler(this.CmdOK_Click); // // label6 // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.Color.Transparent; this.label6.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label6.Location = new System.Drawing.Point(170, 91); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(49, 14); this.label6.TabIndex = 9; this.label6.Text = "密 码"; // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.Color.Transparent; this.label5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.label5.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label5.Location = new System.Drawing.Point(170, 51); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(49, 14); this.label5.TabIndex = 8; this.label5.Text = "姓 名"; // // TabP1 // this.TabP1.AttachedControl = this.tabControlPanel1; this.TabP1.Name = "TabP1"; this.TabP1.Text = "登录"; // // tabControlPanel4 // this.tabControlPanel4.Controls.Add(this.button1); this.tabControlPanel4.Controls.Add(this.pictureBox2); this.tabControlPanel4.Controls.Add(this.linkLabel1); this.tabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel4.Location = new System.Drawing.Point(0, 25); this.tabControlPanel4.Name = "tabControlPanel4"; this.tabControlPanel4.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel4.Size = new System.Drawing.Size(409, 164); this.tabControlPanel4.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.Green; this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel4.Style.GradientAngle = 90; this.tabControlPanel4.TabIndex = 4; this.tabControlPanel4.TabItem = this.tabItem1; // // button1 // this.button1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button1.Location = new System.Drawing.Point(290, 88); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(46, 25); this.button1.TabIndex = 11; this.button1.Text = "退 出"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // pictureBox2 // this.pictureBox2.BackColor = System.Drawing.Color.Transparent; this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); this.pictureBox2.Location = new System.Drawing.Point(99, 33); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(77, 80); this.pictureBox2.TabIndex = 10; this.pictureBox2.TabStop = false; // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.BackColor = System.Drawing.Color.Transparent; this.linkLabel1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.linkLabel1.Location = new System.Drawing.Point(202, 97); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(35, 14); this.linkLabel1.TabIndex = 0; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "升级"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // tabItem1 // this.tabItem1.AttachedControl = this.tabControlPanel4; this.tabItem1.Name = "tabItem1"; this.tabItem1.Text = "系统升级"; this.tabItem1.Visible = false; // // tabControlPanel3 // this.tabControlPanel3.Controls.Add(this.button2); this.tabControlPanel3.Controls.Add(this.textBox4); this.tabControlPanel3.Controls.Add(this.label1); this.tabControlPanel3.Controls.Add(this.label4); this.tabControlPanel3.Controls.Add(this.textBox1); this.tabControlPanel3.Controls.Add(this.textBox3); this.tabControlPanel3.Controls.Add(this.label2); this.tabControlPanel3.Controls.Add(this.label3); this.tabControlPanel3.Controls.Add(this.textBox2); this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPanel3.Location = new System.Drawing.Point(0, 25); this.tabControlPanel3.Name = "tabControlPanel3"; this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); this.tabControlPanel3.Size = new System.Drawing.Size(409, 164); this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.Green; this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); this.tabControlPanel3.Style.GradientAngle = 90; this.tabControlPanel3.TabIndex = 3; this.tabControlPanel3.TabItem = this.TabP3; // // button2 // this.button2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button2.Location = new System.Drawing.Point(362, 135); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(46, 25); this.button2.TabIndex = 23; this.button2.Text = "退 出"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // textBox4 // this.textBox4.Location = new System.Drawing.Point(189, 102); this.textBox4.Name = "textBox4"; this.textBox4.PasswordChar = '*'; this.textBox4.Size = new System.Drawing.Size(151, 21); this.textBox4.TabIndex = 20; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(106, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(77, 14); this.label1.TabIndex = 16; this.label1.Text = "服务器名称"; // // label4 // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.Color.Transparent; this.label4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label4.Location = new System.Drawing.Point(120, 105); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(63, 14); this.label4.TabIndex = 22; this.label4.Text = "用户密码"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(189, 21); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(151, 21); this.textBox1.TabIndex = 15; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(189, 75); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(151, 21); this.textBox3.TabIndex = 19; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(106, 51); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(77, 14); this.label2.TabIndex = 18; this.label2.Text = "数据库名称"; // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Transparent; this.label3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label3.Location = new System.Drawing.Point(120, 78); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(63, 14); this.label3.TabIndex = 21; this.label3.Text = "用户名称"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(189, 48); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(151, 21); this.textBox2.TabIndex = 17; // // TabP3 // this.TabP3.AttachedControl = this.tabControlPanel3; this.TabP3.Name = "TabP3"; this.TabP3.Text = "连接参数"; // // labelX1 // this.labelX1.BackColor = System.Drawing.Color.Transparent; this.labelX1.ForeColor = System.Drawing.Color.Crimson; this.labelX1.Location = new System.Drawing.Point(162, 671); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(500, 23); this.labelX1.TabIndex = 8; this.labelX1.Text = " Ver 1.0"; this.labelX1.TextAlignment = System.Drawing.StringAlignment.Center; // // labelX2 // this.labelX2.BackColor = System.Drawing.Color.White; this.labelX2.Font = new System.Drawing.Font("华文新魏", 30F, System.Drawing.FontStyle.Italic); this.labelX2.ForeColor = System.Drawing.Color.Crimson; this.labelX2.Location = new System.Drawing.Point(12, 114); this.labelX2.Name = "labelX2"; this.labelX2.Size = new System.Drawing.Size(398, 49); this.labelX2.TabIndex = 9; this.labelX2.Text = "酒店消费管理系统"; this.labelX2.TextAlignment = System.Drawing.StringAlignment.Center; // // pictureBox3 // this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); this.pictureBox3.Location = new System.Drawing.Point(590, 28); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(185, 51); this.pictureBox3.TabIndex = 10; this.pictureBox3.TabStop = false; // // FrmLogin // this.AcceptButton = this.CmdOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage"))); this.ClientSize = new System.Drawing.Size(839, 700); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.labelX2); this.Controls.Add(this.tabControl1); this.Controls.Add(this.labelX1); this.Controls.Add(this.bubbleBar1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmLogin"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "酒店会员管理系统"; this.TransparencyKey = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.Load += new System.EventHandler(this.FrmLogin_Load); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmLogin_FormClosed); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmLogin_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.bubbleBar1)).EndInit(); this.tabControlPanel2.ResumeLayout(false); this.tabControlPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabControlPanel1.ResumeLayout(false); this.tabControlPanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.tabControlPanel4.ResumeLayout(false); this.tabControlPanel4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.tabControlPanel3.ResumeLayout(false); this.tabControlPanel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.ResumeLayout(false); }