C# Class MongoGUIView.MultiTabManger

多文档视图管理
Mostrar archivo Open project: magicdict/MongoCola

Public Properties

Property Type Description
ParentMenuItems List
ViewTabContain System.Windows.Forms.TabControl

Public Methods

Method Description
AddView ( MongoGUIView.MultiTabControl view, string tabPageTitle, string SelectTagType ) : void

增加一个MultiTabControl

Init ( TabControl mViewTabContain, List mParentMenuItems ) : void

初始化

IsExist ( string selectObjectTag ) : bool

是否存在TabPage

RefreshSelectTab ( ) : void

刷新当前选中的Tab

RemoveView ( string selectObjectTag ) : void

删除一个视图

SelectObjectTagChanged ( string oldTag, string newTag, string tabPageTitle ) : void

由于Rename造成的SelectObjectTag变化

SelectObjectTagDeleted ( string strTag ) : void

由于Drop造成的SelectObjectTag删除

SelectObjectTagPrefixDeleted ( string strTagPrefix ) : void

SelectTab ( string dataKey ) : void

切换选中项

Private Methods

Method Description
RefreshMenuItem ( ) : void

刷新菜单

Method Details

AddView() public static method

增加一个MultiTabControl
public static AddView ( MongoGUIView.MultiTabControl view, string tabPageTitle, string SelectTagType ) : void
view MongoGUIView.MultiTabControl
tabPageTitle string
SelectTagType string
return void

Init() public static method

初始化
public static Init ( TabControl mViewTabContain, List mParentMenuItems ) : void
mViewTabContain System.Windows.Forms.TabControl
mParentMenuItems List
return void

IsExist() public static method

是否存在TabPage
public static IsExist ( string selectObjectTag ) : bool
selectObjectTag string
return bool

RefreshSelectTab() public static method

刷新当前选中的Tab
public static RefreshSelectTab ( ) : void
return void

RemoveView() public static method

删除一个视图
public static RemoveView ( string selectObjectTag ) : void
selectObjectTag string
return void

SelectObjectTagChanged() public static method

由于Rename造成的SelectObjectTag变化
public static SelectObjectTagChanged ( string oldTag, string newTag, string tabPageTitle ) : void
oldTag string
newTag string
tabPageTitle string
return void

SelectObjectTagDeleted() public static method

由于Drop造成的SelectObjectTag删除
public static SelectObjectTagDeleted ( string strTag ) : void
strTag string
return void

SelectObjectTagPrefixDeleted() public static method

public static SelectObjectTagPrefixDeleted ( string strTagPrefix ) : void
strTagPrefix string
return void

SelectTab() public static method

切换选中项
public static SelectTab ( string dataKey ) : void
dataKey string
return void

Property Details

ParentMenuItems public_oe static_oe property

父菜单列表
public static List ParentMenuItems
return List

ViewTabContain public_oe static_oe property

显示文档的Tab容器
public static TabControl,System.Windows.Forms ViewTabContain
return System.Windows.Forms.TabControl