Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Somali/EnvControl/CentralMediator.Action.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 95 - (show annotations) (download)
Sun Nov 28 06:24:47 2010 UTC (13 years, 5 months ago) by juan
File size: 1077 byte(s)
mod ExplorerForm with able to open dirTree
1 using System;
2 using Somali.Base;
3 using Somali.Models;
4
5 namespace Somali.EnvControl
6 {
7 partial class CentralMediator
8 {
9 private void ExitApplication( SomaliActionArgs e )
10 {
11 layoutSec.PreserveLayout();
12 }
13
14 private void OpenDirectory( SomaliActionArgs e )
15 {
16 ExplorerModel model = new ExplorerModel();
17 model.ExplorerTree = resSec.GetExplorerTree( e.Path );
18 ShowColleague<ExplorerForm>( model );
19 }
20
21 private void ShowExplorer( SomaliActionArgs e )
22 {
23 ShowColleague<ExplorerForm>( new ExplorerModel() );
24 }
25
26 private void ShowOutline( SomaliActionArgs e )
27 {
28 this._mainDockPanel.DefaultFloatWindowSize = new System.Drawing.Size( 580, 300 );
29 ShowColleague<OutlineForm>( new OutlineModel() );
30 }
31
32 private void ExpandExplorerNode( SomaliActionArgs e )
33 {
34 resSec.ExpandExplorerNode( (System.Windows.Forms.TreeNode)e.Arg );
35 }
36 }
37 }

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26