資源簡介
c# DEV Winform 框架c# DEV Winform 框架c# DEV Winform 框架c# DEV Winform 框架c# DEV Winform 框架c# DEV Winform 框架c# DEV Winform 框架

代碼片段和文件信息
using?System;
using?System.Windows.Forms;
using?DevExpress.XtraBars.Helpers;
using?DevExpress.XtraBars;
using?DevExpress.XtraBars.Ribbon;
using?DevExpress.XtraSplashScreen;
using?DevExpress.XtraEditors;
using?DevExpress.XtraNavBar;
using?Servers.Interface;
using?Servers.Interface.Types;
using?Servers.Common.Utility;
using?DevExpress.XtraTab;
using?DevExpress.XtraTab.ViewInfo;
using?Servers.Common.Utility.Util;
using?System.Data;
using?System.Diagnostics;
namespace?Servers
{
????public?partial?class?FormMain?:?RibbonForm
????{
????????private?bool?MainMenuChange?=?false;//菜單欄是否在切換
????????public?FormMain()
????????{
????????????InitializeComponent();
????????????this.SizeChanged?+=?new?EventHandler(FormMain_SizeChanged);
????????????SkinHelper.InitSkinGallery(rgbiSkins?true);
????????}
????????private?void?FormMain_Load(object?sender?EventArgs?e)
????????{
????????????//裝載插件
????????????string?errMsg?=?string.Empty;
????????????//酒店管理
????????????Global.Plugins.AddPlugin(“XtraFrmServer“?“Servers.exe“?“服務(wù)管理“?“服務(wù)監(jiān)控“?out?errMsg);
????????????timer1_Tick(null?null);
????????????//關(guān)閉閃屏窗口
????????????SplashScreenManager.CloseForm();
????????}
????????#region?酒店管理
????????private?void?iGO_ItemClick(object?sender?ItemClickEventArgs?e)
????????{
????????????xtraTabControl1.Visible?=?!xtraTabControl1.Visible;
????????}
????????private?void?Item_ItemClick(object?sender?ItemClickEventArgs?e)
????????{
????????????if?(MainMenuChange)
????????????{
????????????????xtraTabControl1.Visible?=?false;
????????????????xtraTabControlMain.TabPages.Clear();
????????????????this.MainMenuChange?=?false;
????????????}
????????????LoadlinkControl(e.link.Caption);
????????}
????????//導(dǎo)航按鈕點擊事件
????????private?void?navBarControl_linkClicked(object?sender?NavBarlinkEventArgs?e)
????????{
????????????LoadlinkControl(e.link.Caption);
????????}
????????#endregion
????????#region?幫助
????????private?void?iHelp_ItemClick(object?sender?ItemClickEventArgs?e)
????????{
????????}
????????private?void?iAbout_ItemClick(object?sender?ItemClickEventArgs?e)
????????{
????????}
????????#endregion
????????#region?Fun
????????//加載窗體
????????public?void?LoadlinkControl(string?controlName)
????????{
????????????if?(controlName?==?“客房狀態(tài)視圖“)
????????????{
????????????????LoadKf(controlName);
????????????????return;
????????????}
????????????SplashScreenManager.ShowForm(this?typeof(WaitFormSleap)?true?true?false);
????????????AvailablePlugin?selectedPlugin?=?Global.Plugins.AvailablePlugins.Find(controlName);
????????????if?(selectedPlugin?==?null)
????????????{
????????????????SplashScreenManager.CloseForm();
????????????????XtraMessageBox.Show(“獲取窗體失敗!“);
????????????????return;
????????????}
????????????this.Text?=?selectedPlugin.MainName;
????????????try
????????????{
????????????????string?errMsg;
????????????????object?objFrm?=?Reflectionhelper.GetRefObj(selectedPlugin.F
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-09-08?11:27??AppStart\
?????文件???????57344??2015-11-19?16:46??AppStart\DotNetOpenMail.dll
?????文件??????241664??2015-10-28?10:40??AppStart\log4net.dll
?????文件?????1438186??2015-10-28?10:40??AppStart\log4net.xm
?????文件??????371200??2017-09-08?11:27??AppStart\Servers.Common.Utility.dll
?????文件?????1054208??2017-09-08?11:27??AppStart\Servers.Common.Utility.pdb
?????文件??????595968??2017-09-08?11:27??AppStart\Servers.exe
?????文件?????????144??2017-09-08?11:00??AppStart\Servers.exe.config
?????文件????????5632??2017-09-08?11:27??AppStart\Servers.Log.dll
?????文件???????15872??2017-09-08?11:26??AppStart\Servers.Log.pdb
?????文件???????69120??2017-09-08?11:27??AppStart\Servers.pdb
?????文件???????22472??2017-09-08?11:26??AppStart\Servers.vshost.exe
?????文件?????????144??2017-09-08?11:00??AppStart\Servers.vshost.exe.config
?????目錄???????????0??2017-09-08?10:58??Lib\
?????文件??????201728??2016-08-16?08:51??Lib\Dos.Common.dll
?????文件??????195584??2016-08-16?08:51??Lib\Dos.ORM.dll
?????文件??????226645??2016-08-15?09:14??Lib\DotNetOpenMail.chm
?????文件???????57344??2015-11-19?16:46??Lib\DotNetOpenMail.dll
?????文件??????792880??2015-10-28?10:40??Lib\Entityfr
?????文件??????976896??2015-11-19?16:42??Lib\HolyUpdate.exe
?????文件??????200704??2010-05-25?12:55??Lib\ICSharpCode.SharpZipLib.dll
?????文件???????25600??2015-10-28?10:40??Lib\JdSoft.Apns.Notifications.dll
?????文件????????1558??2015-10-28?10:40??Lib\log4net.config
?????文件??????241664??2015-10-28?10:40??Lib\log4net.dll
?????文件?????1438186??2015-10-28?10:40??Lib\log4net.xm
?????文件???????29760??2015-10-28?10:40??Lib\Microsoft.Practices.ServiceLocation.dll
?????文件??????133944??2015-10-28?10:40??Lib\Microsoft.Practices.Unity.dll
?????文件??????125752??2015-10-28?10:40??Lib\Microsoft.Practices.Unity.Interception.dll
?????文件??????217088??2015-10-28?10:40??Lib\Newtonsoft.Json.Compact.dll
?????文件??????348160??2015-10-28?10:40??Lib\Newtonsoft.Json.dll
?????文件??????506976??2015-10-28?10:40??Lib\System.Web.Mvc.dll
............此處省略605個文件信息
評論
共有 條評論