当前位置: 首页>>代码示例>>C#>>正文


C# Net.Observable类代码示例

本文整理汇总了C#中Ext.Net.Observable的典型用法代码示例。如果您正苦于以下问题:C# Observable类的具体用法?C# Observable怎么用?C# Observable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Observable类属于Ext.Net命名空间,在下文中一共展示了Observable类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Launch_AfterItemAdd

 void Launch_AfterItemAdd(Observable item)
 {
     if (!this.Controls.Contains(item))
     {
         this.Controls.Add(item);
     }
 }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:7,代码来源:Application.cs

示例2: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if (this.ViewState["LazyMode"] == null)
     {
         this.LazyMode = LazyMode.Config;
     }
 }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:7,代码来源:TreeEditor.cs

示例3: Launch_AfterItemRemove

 void Launch_AfterItemRemove(Observable item)
 {
     if (this.Controls.Contains(item))
     {
         this.Controls.Remove(item);
     }
 }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:7,代码来源:Application.cs

示例4: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if (this.AutoPostBack)
     {
         this.On("change", new JFunction(this.PostBackFunction));
     }
 }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:7,代码来源:NumberFieldBase.cs

示例5: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            if (this.SyncUrl.IsNotEmpty())
            {
                if (this.Proxy.Count > 0 && this.Proxy.Primary is ServerProxy)
                {
                    ((ServerProxy)this.Proxy.Primary).API.Sync = this.SyncUrl;
                }
                else if (this.ModelInstance != null && this.ModelInstance.Proxy.Count > 0 && this.ModelInstance.Proxy.Primary is ServerProxy)
                {
                    ((ServerProxy)this.ModelInstance.Proxy.Primary).API.Sync = this.SyncUrl;
                }
                else if (this.ServerProxy.Count > 0)
                {
                    if (this.ServerProxy.Primary is ServerProxy)
                    {
                        ((ServerProxy)this.ServerProxy.Primary).API.Sync = this.SyncUrl;
                    }
                }
                else
                {
                    this.ServerProxy.Add(new AjaxProxy
                    {
                        API =
                        {
                            Sync = this.SyncUrl
                        }
                    });
                }

            }

            base.OnBeforeClientInit(sender);
        }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:34,代码来源:AbstractStore.cs

示例6: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if(this.Remote)
     {
         this.ForceIdRendering = true;
     }
     base.OnBeforeClientInit(sender);
 }
开发者ID:hpj1106,项目名称:Ext.NET.Community,代码行数:8,代码来源:ToolbarDroppable.cs

示例7: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            this.RegisterStatusIcon(this.DefaultIcon);
            this.RegisterStatusIcon(this.BusyIcon);
            this.RegisterStatusIcon(this.Icon);
        }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:8,代码来源:StatusBar.cs

示例8: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     if (this.Mode == LoadMode.Frame && this.AjaxOptions != null)
     {
      //   throw new Exception("Frame mode doesn't support AjaxOptions");
     }
     base.OnBeforeClientInit(sender);
 }
开发者ID:rajjan,项目名称:Ext.NET.Community,代码行数:8,代码来源:ComponentLoader.cs

示例9: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.CalendarStoreID.IsEmpty() && this.CalendarPanel != null)
            {
                this.CalendarStoreID = this.CalendarPanel.CalendarStoreID;
            }
        }
开发者ID:shalves,项目名称:Ext.NET.Community,代码行数:13,代码来源:EventDetailsBase.cs

示例10: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.Target.IsEmpty())
            {
                throw new Exception("You must define Target for ClickRepeater");
            }
        }
开发者ID:shalves,项目名称:Ext.NET.Community,代码行数:9,代码来源:ClickRepeater.cs

示例11: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (!X.IsAjaxRequest)
            {
                this.RegisterCalculations();
            }
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:9,代码来源:GroupingSummary.cs

示例12: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            if(!this.OverOnly && this.Component.Count > 0)
            {
                this.Component[0].IDMode = Ext.Net.IDMode.Ignore;
            }

            base.OnBeforeClientInit(sender);
        }
开发者ID:hpj1106,项目名称:Ext.NET.Community,代码行数:13,代码来源:ComponentColumn.cs

示例13: OnBeforeClientInit

 protected override void OnBeforeClientInit(Observable sender)
 {
     base.OnBeforeClientInit(sender);
     
     if (this.OnClientClick.IsNotEmpty())
     {
         this.Handler = new JFunction(TokenUtils.ParseTokens(this.OnClientClick, this), "item", "e").ToScript();
     }
 }
开发者ID:emayk,项目名称:Ext.NET.Pro,代码行数:9,代码来源:ButtonBase.cs

示例14: OnBeforeClientInit

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.StandardFields)
            {
                this.AddStandardFields();
            }
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:13,代码来源:GroupStore.cs

示例15: OnBeforeClientInit

        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.AutoPostBack)
            {
                this.CustomConfig.Add(new ConfigItem("tabPostback", JSON.Serialize(new JFunction(this.PostBackFunction)), ParameterMode.Raw));
            }
        }
开发者ID:pgodwin,项目名称:Ext.net,代码行数:9,代码来源:TabPanel.cs


注:本文中的Ext.Net.Observable类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。