public frmStorageMain()
        {
            InitializeComponent();
            #region 启动界面开始
            Splasher.Status = "正在处理......";
            System.Threading.Thread.Sleep(100);
            #endregion

            ///加载程序代码开始
            frmoutlooknavbar.Show(this.dockPanel, DockState.DockLeft);
            frmcrkmanage.Show(this.dockPanel);
            frminfocx.Show(this.dockPanel);
            frmbymanage.Show(this.dockPanel);
            frmbackup.Show(this.dockPanel);
            timeflag         = true;
            tsrbTime.Text    = DateTime.Now.ToString();
            tsrslblTime.Text = DateTime.Now.ToString();
            ///加载程序代码接收
            #region 启动界面结束
            Splasher.Status = "初始化完毕......";
            System.Threading.Thread.Sleep(100);

            Splasher.Close();
            #endregion
        }
Пример #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //frmStorageMain fsm = new frmStorageMain();
            // fsm.StartPosition = FormStartPosition.CenterScreen;

            Splasher.Show(typeof(frmSplashStartUp));
            Application.Run(new frmStorageMain());
        }