Exemple #1
0
        private void FormMainWindow_Load(object sender, EventArgs e)
        {
            dockPanel1.Theme = vS2015BlueTheme1;
            propertySetting  = new FormPropertySetting( );


            treeView1.ExpandAll( );
            treeView1.MouseDoubleClick += TreeView1_MouseDoubleClick;

            propertySetting.Show(dockPanel1, WeifenLuo.WinFormsUI.Docking.DockState.DockRight);
            官网ToolStripMenuItem.Click      += 官网ToolStripMenuItem_Click;
            论坛ToolStripMenuItem.Click      += 论坛ToolStripMenuItem_Click;
            demo地址ToolStripMenuItem.Click  += Demo地址ToolStripMenuItem_Click;
            赞助说明ToolStripMenuItem.Click    += 赞助说明ToolStripMenuItem_Click;
            wpfDemoToolStripMenuItem.Click += WpfDemoToolStripMenuItem_Click;


            this.Text += $" [v{versionCurr.ToString( )}]";
            System.Threading.ThreadPool.QueueUserWorkItem(new System.Threading.WaitCallback(ThreadPoolCheckVersion), null);

            FormContent form = new FormCharge( );

            form.Show(dockPanel1);
        }