示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="window"></param>
        public virtual void CreateWindow(AbstractWindow window)
        {
            window.AutoRender = false;
            var script = DefaultScriptBuilder.Create(window).Build(RenderMode.AddTo, this.ClientID + ".desktop", null, true, false, "showWindow", true);

            this.AddScript(script);
        }
示例#2
0
 protected virtual void AfterItemRemove(AbstractWindow window)
 {
     if (this.Desktop != null)
     {
         this.Desktop.Controls.Remove(window);
         this.Desktop.LazyItems.Remove(window);
     }
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="window"></param>
 public virtual void CreateWindow(AbstractWindow window)
 {
     this.Call("createWindow", window.ToConfig());
 }
示例#4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="window"></param>
 /// <param name="instanceOf"></param>
 public virtual void CreateWindow(AbstractWindow window, string instanceOf)
 {
     this.Call("createWindow", window.ToConfig(), JRawValue.From(instanceOf));
 }
示例#5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="window"></param>
 public virtual void CreateWindow(AbstractWindow window)
 {
     this.Call("createWindow", window.ToConfig());
 }
示例#6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="window"></param>
 /// <param name="instanceOf"></param>
 public virtual void CreateWindow(AbstractWindow window, string instanceOf)
 {
     this.Call("createWindow", window.ToConfig(), JRawValue.From(instanceOf));
 }
示例#7
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="window"></param>
 public virtual void CreateWindow(AbstractWindow window)
 {
     window.AutoRender = false;
     var script = DefaultScriptBuilder.Create(window).Build(RenderMode.AddTo, this.ClientID + ".desktop", null, true, false, "showWindow", true);
     this.AddScript(script);
 }