示例#1
0
文件: Workspace.cs 项目: itsbth/GLuaR
 /// <summary>
 /// Checks if a tab window is a special tab
 /// </summary>
 /// <param name="tp">The window to check</param>
 /// <returns>True if the window is a special tab, otherwise false</returns>
 public static bool IsSpecialTab(DockableWindow tp)
 {
     return (tp != null) && (tp.GetType().Name != "CodeTab");
 }
示例#2
0
文件: Workspace.cs 项目: itsbth/GLuaR
 /// <summary>
 /// Checks if a tab is a code tab
 /// </summary>
 /// <param name="tp">The tab to check</param>
 /// <returns>True if the tab is a code tab, otherwise false</returns>
 public static bool IsCodeTab(DockableWindow tp)
 {
     return (tp != null) && ((tp.GetType().Name == "CodeTab"));
 }