Skip to content

Commit

Permalink
主界面
Browse files Browse the repository at this point in the history
  • Loading branch information
qicb committed Dec 12, 2012
1 parent 408098e commit cf259f0
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 66 deletions.
137 changes: 72 additions & 65 deletions Application/frmMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions Application/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using WeifenLuo.WinFormsUI.Docking;

namespace WorkStation
{
Expand Down Expand Up @@ -69,6 +70,24 @@ private void frmMain_Load(object sender, EventArgs e)
{
frmMainTool tool = new frmMainTool();
tool.Show(this.dockPanel);
timer1.Start();
}

//private void timer1_Tick(object sender, EventArgs e)
//{
// foreach (Form f in MdiChildren)
// {
// if (!FormMap.Keys.Contains(f.Name))
// {
// (f as DockContent).Show(dockPanel);
// }
// else
// {
// FormMap
// }
// }
//}


}
}
5 changes: 4 additions & 1 deletion Application/frmMain.resx
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,10 @@
FxfIWHnxgAA7
</value>
</data>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 34</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
<value>111</value>
</metadata>
</root>
1 change: 1 addition & 0 deletions Application/frmMainTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ private void treeView3_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs
{
(obj as WeifenLuo.WinFormsUI.Docking.DockContent).MdiParent = this.ParentForm;
(obj as WeifenLuo.WinFormsUI.Docking.DockContent).Show();

}


Expand Down

0 comments on commit cf259f0

Please sign in to comment.