已重命名1个文件
已修改8个文件
已添加10个文件
| | |
| | | // |
| | | this.lbVersion.AutoSize = true; |
| | | this.lbVersion.BackColor = System.Drawing.Color.Transparent; |
| | | this.lbVersion.Font = new System.Drawing.Font("Tahoma", 9F); |
| | | this.lbVersion.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); |
| | | this.lbVersion.ForeColor = System.Drawing.Color.White; |
| | | this.lbVersion.Location = new System.Drawing.Point(501, 33); |
| | | this.lbVersion.Location = new System.Drawing.Point(12, 9); |
| | | this.lbVersion.Name = "lbVersion"; |
| | | this.lbVersion.Size = new System.Drawing.Size(100, 18); |
| | | this.lbVersion.Size = new System.Drawing.Size(113, 18); |
| | | this.lbVersion.TabIndex = 244; |
| | | this.lbVersion.Text = "V5.0 (æ£å¼ç)"; |
| | | this.lbVersion.Text = "广深MES-V2.0"; |
| | | // |
| | | // panel1 |
| | | // |
| | |
| | | this.panel1.Controls.Add(this.btnLogin); |
| | | this.panel1.Controls.Add(this.labelControl2); |
| | | this.panel1.Controls.Add(this.labelControl1); |
| | | this.panel1.Location = new System.Drawing.Point(218, 187); |
| | | this.panel1.Font = new System.Drawing.Font("Tahoma", 9F); |
| | | this.panel1.Location = new System.Drawing.Point(218, 465); |
| | | this.panel1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(392, 239); |
| | | this.panel1.Size = new System.Drawing.Size(392, 276); |
| | | this.panel1.TabIndex = 243; |
| | | // |
| | | // txtUser |
| | |
| | | // |
| | | // chkSaveLoginInfo |
| | | // |
| | | this.chkSaveLoginInfo.Location = new System.Drawing.Point(99, 157); |
| | | this.chkSaveLoginInfo.Location = new System.Drawing.Point(102, 139); |
| | | this.chkSaveLoginInfo.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.chkSaveLoginInfo.Name = "chkSaveLoginInfo"; |
| | | this.chkSaveLoginInfo.Properties.Appearance.ForeColor = System.Drawing.Color.White; |
| | | this.chkSaveLoginInfo.Properties.Appearance.ForeColor = System.Drawing.Color.Black; |
| | | this.chkSaveLoginInfo.Properties.Appearance.Options.UseForeColor = true; |
| | | this.chkSaveLoginInfo.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat; |
| | | this.chkSaveLoginInfo.Properties.Caption = "ä¿åç»å½ä¿¡æ¯"; |
| | |
| | | // txtPwd |
| | | // |
| | | this.txtPwd.EditValue = "csframework"; |
| | | this.txtPwd.Location = new System.Drawing.Point(102, 48); |
| | | this.txtPwd.Location = new System.Drawing.Point(102, 52); |
| | | this.txtPwd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtPwd.Name = "txtPwd"; |
| | | this.txtPwd.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | |
| | | this.btnCancel.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; |
| | | this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnCancel.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.ImageOptions.Image"))); |
| | | this.btnCancel.Location = new System.Drawing.Point(191, 193); |
| | | this.btnCancel.Location = new System.Drawing.Point(223, 193); |
| | | this.btnCancel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.btnCancel.Name = "btnCancel"; |
| | | this.btnCancel.Size = new System.Drawing.Size(87, 37); |
| | |
| | | // |
| | | // labelControl3 |
| | | // |
| | | this.labelControl3.Appearance.ForeColor = System.Drawing.Color.White; |
| | | this.labelControl3.Appearance.ForeColor = System.Drawing.Color.Black; |
| | | this.labelControl3.Appearance.Options.UseForeColor = true; |
| | | this.labelControl3.Appearance.Options.UseTextOptions = true; |
| | | this.labelControl3.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | this.labelControl3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; |
| | | this.labelControl3.Location = new System.Drawing.Point(6, 89); |
| | | this.labelControl3.Location = new System.Drawing.Point(6, 97); |
| | | this.labelControl3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl3.Name = "labelControl3"; |
| | | this.labelControl3.Size = new System.Drawing.Size(93, 18); |
| | | this.labelControl3.TabIndex = 233; |
| | | this.labelControl3.Text = "å¸å¥ï¼"; |
| | | this.labelControl3.Text = "ç»ç»æºæï¼"; |
| | | // |
| | | // txtDataset |
| | | // |
| | | this.txtDataset.Location = new System.Drawing.Point(102, 86); |
| | | this.txtDataset.Location = new System.Drawing.Point(102, 93); |
| | | this.txtDataset.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.txtDataset.Name = "txtDataset"; |
| | | this.txtDataset.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; |
| | |
| | | this.btnLogin.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; |
| | | this.btnLogin.Cursor = System.Windows.Forms.Cursors.Hand; |
| | | this.btnLogin.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnLogin.ImageOptions.Image"))); |
| | | this.btnLogin.Location = new System.Drawing.Point(101, 193); |
| | | this.btnLogin.Location = new System.Drawing.Point(102, 193); |
| | | this.btnLogin.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.btnLogin.Name = "btnLogin"; |
| | | this.btnLogin.Size = new System.Drawing.Size(87, 37); |
| | |
| | | // |
| | | // labelControl2 |
| | | // |
| | | this.labelControl2.Appearance.ForeColor = System.Drawing.Color.White; |
| | | this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Black; |
| | | this.labelControl2.Appearance.Options.UseFont = true; |
| | | this.labelControl2.Appearance.Options.UseForeColor = true; |
| | | this.labelControl2.Appearance.Options.UseTextOptions = true; |
| | | this.labelControl2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | this.labelControl2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; |
| | | this.labelControl2.Location = new System.Drawing.Point(6, 51); |
| | | this.labelControl2.Location = new System.Drawing.Point(6, 58); |
| | | this.labelControl2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl2.Name = "labelControl2"; |
| | | this.labelControl2.Size = new System.Drawing.Size(93, 18); |
| | |
| | | // |
| | | // labelControl1 |
| | | // |
| | | this.labelControl1.Appearance.ForeColor = System.Drawing.Color.White; |
| | | this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); |
| | | this.labelControl1.Appearance.ForeColor = System.Drawing.Color.Black; |
| | | this.labelControl1.Appearance.Options.UseFont = true; |
| | | this.labelControl1.Appearance.Options.UseForeColor = true; |
| | | this.labelControl1.Appearance.Options.UseTextOptions = true; |
| | | this.labelControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; |
| | | this.labelControl1.Location = new System.Drawing.Point(6, 13); |
| | | this.labelControl1.Location = new System.Drawing.Point(6, 15); |
| | | this.labelControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); |
| | | this.labelControl1.Name = "labelControl1"; |
| | | this.labelControl1.Size = new System.Drawing.Size(93, 18); |
| | |
| | | // |
| | | // FrmLogin |
| | | // |
| | | this.Appearance.BackColor = System.Drawing.Color.Black; |
| | | this.Appearance.Options.UseBackColor = true; |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(824, 494); |
| | | this.BackgroundImageLayoutStore = System.Windows.Forms.ImageLayout.None; |
| | | this.BackgroundImageStore = global::Gs.DevApp.Properties.Resources.login_bg6; |
| | | this.ClientSize = new System.Drawing.Size(782, 806); |
| | | this.Controls.Add(this.lbVersion); |
| | | this.Controls.Add(this.panel1); |
| | | this.Controls.Add(this.lblLoadingInfo); |
| | | this.DoubleBuffered = true; |
| | | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; |
| | | this.MaximizeBox = false; |
| | | this.MinimizeBox = false; |
| | | this.Name = "FrmLogin"; |
| | |
| | | this.Text = System.Configuration.ConfigurationSettings.AppSettings.Get("ProductName").ToString(); |
| | | btnLogin.Click += BtnLogin_Click; |
| | | btnCancel.Click += BtnCancel_Click; |
| | | UtilityHelper.SetFont(panel1); |
| | | } |
| | | |
| | | private void BtnCancel_Click(object sender, EventArgs e) |
| | |
| | | |
| | | private void getTree() |
| | | { |
| | | toolTime.Text = "ç»å½æ¶é´"+ LoginInfoModel.CurrentUser.LoginTime; |
| | | toolTime.Text = "ç»å½æ¶é´" + LoginInfoModel.CurrentUser.LoginTime; |
| | | var _obj = new |
| | | { |
| | | userGuid = LoginInfoModel.CurrentUser.LoginUserGuid, |
| | |
| | | string strJson = ""; |
| | | try |
| | | { |
| | | strJson = UtilityHelper.HttpPost("", "User/GetUserInfo", JsonConvert.SerializeObject(_obj)); |
| | | strJson = UtilityHelper.HttpPost("", "User/GetUserLoginInfo", JsonConvert.SerializeObject(_obj)); |
| | | JObject _job = JObject.Parse(strJson); |
| | | string rtnCode = _job["rtnCode"].ToString(); |
| | | string rtnMsg = _job["rtnMsg"].ToString(); |
| | |
| | | foreach (DataRow _dy in drGrp) |
| | | { |
| | | AccordionControlElement _grp = this.acrd.AddGroup(); |
| | | _grp.ImageOptions.Image = UtilityHelper.GetImgFromResource(_dy["icon"].ToString(),1); |
| | | _grp.ImageOptions.Image = UtilityHelper.GetImgFromResource(_dy["icon"].ToString(), 1); |
| | | _grp.Name = _dy["guid"].ToString(); |
| | | _grp.Style = DevExpress.XtraBars.Navigation.ElementStyle.Group; |
| | | _grp.Text = _dy["name"].ToString(); |
| | |
| | | foreach (DataRow _dy2 in drItem) |
| | | { |
| | | AccordionControlElement _itm = this.acrd.AddItem(); |
| | | _itm.ImageOptions.Image = UtilityHelper.GetImgFromResource(_dy2["icon"].ToString(),2); |
| | | _itm.ImageOptions.Image = UtilityHelper.GetImgFromResource(_dy2["icon"].ToString(), 2); |
| | | _itm.Name = _dy2["guid"].ToString(); |
| | | _itm.Style = DevExpress.XtraBars.Navigation.ElementStyle.Item; |
| | | _itm.Text = _dy2["name"].ToString(); |
| | |
| | | string tabPageName = _acd.Name + "_page"; |
| | | string tabText = _acd.Text; |
| | | string newFormName = _acd.Tag.ToString(); |
| | | Image imgIcon= _acd.Image; |
| | | Image imgIcon = _acd.Image; |
| | | AddTabpage(tab, tabPageName, tabText, newFormName, imgIcon); |
| | | } |
| | | |
| | |
| | | /// <param name="tabPageName">彿é项å¡é¡µnameåç§°</param> |
| | | /// <param name="tabText">å½åé项å¡é¡µTextæ é¢</param> |
| | | /// <param name="newFormName">å½åé项å¡ä¸çæ°çªä½</param> |
| | | public void AddTabpage(XtraTabControl tabControl, string tabPageName, string tabText, string newFormName,Image imgIcon) |
| | | public void AddTabpage(XtraTabControl tabControl, string tabPageName, string tabText, string newFormName, Image imgIcon) |
| | | { |
| | | if (IsTabpageExsit(tabControl, tabPageName)) |
| | | { |
| | |
| | | XtraTabPage newPage = new XtraTabPage(); |
| | | newPage.Name = tabPageName; |
| | | newPage.Text = tabText; |
| | | newPage.Tooltip = (tabText + ":" + tabPageName); |
| | | newPage.Tooltip = (tabText); |
| | | newPage.ImageOptions.Image = imgIcon; |
| | | if (AddNewForm(newFormName) != null) { |
| | | if (AddNewForm(newFormName) != null) |
| | | { |
| | | newPage.Controls.Add(AddNewForm(newFormName)); |
| | | tabControl.TabPages.Add(newPage); |
| | | TabPageDic.Add(tabPageName, newPage); |
| | |
| | | { |
| | | DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs args = (DevExpress.XtraTab.ViewInfo.ClosePageButtonEventArgs)e; |
| | | string name = args.Page.Tooltip; |
| | | MessageBox.Show(name); |
| | | foreach (XtraTabPage item in tabControl.TabPages) |
| | | { |
| | | if (item.Name == name) |
| | | { |
| | | MessageBox.Show(item.Name); |
| | | tabControl.TabPages.Remove(item); |
| | | item.Dispose(); |
| | | TabPageDic.Remove(name); |
| | |
| | | } |
| | | newForm.FormBorderStyle = FormBorderStyle.None; |
| | | newForm.TopLevel = false; |
| | | //newForm.Parent = ((XtraTabControl)sender).SelectedTabPage; |
| | | newForm.ControlBox = false; |
| | | newForm.Dock = DockStyle.Fill; |
| | | newForm.Visible = true; |
| | |
| | | <Reference Include="DevExpress.XtraBars.v19.2, Version=19.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
| | | <Reference Include="DevExpress.XtraEditors.v19.2" /> |
| | | <Reference Include="DevExpress.Printing.v19.2.Core" /> |
| | | <Reference Include="DevExpress.XtraGrid.v19.2, Version=19.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
| | | <Reference Include="DevExpress.XtraLayout.v19.2, Version=19.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
| | | <Reference Include="DevExpress.XtraPrinting.v19.2, Version=19.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> |
| | | <Reference Include="DevExpress.XtraTreeList.v19.2, Version=19.2.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> |
| | | <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> |
| | |
| | | <Compile Include="DevFrm\User\SysMenuAdd.Designer.cs"> |
| | | <DependentUpon>SysMenuAdd.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\User\User.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="DevFrm\User\User.Designer.cs"> |
| | | <DependentUpon>User.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="DevFrm\User\UserAdd.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="DevFrm\User\UserAdd.Designer.cs"> |
| | | <DependentUpon>UserAdd.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Models\LoginInfoModel.cs" /> |
| | | <Compile Include="Models\PageQueryModel.cs" /> |
| | | <Compile Include="Models\ReturnModel.cs" /> |
| | | <Compile Include="Program.cs" /> |
| | | <Compile Include="Properties\AssemblyInfo.cs" /> |
| | | <Compile Include="Properties\Resources.Designer.cs"> |
| | | <Compile Include="Properties\Resources1.Designer.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DesignTime>True</DesignTime> |
| | | <DependentUpon>Resources.resx</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="TestForm\test.cs"> |
| | | <Compile Include="TestForm\XtraForm1.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="TestForm\test.Designer.cs"> |
| | | <DependentUpon>test.cs</DependentUpon> |
| | | <Compile Include="TestForm\XtraForm1.Designer.cs"> |
| | | <DependentUpon>XtraForm1.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="ToolBox\LogHelper.cs" /> |
| | | <Compile Include="ToolBox\MsgHelper.cs" /> |
| | | <Compile Include="ToolBox\UtilityHelper.cs" /> |
| | | <Compile Include="UserControl\PageBar.cs"> |
| | | <SubType>UserControl</SubType> |
| | | </Compile> |
| | | <Compile Include="UserControl\PageBar.Designer.cs"> |
| | | <DependentUpon>PageBar.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="UserControl\ShowDialogForm.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | |
| | | <EmbeddedResource Include="DevFrm\User\SysMenuAdd.resx"> |
| | | <DependentUpon>SysMenuAdd.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\User\User.resx"> |
| | | <DependentUpon>User.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="DevFrm\User\UserAdd.resx"> |
| | | <DependentUpon>UserAdd.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="Properties\Resources.resx"> |
| | | <Generator>ResXFileCodeGenerator</Generator> |
| | | <LastGenOutput>Resources.Designer.cs</LastGenOutput> |
| | | <LastGenOutput>Resources1.Designer.cs</LastGenOutput> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="TestForm\test.resx"> |
| | | <DependentUpon>test.cs</DependentUpon> |
| | | <EmbeddedResource Include="TestForm\XtraForm1.resx"> |
| | | <DependentUpon>XtraForm1.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="UserControl\PageBar.resx"> |
| | | <DependentUpon>PageBar.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="UserControl\ShowDialogForm.resx"> |
| | | <DependentUpon>ShowDialogForm.cs</DependentUpon> |
| | |
| | | <None Include="Resources\edit_32x32.png" /> |
| | | <None Include="Resources\checkbox2_32x321.png" /> |
| | | <None Include="Resources\reviewingpane_32x32.png" /> |
| | | <None Include="Resources\first_32x32.png" /> |
| | | <None Include="Resources\first_32x321.png" /> |
| | | <None Include="Resources\first_16x16.png" /> |
| | | <None Include="Resources\doubleprev_16x16.png" /> |
| | | <None Include="Resources\doublenext_16x16.png" /> |
| | | <None Include="Resources\last_16x16.png" /> |
| | | <None Include="Resources\login_bg2.png" /> |
| | | <None Include="Resources\login_bg1.png" /> |
| | | <None Include="Resources\login_bg222.png" /> |
| | | <None Include="Resources\login_bg6.png" /> |
| | | <None Include="Resources\publicfix_32x32.png" /> |
| | | <None Include="Resources\groupbyresource_32x32.png" /> |
| | | <Content Include="Resources\user_16x16.png" /> |
| | | </ItemGroup> |
| | | <ItemGroup /> |
| | |
| | | { |
| | | Application.EnableVisualStyles(); |
| | | Application.SetCompatibleTextRenderingDefault(false); |
| | | // Application.Run(new Gs.DevApp.TestForm.test()); |
| | | DevFrm.FrmLogin fmLogin = new DevFrm.FrmLogin(); |
| | | fmLogin.ShowDialog(); |
| | | if (fmLogin.DialogResult == DialogResult.OK) |
| | |
| | | <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> |
| | | <data name="login_bg2" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\login_bg2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="last_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\last_16x16.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="usergroup_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\usergroup_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="publicfix_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\publicfix_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="task_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\task_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="3dcolumn_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\3dcolumn_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="3dcolumn_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\3dcolumn_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="login_bg222" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\login_bg222.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="dropandhighlowlines_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\dropandhighlowlines_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <data name="filledradarwithoutmarkers_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\filledradarwithoutmarkers_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="converttorange_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\converttorange_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="reviewingpane_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\reviewingpane_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="apply_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\apply_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <data name="show_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\show_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="listmultilevel_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\listmultilevel_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="doublenext_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\doublenext_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="trackingchanges_trackchanges_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\trackingchanges_trackchanges_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | |
| | | </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="show_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\show_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="editingfillleft_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\editingfillleft_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <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="login_bg6" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\login_bg6.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="exportfile_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\exportfile_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | |
| | | <data name="convert_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\convert_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="show_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\show_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="first_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\first_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="removegroupfooter_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\removegroupfooter_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="doubleprev_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\doubleprev_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="forcetesting_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\forcetesting_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | |
| | | <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="first_32x321" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\first_32x321.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <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="3dcolumn_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\3dcolumn_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="first_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\first_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="converttorange_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\converttorange_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="knowledgebasearticle_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\knowledgebasearticle_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | <data name="listmultilevel_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\listmultilevel_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="reviewingpane_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\reviewingpane_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | <data name="groupbyresource_32x32" type="System.Resources.ResXFileRef, System.Windows.Forms"> |
| | | <value>..\Resources\groupbyresource_32x32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> |
| | | </data> |
| | | </root> |
| ÎļþÃû´Ó DevApp/Gs.DevApp/Properties/Resources.Designer.cs ÐÞ¸Ä |
| | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap doublenext_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("doublenext_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap doubleprev_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("doubleprev_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap download_32x32 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("download_32x32", resourceCulture); |
| | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap first_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("first_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap first_32x32 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("first_32x32", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap first_32x321 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("first_32x321", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap forcetesting_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("forcetesting_16x16", resourceCulture); |
| | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap groupbyresource_32x32 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("groupbyresource_32x32", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap knowledgebasearticle_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("knowledgebasearticle_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap last_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("last_16x16", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap login_bg1 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("login_bg1", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap login_bg2 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("login_bg2", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap login_bg222 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("login_bg222", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap login_bg6 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("login_bg6", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap mapit_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("mapit_16x16", resourceCulture); |
| | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap publicfix_32x32 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("publicfix_32x32", resourceCulture); |
| | | return ((System.Drawing.Bitmap)(obj)); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¥æ¾ System.Drawing.Bitmap ç±»åçæ¬å°åèµæºã |
| | | /// </summary> |
| | | internal static System.Drawing.Bitmap removegroupfooter_16x16 { |
| | | get { |
| | | object obj = ResourceManager.GetObject("removegroupfooter_16x16", resourceCulture); |
| | |
| | | using System.Drawing; |
| | | using Newtonsoft.Json; |
| | | using Gs.DevApp.Models; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.ToolBox |
| | | { |
| | |
| | | rto.rtnData = json["rtnData"]; |
| | | return rto; |
| | | } |
| | | |
| | | public static float GetFontSize =10; |
| | | public static void SetFont(Control control) { |
| | | float size = GetFontSize; |
| | | foreach (Control childControl in control.Controls) |
| | | { |
| | | childControl.Font = new Font(childControl.Font.FontFamily, size, childControl.Font.Style); |
| | | SetFont(childControl); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | /// </summary> |
| | | public event EventHandler btnLoadClick; |
| | | |
| | | /// <summary> |
| | | /// ä¿å |
| | | /// </summary> |
| | | public event EventHandler btnSaveClick; |
| | | |
| | | |
| | | public ToolBarMenu() |
| | | { |
| | |
| | | this.btnDel.ItemClick += BtnDel_ItemClick; |
| | | this.btnEdit.ItemClick += BtnEdit_ItemClick; |
| | | this.btnLoad.ItemClick += BtnLoad_ItemClick; |
| | | this.btnSave.ItemClick += BtnSave_ItemClick; |
| | | } |
| | | |
| | | private void BtnSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) |
| | | { |
| | | if (btnSaveClick != null) |
| | | { |
| | | btnSaveClick(this, e); |
| | | } |
| | | } |
| | | |
| | | private void BtnLoad_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) |