| | |
| | | <appSettings> |
| | | <add key="WebApiUrl" value="http://localhost:5263/"/> |
| | | <add key="LogPath" value="logs"/> |
| | | <add key="ProductName" value="广深MES-V2.0"/> |
| | | <add key="ProductName" value="广深科技 G-MES V2.0"/> |
| | | </appSettings> |
| | | </configuration> |
| | |
| | | this.lbVersion.ForeColor = System.Drawing.Color.White; |
| | | this.lbVersion.Location = new System.Drawing.Point(12, 9); |
| | | this.lbVersion.Name = "lbVersion"; |
| | | this.lbVersion.Size = new System.Drawing.Size(150, 24); |
| | | this.lbVersion.Size = new System.Drawing.Size(0, 24); |
| | | this.lbVersion.TabIndex = 244; |
| | | this.lbVersion.Text = "广深MES-V2.0"; |
| | | // |
| | | // panel1 |
| | | // |
| | |
| | | this.MinimizeBox = false; |
| | | this.Name = "FrmLogin"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
| | | this.TopMost = true; |
| | | this.panel1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtUser.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.chkSaveLoginInfo.Properties)).EndInit(); |
| | |
| | | public FrmLogin() |
| | | { |
| | | InitializeComponent(); |
| | | this.Text = System.Configuration.ConfigurationSettings.AppSettings.Get("ProductName").ToString(); |
| | | this.Text=lbVersion.Text = System.Configuration.ConfigurationSettings.AppSettings.Get("ProductName").ToString(); |
| | | btnLogin.Click += BtnLogin_Click; |
| | | btnCancel.Click += BtnCancel_Click; |
| | | UtilityHelper.SetFont(panel1); |
| | |
| | | sdf.SetCaption("执行进度(" + (i - 80) + "/" + i.ToString() + ")"); |
| | | try |
| | | { |
| | | |
| | | string strJson = UtilityHelper.HttpPost("", "User/UserLogin", JsonConvert.SerializeObject(_obj)); |
| | | ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.GetDataByJson(strJson); |
| | | JObject _login = _rtn.rtnData; |
| | |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain)); |
| | | this.fluentDesignFormContainer1 = new DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormContainer(); |
| | | this.statusStrip1 = new System.Windows.Forms.StatusStrip(); |
| | | this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.tooLoading = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.toolTime = new System.Windows.Forms.ToolStripStatusLabel(); |
| | | this.tab = new DevExpress.XtraTab.XtraTabControl(); |
| | | this.fluentDesignFormControl1 = new DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl(); |
| | |
| | | // |
| | | this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); |
| | | this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.toolStripStatusLabel1, |
| | | this.tooLoading, |
| | | this.toolStripStatusLabel4, |
| | | this.toolStripStatusLabel3, |
| | | this.toolStripStatusLabel2, |
| | | this.toolStripStatusLabel5, |
| | | this.toolTime}); |
| | | this.statusStrip1.Location = new System.Drawing.Point(0, 701); |
| | | this.statusStrip1.Name = "statusStrip1"; |
| | | this.statusStrip1.Size = new System.Drawing.Size(806, 26); |
| | | this.statusStrip1.TabIndex = 5; |
| | | this.statusStrip1.Text = "statusStrip1"; |
| | | // |
| | | // toolStripStatusLabel1 |
| | | // |
| | | this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; |
| | | this.toolStripStatusLabel1.Size = new System.Drawing.Size(17, 20); |
| | | this.toolStripStatusLabel1.Text = " "; |
| | | // |
| | | // tooLoading |
| | | // |
| | | this.tooLoading.Image = global::Gs.DevApp.Properties.Resources.convert_16x16; |
| | | this.tooLoading.Name = "tooLoading"; |
| | | this.tooLoading.Size = new System.Drawing.Size(119, 20); |
| | | this.tooLoading.Text = "重新加载系统"; |
| | | // |
| | | // toolStripStatusLabel4 |
| | | // |
| | | this.toolStripStatusLabel4.Name = "toolStripStatusLabel4"; |
| | | this.toolStripStatusLabel4.Size = new System.Drawing.Size(17, 20); |
| | | this.toolStripStatusLabel4.Text = " "; |
| | | // |
| | | // toolStripStatusLabel3 |
| | | // |
| | |
| | | this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; |
| | | this.toolStripStatusLabel2.Size = new System.Drawing.Size(174, 20); |
| | | this.toolStripStatusLabel2.Text = "技术支持:宁波广深科技"; |
| | | // |
| | | // toolStripStatusLabel5 |
| | | // |
| | | this.toolStripStatusLabel5.Name = "toolStripStatusLabel5"; |
| | | this.toolStripStatusLabel5.Size = new System.Drawing.Size(17, 20); |
| | | this.toolStripStatusLabel5.Text = " "; |
| | | // |
| | | // toolTime |
| | | // |
| | |
| | | private DevExpress.XtraBars.BarButtonItem barButtonItem5; |
| | | private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3; |
| | | private System.Windows.Forms.ToolStripStatusLabel toolTime; |
| | | private System.Windows.Forms.ToolStripStatusLabel tooLoading; |
| | | private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; |
| | | private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel4; |
| | | private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel5; |
| | | } |
| | | } |
| | |
| | | this.Text = System.Configuration.ConfigurationSettings.AppSettings.Get("ProductName").ToString(); |
| | | tab.CloseButtonClick += Tab_CloseButtonClick; |
| | | getTree(); |
| | | tooLoading.Click += TooLoading_Click; |
| | | } |
| | | |
| | | private void TooLoading_Click(object sender, EventArgs e) |
| | | { |
| | | int i = 100; |
| | | Gs.DevApp.UserControl.ShowDialogForm sdf = new Gs.DevApp.UserControl.ShowDialogForm("提示", "", "请耐心等候,正在操作中!"); |
| | | for (int j = 0; j < i; j++) { |
| | | sdf.SetCaption("执行进度(" + (j) + "/" +i.ToString() + ")"); |
| | | } |
| | | sdf.Close(); |
| | | } |
| | | |
| | | private void Tab_CloseButtonClick(object sender, EventArgs e) |
| | |
| | | _itm.Click += _grp_Click; |
| | | _grp.Elements.Add(_itm); |
| | | // |
| | | if (idx == 0) { |
| | | if (idx == 0) |
| | | { |
| | | string tabPageName = _itm.Name + "_page"; |
| | | string tabText = _itm.Text;//当前选项卡页Text标题 |
| | | string newFormName = _itm.Tag.ToString();//存路径,类名 |
| | |
| | | /// <param name="e"></param> |
| | | public void RemoveTabPage(XtraTabControl tabControl, EventArgs e) |
| | | { |
| | | if (TabPageDic.Count <= 1) |
| | | { |
| | | ToolBox.MsgHelper.Warning("请至少保留一个功能!"); |
| | | return; |
| | | } |
| | | DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs args = (DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs)e; |
| | | string name = args.Page.Tooltip; |
| | | foreach (XtraTabPage item in tabControl.TabPages) |
| | |
| | | // |
| | | // txtName |
| | | // |
| | | this.txtName.Location = new System.Drawing.Point(109, 16); |
| | | this.txtName.Location = new System.Drawing.Point(115, 16); |
| | | this.txtName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtName.Name = "txtName"; |
| | | this.txtName.Size = new System.Drawing.Size(297, 24); |
| | |
| | | // |
| | | // labelControl7 |
| | | // |
| | | this.labelControl7.Location = new System.Drawing.Point(34, 67); |
| | | this.labelControl7.Location = new System.Drawing.Point(31, 67); |
| | | this.labelControl7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl7.Name = "labelControl7"; |
| | | this.labelControl7.Size = new System.Drawing.Size(75, 18); |
| | |
| | | // |
| | | this.labelControl9.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl9.Appearance.Options.UseForeColor = true; |
| | | this.labelControl9.Location = new System.Drawing.Point(415, 98); |
| | | this.labelControl9.Location = new System.Drawing.Point(418, 98); |
| | | this.labelControl9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl9.Name = "labelControl9"; |
| | | this.labelControl9.Size = new System.Drawing.Size(8, 18); |
| | |
| | | // |
| | | // labelControl5 |
| | | // |
| | | this.labelControl5.Location = new System.Drawing.Point(37, 152); |
| | | this.labelControl5.Location = new System.Drawing.Point(31, 152); |
| | | this.labelControl5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl5.Name = "labelControl5"; |
| | | this.labelControl5.Size = new System.Drawing.Size(75, 18); |
| | |
| | | // |
| | | // txtStatus |
| | | // |
| | | this.txtStatus.Location = new System.Drawing.Point(117, 148); |
| | | this.txtStatus.Location = new System.Drawing.Point(115, 148); |
| | | this.txtStatus.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtStatus.Name = "txtStatus"; |
| | | this.txtStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(753, 473); |
| | | this.Controls.Add(this.tabControl1); |
| | | this.MaximizeBox = false; |
| | | this.MinimizeBox = false; |
| | | this.Name = "RoleAdd"; |
| | | this.Text = "RoleAdd"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
| | | this.Text = "角色信息"; |
| | | this.tabControl1.ResumeLayout(false); |
| | | this.tabPage1.ResumeLayout(false); |
| | | this.panel1.ResumeLayout(false); |
| | |
| | | this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.txtParentMenuName = new DevExpress.XtraEditors.TreeListLookUpEdit(); |
| | | this.treeListLookUpEdit1TreeList = new DevExpress.XtraTreeList.TreeList(); |
| | | this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | | this.tabPage1 = new System.Windows.Forms.TabPage(); |
| | | this.tabControl1 = new System.Windows.Forms.TabControl(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtStatus.Properties)).BeginInit(); |
| | |
| | | // |
| | | this.labelControl9.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl9.Appearance.Options.UseForeColor = true; |
| | | this.labelControl9.Location = new System.Drawing.Point(415, 89); |
| | | this.labelControl9.Location = new System.Drawing.Point(418, 89); |
| | | this.labelControl9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl9.Name = "labelControl9"; |
| | | this.labelControl9.Size = new System.Drawing.Size(8, 18); |
| | |
| | | // |
| | | // txtMenuType |
| | | // |
| | | this.txtMenuType.Location = new System.Drawing.Point(114, 45); |
| | | this.txtMenuType.Location = new System.Drawing.Point(111, 45); |
| | | this.txtMenuType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtMenuType.Name = "txtMenuType"; |
| | | this.txtMenuType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | |
| | | // |
| | | this.labelControl8.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl8.Appearance.Options.UseForeColor = true; |
| | | this.labelControl8.Location = new System.Drawing.Point(415, 234); |
| | | this.labelControl8.Location = new System.Drawing.Point(418, 234); |
| | | this.labelControl8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl8.Name = "labelControl8"; |
| | | this.labelControl8.Size = new System.Drawing.Size(8, 18); |
| | |
| | | // |
| | | // treeListLookUpEdit1TreeList |
| | | // |
| | | this.treeListLookUpEdit1TreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { |
| | | this.treeListColumn1}); |
| | | this.treeListLookUpEdit1TreeList.KeyFieldName = ""; |
| | | this.treeListLookUpEdit1TreeList.Location = new System.Drawing.Point(0, 0); |
| | | this.treeListLookUpEdit1TreeList.Name = "treeListLookUpEdit1TreeList"; |
| | |
| | | this.treeListLookUpEdit1TreeList.ParentFieldName = ""; |
| | | this.treeListLookUpEdit1TreeList.Size = new System.Drawing.Size(400, 200); |
| | | this.treeListLookUpEdit1TreeList.TabIndex = 0; |
| | | // |
| | | // treeListColumn1 |
| | | // |
| | | this.treeListColumn1.Caption = "菜单名"; |
| | | this.treeListColumn1.FieldName = "name"; |
| | | this.treeListColumn1.Name = "treeListColumn1"; |
| | | this.treeListColumn1.Visible = true; |
| | | this.treeListColumn1.VisibleIndex = 0; |
| | | // |
| | | // tabPage1 |
| | | // |
| | |
| | | this.MinimizeBox = false; |
| | | this.Name = "SysMenuAdd"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
| | | this.Text = "菜单功能"; |
| | | this.Text = "菜单信息"; |
| | | this.TopMost = true; |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtStatus.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtIdx)).EndInit(); |
| | |
| | | private DevExpress.XtraEditors.LabelControl labelControl8; |
| | | private System.Windows.Forms.Label label2; |
| | | private System.Windows.Forms.Label label1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; |
| | | } |
| | | } |
| | |
| | | lbGuid.Text = guid; |
| | | getModel(); |
| | | } |
| | | |
| | | private void TxtMenuType_TextChanged(object sender, EventArgs e) |
| | | { |
| | | if (txtMenuType.SelectedIndex == 1) |
| | |
| | | |
| | | private void getTree() |
| | | { |
| | | Models.PageQueryModel pgq = new Models.PageQueryModel(1, 999999, "idx", "desc", "", ""); |
| | | Models.PageQueryModel pgq = new Models.PageQueryModel(1, 999999, "idx", "asc", "", " and category=1"); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | string strReturn = ""; |
| | | try |
| | |
| | | strReturn = UtilityHelper.HttpPost("", "MenuAction/GetListPage", json); |
| | | ReturnModel<PageListModel> dd = UtilityHelper.GetTableByJson(strReturn); |
| | | DataTable dt = dd.rtnData.list; |
| | | txtParentMenuName.Properties.DataSource = dt; |
| | | txtParentMenuName.Properties.DisplayMember = "name"; |
| | | txtParentMenuName.Properties.DisplayMember = "name"; |
| | | txtParentMenuName.Properties.TreeList.KeyFieldName = "guid"; |
| | | txtParentMenuName.Properties.TreeList.ParentFieldName = "upGuid"; |
| | | //txtParentMenuName.Properties.ValueMember = "guid"; |
| | | txtParentMenuName.Properties.DisplayMember = "name"; |
| | | txtParentMenuName.Properties.DataSource = dt; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | private void InitializeComponent() |
| | | { |
| | | this.panel1 = new System.Windows.Forms.Panel(); |
| | | this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.txtAccount = new DevExpress.XtraEditors.TextEdit(); |
| | | this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.txtRemark = new DevExpress.XtraEditors.MemoEdit(); |
| | | this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.textAddress = new DevExpress.XtraEditors.TextEdit(); |
| | | this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.textTel = new DevExpress.XtraEditors.TextEdit(); |
| | | this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.textEmail = new DevExpress.XtraEditors.TextEdit(); |
| | | this.lbGuid = new System.Windows.Forms.Label(); |
| | | this.btnEsc = new DevExpress.XtraEditors.SimpleButton(); |
| | | this.btnSave = new DevExpress.XtraEditors.SimpleButton(); |
| | |
| | | this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.tabControl1 = new System.Windows.Forms.TabControl(); |
| | | this.tabPage1 = new System.Windows.Forms.TabPage(); |
| | | this.textEmail = new DevExpress.XtraEditors.TextEdit(); |
| | | this.textTel = new DevExpress.XtraEditors.TextEdit(); |
| | | this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.textAddress = new DevExpress.XtraEditors.TextEdit(); |
| | | this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.txtRemark = new DevExpress.XtraEditors.MemoEdit(); |
| | | this.txtAccount = new DevExpress.XtraEditors.TextEdit(); |
| | | this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); |
| | | this.panel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtAccount.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textAddress.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textTel.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textEmail.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtLock.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtPwd.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtUserName.Properties)).BeginInit(); |
| | | this.tabControl1.SuspendLayout(); |
| | | this.tabPage1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textEmail.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textTel.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textAddress.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtAccount.Properties)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // panel1 |
| | |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(585, 507); |
| | | this.panel1.TabIndex = 0; |
| | | // |
| | | // labelControl10 |
| | | // |
| | | this.labelControl10.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl10.Appearance.Options.UseForeColor = true; |
| | | this.labelControl10.Location = new System.Drawing.Point(418, 29); |
| | | this.labelControl10.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl10.Name = "labelControl10"; |
| | | this.labelControl10.Size = new System.Drawing.Size(8, 18); |
| | | this.labelControl10.TabIndex = 129; |
| | | this.labelControl10.Text = "*"; |
| | | // |
| | | // txtAccount |
| | | // |
| | | this.txtAccount.Location = new System.Drawing.Point(109, 16); |
| | | this.txtAccount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtAccount.Name = "txtAccount"; |
| | | this.txtAccount.Size = new System.Drawing.Size(297, 24); |
| | | this.txtAccount.TabIndex = 128; |
| | | // |
| | | // labelControl8 |
| | | // |
| | | this.labelControl8.Location = new System.Drawing.Point(31, 20); |
| | | this.labelControl8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl8.Name = "labelControl8"; |
| | | this.labelControl8.Size = new System.Drawing.Size(75, 18); |
| | | this.labelControl8.TabIndex = 127; |
| | | this.labelControl8.Text = "登录账号:"; |
| | | // |
| | | // txtRemark |
| | | // |
| | | this.txtRemark.Location = new System.Drawing.Point(109, 272); |
| | | this.txtRemark.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtRemark.Name = "txtRemark"; |
| | | this.txtRemark.Properties.ScrollBars = System.Windows.Forms.ScrollBars.None; |
| | | this.txtRemark.Size = new System.Drawing.Size(297, 68); |
| | | this.txtRemark.TabIndex = 126; |
| | | // |
| | | // labelControl7 |
| | | // |
| | | this.labelControl7.Location = new System.Drawing.Point(61, 285); |
| | | this.labelControl7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl7.Name = "labelControl7"; |
| | | this.labelControl7.Size = new System.Drawing.Size(45, 18); |
| | | this.labelControl7.TabIndex = 125; |
| | | this.labelControl7.Text = "备注:"; |
| | | // |
| | | // textAddress |
| | | // |
| | | this.textAddress.Location = new System.Drawing.Point(109, 240); |
| | | this.textAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.textAddress.Name = "textAddress"; |
| | | this.textAddress.Size = new System.Drawing.Size(297, 24); |
| | | this.textAddress.TabIndex = 124; |
| | | // |
| | | // labelControl3 |
| | | // |
| | | this.labelControl3.Location = new System.Drawing.Point(31, 244); |
| | | this.labelControl3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl3.Name = "labelControl3"; |
| | | this.labelControl3.Size = new System.Drawing.Size(75, 18); |
| | | this.labelControl3.TabIndex = 123; |
| | | this.labelControl3.Text = "住宿地址:"; |
| | | // |
| | | // textTel |
| | | // |
| | | this.textTel.Location = new System.Drawing.Point(109, 196); |
| | | this.textTel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.textTel.Name = "textTel"; |
| | | this.textTel.Size = new System.Drawing.Size(297, 24); |
| | | this.textTel.TabIndex = 122; |
| | | // |
| | | // labelControl1 |
| | | // |
| | | this.labelControl1.Location = new System.Drawing.Point(61, 200); |
| | | this.labelControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl1.Name = "labelControl1"; |
| | | this.labelControl1.Size = new System.Drawing.Size(45, 18); |
| | | this.labelControl1.TabIndex = 121; |
| | | this.labelControl1.Text = "电话:"; |
| | | // |
| | | // textEmail |
| | | // |
| | | this.textEmail.Location = new System.Drawing.Point(109, 152); |
| | | this.textEmail.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.textEmail.Name = "textEmail"; |
| | | this.textEmail.Size = new System.Drawing.Size(297, 24); |
| | | this.textEmail.TabIndex = 120; |
| | | // |
| | | // lbGuid |
| | | // |
| | |
| | | // |
| | | this.labelControl12.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl12.Appearance.Options.UseForeColor = true; |
| | | this.labelControl12.Location = new System.Drawing.Point(418, 55); |
| | | this.labelControl12.Location = new System.Drawing.Point(418, 56); |
| | | this.labelControl12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl12.Name = "labelControl12"; |
| | | this.labelControl12.Size = new System.Drawing.Size(8, 18); |
| | |
| | | // |
| | | this.labelControl9.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl9.Appearance.Options.UseForeColor = true; |
| | | this.labelControl9.Location = new System.Drawing.Point(415, 98); |
| | | this.labelControl9.Location = new System.Drawing.Point(418, 96); |
| | | this.labelControl9.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl9.Name = "labelControl9"; |
| | | this.labelControl9.Size = new System.Drawing.Size(8, 18); |
| | |
| | | // |
| | | // txtLock |
| | | // |
| | | this.txtLock.Location = new System.Drawing.Point(111, 366); |
| | | this.txtLock.Location = new System.Drawing.Point(109, 366); |
| | | this.txtLock.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtLock.Name = "txtLock"; |
| | | this.txtLock.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { |
| | |
| | | // |
| | | // txtUserName |
| | | // |
| | | this.txtUserName.Location = new System.Drawing.Point(111, 89); |
| | | this.txtUserName.Location = new System.Drawing.Point(109, 89); |
| | | this.txtUserName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtUserName.Name = "txtUserName"; |
| | | this.txtUserName.Size = new System.Drawing.Size(297, 24); |
| | |
| | | this.tabPage1.Text = "基础信息"; |
| | | this.tabPage1.UseVisualStyleBackColor = true; |
| | | // |
| | | // textEmail |
| | | // |
| | | this.textEmail.Location = new System.Drawing.Point(109, 152); |
| | | this.textEmail.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.textEmail.Name = "textEmail"; |
| | | this.textEmail.Size = new System.Drawing.Size(297, 24); |
| | | this.textEmail.TabIndex = 120; |
| | | // |
| | | // textTel |
| | | // |
| | | this.textTel.Location = new System.Drawing.Point(109, 196); |
| | | this.textTel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.textTel.Name = "textTel"; |
| | | this.textTel.Size = new System.Drawing.Size(297, 24); |
| | | this.textTel.TabIndex = 122; |
| | | // |
| | | // labelControl1 |
| | | // |
| | | this.labelControl1.Location = new System.Drawing.Point(61, 200); |
| | | this.labelControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl1.Name = "labelControl1"; |
| | | this.labelControl1.Size = new System.Drawing.Size(45, 18); |
| | | this.labelControl1.TabIndex = 121; |
| | | this.labelControl1.Text = "电话:"; |
| | | // |
| | | // textAddress |
| | | // |
| | | this.textAddress.Location = new System.Drawing.Point(109, 240); |
| | | this.textAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.textAddress.Name = "textAddress"; |
| | | this.textAddress.Size = new System.Drawing.Size(297, 24); |
| | | this.textAddress.TabIndex = 124; |
| | | // |
| | | // labelControl3 |
| | | // |
| | | this.labelControl3.Location = new System.Drawing.Point(31, 244); |
| | | this.labelControl3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl3.Name = "labelControl3"; |
| | | this.labelControl3.Size = new System.Drawing.Size(75, 18); |
| | | this.labelControl3.TabIndex = 123; |
| | | this.labelControl3.Text = "住宿地址:"; |
| | | // |
| | | // labelControl7 |
| | | // |
| | | this.labelControl7.Location = new System.Drawing.Point(61, 285); |
| | | this.labelControl7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl7.Name = "labelControl7"; |
| | | this.labelControl7.Size = new System.Drawing.Size(45, 18); |
| | | this.labelControl7.TabIndex = 125; |
| | | this.labelControl7.Text = "备注:"; |
| | | // |
| | | // txtRemark |
| | | // |
| | | this.txtRemark.Location = new System.Drawing.Point(109, 272); |
| | | this.txtRemark.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtRemark.Name = "txtRemark"; |
| | | this.txtRemark.Properties.ScrollBars = System.Windows.Forms.ScrollBars.None; |
| | | this.txtRemark.Size = new System.Drawing.Size(297, 68); |
| | | this.txtRemark.TabIndex = 126; |
| | | // |
| | | // txtAccount |
| | | // |
| | | this.txtAccount.Location = new System.Drawing.Point(109, 16); |
| | | this.txtAccount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtAccount.Name = "txtAccount"; |
| | | this.txtAccount.Size = new System.Drawing.Size(297, 24); |
| | | this.txtAccount.TabIndex = 128; |
| | | // |
| | | // labelControl8 |
| | | // |
| | | this.labelControl8.Location = new System.Drawing.Point(31, 20); |
| | | this.labelControl8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl8.Name = "labelControl8"; |
| | | this.labelControl8.Size = new System.Drawing.Size(75, 18); |
| | | this.labelControl8.TabIndex = 127; |
| | | this.labelControl8.Text = "登录账号:"; |
| | | // |
| | | // labelControl10 |
| | | // |
| | | this.labelControl10.Appearance.ForeColor = System.Drawing.Color.Red; |
| | | this.labelControl10.Appearance.Options.UseForeColor = true; |
| | | this.labelControl10.Location = new System.Drawing.Point(418, 29); |
| | | this.labelControl10.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl10.Name = "labelControl10"; |
| | | this.labelControl10.Size = new System.Drawing.Size(8, 18); |
| | | this.labelControl10.TabIndex = 129; |
| | | this.labelControl10.Text = "*"; |
| | | // |
| | | // UserAdd |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(853, 583); |
| | | this.Controls.Add(this.tabControl1); |
| | | this.MaximizeBox = false; |
| | | this.MinimizeBox = false; |
| | | this.Name = "UserAdd"; |
| | | this.Text = "UserAdd"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
| | | this.Text = "用户信息"; |
| | | this.panel1.ResumeLayout(false); |
| | | this.panel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtAccount.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textAddress.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textTel.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textEmail.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtLock.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtPwd.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtUserName.Properties)).EndInit(); |
| | | this.tabControl1.ResumeLayout(false); |
| | | this.tabPage1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textEmail.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textTel.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.textAddress.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.txtAccount.Properties)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | |
| | | <Compile Include="DevFrm\FrmMain.Designer.cs"> |
| | | <DependentUpon>FrmMain.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\Sys\DocNoRule.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="DevFrm\Sys\DocNoRule.Designer.cs"> |
| | | <DependentUpon>DocNoRule.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\User\Organization.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\FrmMain.resx"> |
| | | <DependentUpon>FrmMain.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\Sys\DocNoRule.resx"> |
| | | <DependentUpon>DocNoRule.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\User\Organization.resx"> |
| | | <DependentUpon>Organization.cs</DependentUpon> |
| | |
| | | <None Include="Resources\bodepartment_32x32.png" /> |
| | | <None Include="Resources\bodepartment_16x16.png" /> |
| | | <None Include="Resources\bouser_16x16.png" /> |
| | | <None Include="Resources\salesperiodlifetime_32x32.png" /> |
| | | <None Include="Resources\salesperiodlifetime_16x16.png" /> |
| | | <Content Include="Resources\user_16x16.png" /> |
| | | </ItemGroup> |
| | | <ItemGroup /> |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | |
| | | namespace Gs.DevApp.Models |
| | | { |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | |
| | | namespace Gs.DevApp.Models |
| | | { |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace Gs.DevApp.Models |
| | | { |
| | |
| | | { |
| | | Application.EnableVisualStyles(); |
| | | Application.SetCompatibleTextRenderingDefault(false); |
| | | // Application.Run(new Gs.DevApp.TestForm.test()); |
| | | // Application.Run(new Gs.DevApp.TestForm.FluentDesignForm1()); |
| | | DevFrm.FrmLogin fmLogin = new DevFrm.FrmLogin(); |
| | | fmLogin.ShowDialog(); |
| | | if (fmLogin.DialogResult == DialogResult.OK) |
| | |
| | | <data name="checkbox2_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\checkbox2_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="converttorange_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\converttorange_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="serieslines_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\serieslines_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | |
| | | <data name="forcetesting_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\forcetesting_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="area3d_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\area3d_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="user_16x161" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\user_16x161.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="convert_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\convert_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="bodepartment_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\bodepartment_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="salesperiodlifetime_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\salesperiodlifetime_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="time2_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\time2_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <data name="user_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\user_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="converttorange_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\converttorange_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="bouser_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\bouser_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="mapit_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\mapit_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="dropandhighlowlines_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\dropandhighlowlines_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="user_16x161" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\user_16x161.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="3dcylinder_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\3dcylinder_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <data name="login_bg1" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\login_bg1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="area3d_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\area3d_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="removegroupfooter_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\removegroupfooter_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | |
| | | <data name="trackingchanges_trackchanges_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\trackingchanges_trackchanges_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="bouser_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\bouser_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="salesperiodlifetime_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\salesperiodlifetime_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | </root> |
| | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap salesperiodlifetime_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("salesperiodlifetime_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap salesperiodlifetime_32x32 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("salesperiodlifetime_32x32", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 查找 System.Drawing.Bitmap 类型的本地化资源。 |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap serieslines_32x32 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("serieslines_32x32", resourceCulture); |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace Gs.DevApp.ToolBox |
| | | { |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.ToolBox |
| | |
| | | using System.Net; |
| | | using System.Reflection; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Gs.DevApp.ToolBox; |
| | | using System.Resources; |
| | | using System.Drawing; |
| | | using Newtonsoft.Json; |
| | |
| | | return rto; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置系统字体大小,目前并不通用 |
| | | /// </summary> |
| | | public static float GetFontSize =10; |
| | | public static void SetFont(Control control) { |
| | | float size = GetFontSize; |
| | |
| | | this.Name = "ShowDialogForm"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
| | | this.Text = "ShowDialogForm"; |
| | | this.TopMost = true; |
| | | ((System.ComponentModel.ISupportInitialize)(this.progressShow.Properties)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); |
| | | this.panelControl2.ResumeLayout(false); |
| | |
| | | this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); |
| | | this.bar2 = new DevExpress.XtraBars.Bar(); |
| | | this.btnAdd = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnDel = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnEdit = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnSave = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnView = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | |
| | | this.btnLoad = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem9 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem10 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.btnDel = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem1 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem2 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem8 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem3 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barLargeButtonItem4 = new DevExpress.XtraBars.BarLargeButtonItem(); |
| | | this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); |
| | | this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); |
| | | this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); |
| | |
| | | // |
| | | this.barDockControlLeft.CausesValidation = false; |
| | | this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.barDockControlLeft.Location = new System.Drawing.Point(0, 74); |
| | | this.barDockControlLeft.Location = new System.Drawing.Point(0, 94); |
| | | this.barDockControlLeft.Manager = this.barManager1; |
| | | this.barDockControlLeft.Size = new System.Drawing.Size(0, 0); |
| | | // |
| | |
| | | this.barLargeButtonItem10, |
| | | this.barLargeButtonItem1, |
| | | this.barLargeButtonItem2, |
| | | this.barLargeButtonItem3}); |
| | | this.barLargeButtonItem3, |
| | | this.barLargeButtonItem4}); |
| | | this.barManager1.MainMenu = this.bar2; |
| | | this.barManager1.MaxItemId = 18; |
| | | this.barManager1.MaxItemId = 19; |
| | | // |
| | | // bar2 |
| | | // |
| | |
| | | this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; |
| | | this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnAdd, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnEdit, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnSave, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnView, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.btnLoad), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem9), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem10), |
| | | new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDel, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem1), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem2), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem8), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem3)}); |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem3), |
| | | new DevExpress.XtraBars.LinkPersistInfo(this.barLargeButtonItem4)}); |
| | | this.bar2.OptionsBar.MultiLine = true; |
| | | this.bar2.OptionsBar.UseWholeRow = true; |
| | | this.bar2.Text = "Main menu"; |
| | |
| | | this.btnAdd.ItemInMenuAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 12F); |
| | | this.btnAdd.ItemInMenuAppearance.Normal.Options.UseFont = true; |
| | | this.btnAdd.Name = "btnAdd"; |
| | | // |
| | | // btnDel |
| | | // |
| | | this.btnDel.Caption = "删除"; |
| | | this.btnDel.Id = 4; |
| | | this.btnDel.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; |
| | | this.btnDel.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.removegroupfooter_32x32; |
| | | this.btnDel.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.btnDel.ItemAppearance.Normal.Options.UseFont = true; |
| | | this.btnDel.Name = "btnDel"; |
| | | // |
| | | // btnEdit |
| | | // |
| | |
| | | this.barLargeButtonItem10.ItemAppearance.Normal.Options.UseFont = true; |
| | | this.barLargeButtonItem10.Name = "barLargeButtonItem10"; |
| | | // |
| | | // btnDel |
| | | // |
| | | this.btnDel.Caption = "删除"; |
| | | this.btnDel.Id = 4; |
| | | this.btnDel.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; |
| | | this.btnDel.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.removegroupfooter_32x32; |
| | | this.btnDel.ItemAppearance.Normal.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.btnDel.ItemAppearance.Normal.Options.UseFont = true; |
| | | this.btnDel.Name = "btnDel"; |
| | | // |
| | | // barLargeButtonItem1 |
| | | // |
| | | this.barLargeButtonItem1.Caption = "打印"; |
| | |
| | | this.barLargeButtonItem3.ItemAppearance.Normal.Options.UseFont = true; |
| | | this.barLargeButtonItem3.Name = "barLargeButtonItem3"; |
| | | // |
| | | // barLargeButtonItem4 |
| | | // |
| | | this.barLargeButtonItem4.Caption = "日志"; |
| | | this.barLargeButtonItem4.Id = 18; |
| | | this.barLargeButtonItem4.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.salesperiodlifetime_16x16; |
| | | this.barLargeButtonItem4.ImageOptions.LargeImage = global::Gs.DevApp.Properties.Resources.salesperiodlifetime_32x32; |
| | | this.barLargeButtonItem4.Name = "barLargeButtonItem4"; |
| | | // |
| | | // barDockControlTop |
| | | // |
| | | this.barDockControlTop.CausesValidation = false; |
| | | this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.barDockControlTop.Location = new System.Drawing.Point(0, 0); |
| | | this.barDockControlTop.Manager = this.barManager1; |
| | | this.barDockControlTop.Size = new System.Drawing.Size(926, 74); |
| | | this.barDockControlTop.Size = new System.Drawing.Size(926, 94); |
| | | // |
| | | // barDockControlBottom |
| | | // |
| | |
| | | // |
| | | this.barDockControlRight.CausesValidation = false; |
| | | this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.barDockControlRight.Location = new System.Drawing.Point(926, 74); |
| | | this.barDockControlRight.Location = new System.Drawing.Point(926, 94); |
| | | this.barDockControlRight.Manager = this.barManager1; |
| | | this.barDockControlRight.Size = new System.Drawing.Size(0, 0); |
| | | // |
| | |
| | | private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem1; |
| | | private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem2; |
| | | private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem3; |
| | | private DevExpress.XtraBars.BarLargeButtonItem barLargeButtonItem4; |
| | | } |
| | | } |