forked from extnet/Ext.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowManager.cs
More file actions
97 lines (86 loc) · 2.79 KB
/
WindowManager.cs
File metadata and controls
97 lines (86 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/********
* @version : 1.6.0 - Ext.NET Pro License
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2012-11-21
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/
using System.Web;
using System.ComponentModel;
namespace Ext.Net
{
/// <summary>
///
/// </summary>
[Description("")]
public partial class WindowManager : ScriptClass
{
/* IScriptable
-----------------------------------------------------------------------------------------------*/
/// <summary>
///
/// </summary>
[Description("")]
public override string InstanceOf
{
get
{
return "Ext.WindowMgr";
}
}
/// <summary>
///
/// </summary>
[Description("")]
public override string ToScript()
{
return "";
}
/* Public Methods
-----------------------------------------------------------------------------------------------*/
/// <summary>
/// Brings the specified window to the front of any other active windows.
/// </summary>
/// <param name="windowID">The id of the window</param>
/// <returns>WindowMgr</returns>
public virtual void BringToFront(string windowID)
{
this.Call("bringToFront", windowID);
}
/// <summary>
/// Brings the specified window to the front of any other active windows.
/// </summary>
/// <param name="window">Window</param>
/// <returns>WindowMgr</returns>
public virtual void BringToFront(WindowBase window)
{
this.BringToFront(window.ClientID);
}
/// <summary>
/// Hides all windows in the group.
/// </summary>
/// <returns>WindowMgr</returns>
public virtual void HideAll()
{
this.Call("hideAll");
}
/// <summary>
/// Sends the specified window to the back of other active windows.
/// </summary>
/// <param name="windowID">The id of the window</param>
/// <returns>WindowMgr</returns>
public virtual void SendToBack(string windowID)
{
this.Call("sendToBack", windowID);
}
/// <summary>
/// Sends the specified window to the back of other active windows.
/// </summary>
/// <param name="window">Window</param>
/// <returns>WindowMgr</returns>
public virtual void SendToBack(WindowBase window)
{
this.SendToBack(window.ClientID);
}
}
}