C#中的窗体菜单

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

using System;

using System.Collections.Generic;

using ponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

using System.Reflection;

using dxsDataFrom.dxsCode;

using DevExpress.LookAndFeel;

using DevExpress.XtraBars;

namespace dxsDataFrom

{

public partial class dxsMenfrom : Form

{

#region

private dxsInterface.ChildrenParam _ChildrenParam = new dxsInterface.ChildrenParam();

#endregion

public dxsMenfrom()

{

InitializeComponent();

//this.skinEngine1.SkinFile = "";

//_ChildrenParam.SkinEngine = this.skinEngine1;

RegisterUserSkins();

//erLookAndFeel.Default.SetSkinS tyle("Imaginary");

}

erBull user = new erBull();

private void dxsMenfrom_Load(object sender, EventArgs e)

{

DevExpress.XtraBars.Localization.BarLocalizer.Active = new DevExpress.LocalizationCHS.DevExpressXtraBarsLocalizationCHS();

DevExpress.XtraCharts.Localization.ChartLocalizer.Active = new DevExpress.LocalizationCHS.DevExpressXtraChartsLocalizationCHS(); DevExpress.XtraEditors.Controls.Localizer.Active = new DevExpress.LocalizationCHS.DevExpressXtraEditorsLocalizationCHS();

DevExpress.XtraGrid.Localization.GridLocalizer.Active = new DevExpress.LocalizationCHS.DevExpressXtraGridLocalizationCHS();

DevExpress.XtraPivotGrid.Localization.PivotGridLocalizer. Active = new

DevExpress.LocalizationCHS.DevExpressXtraPivotGridLocalizationCHS(); DevExpress.XtraPrinting.Localization.PreviewLocalizer.Act ive = new

DevExpress.LocalizationCHS.DevExpressXtraPrintingLocalizationCHS();

//dxsMenfrom fr=new dxsMenfrom();

//fr.WindowState = FormWindowState.Maximized;

CreateMenu();

dxsDataFrom.dxsfromWorkMap Mapdata = new dxsfromWorkMap(); Mapdata.MdiParent = this;

Mapdata.WindowState = FormWindowState.Maximized;

Methods me = new Methods();

me.Refresh();

Mapdata.Show();

//cha.Show();

//fr.IsMdiContainer.GetType().FullName.

timer1.Enabled = true;

barLargeButtonItem1.Caption = "北京圣世信通科技公司";

barLargeButtonItem2.Caption =

" ";

barLargeButtonItem3.Caption =

" ";

barLargeButtonItem5.Caption = "当前系统时间:" + DateTime.Now.ToLongTimeString();

}

public string UserID

{

get { return _UserID; }

set

{

_erID = _UserID =

value;

}

}

private string _UserID = "";

public string TextStored

{

get { return _TextStored; }

set

相关文档
最新文档