• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Controls.Scrud类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                bool denyToNonAdmins = !AppUsers.GetCurrentLogin().View.IsAdmin.ToBool();

                scrud.DenyAdd = denyToNonAdmins;
                scrud.DenyEdit = denyToNonAdmins;
                scrud.DenyDelete = denyToNonAdmins;

                scrud.KeyColumn = "api_access_policy_id";

                scrud.TableSchema = "policy";
                scrud.Table = "api_access_policy";
                scrud.ViewSchema = "policy";
                scrud.View = "api_access_policy";

                scrud.PageSize = 100;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();
                scrud.UseDisplayViewsAsParents = true;

                scrud.Text = "API Access Policy";

                this.ScrudPlaceholder.Controls.Add(scrud);
                this.RegisterJavascript();
            }
        }
开发者ID:varcharli,项目名称:mixerp,代码行数:29,代码来源:ApiAccess.ascx.cs


示例2: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                bool denyToNonAdmins = !AppUsers.GetCurrent().View.IsAdmin.ToBool();

                scrud.DenyAdd = denyToNonAdmins;
                scrud.DenyEdit = denyToNonAdmins;
                scrud.DenyDelete = denyToNonAdmins;

                scrud.ExcludeEdit = "user_id";

                scrud.KeyColumn = "policy_id";

                scrud.TableSchema = "policy";
                scrud.Table = "auto_verification_policy";
                scrud.ViewSchema = "policy";
                scrud.View = "auto_verification_policy_scrud_view";

                scrud.PageSize = 100;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();
                scrud.UseDisplayViewsAsParents = true;

                scrud.Text = Titles.AutoVerificationPolicy;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:njmube,项目名称:mixerp,代码行数:30,代码来源:AutoVerification.ascx.cs


示例3: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "item_type_id";
                scrud.TableSchema = "core";
                scrud.Table = "item_types";
                scrud.ViewSchema = "core";
                scrud.View = "item_type_scrud_view";
                scrud.Text = Titles.ItemTypes;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:njmube,项目名称:mixerp,代码行数:14,代码来源:ItemTypes.ascx.cs


示例4: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "cash_flow_heading_id";
                scrud.TableSchema = "core";
                scrud.Table = "cash_flow_headings";
                scrud.ViewSchema = "core";
                scrud.View = "cash_flow_heading_scrud_view";
                scrud.Text = Titles.CashFlowHeadings;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:JonathanValle,项目名称:mixerp,代码行数:14,代码来源:CashFlowHeadings.ascx.cs


示例5: LoadControl

        protected void LoadControl()
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "sales_team_id";
                scrud.TableSchema = "core";
                scrud.Table = "sales_teams";
                scrud.ViewSchema = "core";
                scrud.View = "sales_team_scrud_view";

                scrud.Text = Titles.SalesTeams;
                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:njmube,项目名称:mixerp,代码行数:14,代码来源:Teams.ascx.cs


示例6: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "tax_master_id";
                scrud.TableSchema = "core";
                scrud.Table = "tax_master";
                scrud.ViewSchema = "core";
                scrud.View = "tax_master_scrud_view";
                scrud.Text = Titles.TaxMaster;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:JonathanValle,项目名称:mixerp,代码行数:14,代码来源:TaxMaster.ascx.cs


示例7: OnControlLoad

 public override void OnControlLoad(object sender, EventArgs e)
 {
     using (Scrud scrud = new Scrud())
     {
         scrud.KeyColumn = "salesperson_bonus_setup_id";
         scrud.TableSchema = "core";
         scrud.Table = "salesperson_bonus_setups";
         scrud.ViewSchema = "core";
         scrud.View = "salesperson_bonus_setup_scrud_view";
         scrud.DisplayFields = GetDisplayFields();
         scrud.DisplayViews = GetDisplayViews();
         scrud.Text = Titles.AgentBonusSlabAssignment;
         this.ScrudPlaceholder.Controls.Add(scrud);
     }
 }
开发者ID:JonathanValle,项目名称:mixerp,代码行数:15,代码来源:BonusSlabAssignment.ascx.cs


示例8: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "cost_center_id";
                scrud.TableSchema = "office";
                scrud.Table = "cost_centers";
                scrud.ViewSchema = "office";
                scrud.View = "cost_center_scrud_view";

                scrud.Text = Titles.CostCenters;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:JonathanValle,项目名称:mixerp,代码行数:15,代码来源:CostCenters.ascx.cs


示例9: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "lead_status_id";

                scrud.TableSchema = "crm";
                scrud.Table = "lead_statuses";
                scrud.ViewSchema = "crm";
                scrud.View = "lead_statuses";
                scrud.Text = Titles.LeadStatuses;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:roczj,项目名称:mixerp,代码行数:15,代码来源:LeadStatuses.ascx.cs


示例10: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "bonus_slab_detail_id";
                scrud.TableSchema = "core";
                scrud.Table = "bonus_slab_details";
                scrud.ViewSchema = "core";
                scrud.View = "bonus_slab_detail_scrud_view";
                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();
                scrud.Text = Titles.BonusSlabDetails;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:roczj,项目名称:mixerp,代码行数:16,代码来源:BonusSlabDetails.ascx.cs


示例11: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "unit_id";

                scrud.TableSchema = "core";
                scrud.Table = "units";
                scrud.ViewSchema = "core";
                scrud.View = "unit_scrud_view";

                scrud.Text = Titles.UnitsOfMeasure;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:JonathanValle,项目名称:mixerp,代码行数:16,代码来源:UOM.ascx.cs


示例12: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "fiscal_year_code";

                scrud.TableSchema = "core";
                scrud.Table = "fiscal_year";
                scrud.ViewSchema = "core";
                scrud.View = "fiscal_year_scrud_view";

                scrud.Text = Titles.FiscalYear;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:roczj,项目名称:mixerp,代码行数:16,代码来源:FiscalYear.ascx.cs


示例13: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "item_group_id";
                scrud.TableSchema = "core";
                scrud.Table = "item_groups";
                scrud.ViewSchema = "core";
                scrud.View = "item_group_scrud_view";
                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                scrud.Text = Titles.ItemGroups;
                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:girish66,项目名称:mixerp,代码行数:16,代码来源:ItemGroups.ascx.cs


示例14: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "county_sales_tax_id";
                scrud.TableSchema = "core";
                scrud.Table = "county_sales_taxes";
                scrud.ViewSchema = "core";
                scrud.View = "county_sales_tax_scrud_view";
                scrud.Text = Titles.CountySalesTaxes;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:njmube,项目名称:mixerp,代码行数:17,代码来源:CountySalesTaxes.ascx.cs


示例15: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "smtp_id";

                scrud.ExcludeEdit = "key";
                scrud.TableSchema = "config";
                scrud.Table = "smtp";
                scrud.ViewSchema = "config";
                scrud.View = "smtp";

                scrud.Text = Titles.SMTPConfiguration;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:njmube,项目名称:mixerp,代码行数:17,代码来源:SMTP.ascx.cs


示例16: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "ageing_slab_id";

                scrud.TableSchema = "core";
                scrud.Table = "ageing_slabs";
                scrud.ViewSchema = "core";
                scrud.View = "ageing_slab_scrud_view";

                scrud.Text = Titles.AgeingSlabs;

                this.AddScrudCustomValidatorErrorMessages();

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:JonathanValle,项目名称:mixerp,代码行数:18,代码来源:AgeingSlabs.ascx.cs


示例17: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "recurring_invoice_id";
                scrud.TableSchema = "core";
                scrud.Table = "recurring_invoices";
                scrud.ViewSchema = "core";
                scrud.View = "recurring_invoice_scrud_view";
                scrud.Text = Titles.RecurringInvoices;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();
                scrud.UseDisplayViewsAsParents = true;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:hoanien,项目名称:mixerp,代码行数:18,代码来源:RecurringInvoices.ascx.cs


示例18: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "merchant_fee_setup_id";
                scrud.TableSchema = "core";
                scrud.Table = "merchant_fee_setup";
                scrud.ViewSchema = "core";
                scrud.View = "merchant_fee_setup_scrud_view";
                scrud.Text = Titles.MerchantFeeSetup;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();
                scrud.UseDisplayViewsAsParents = true;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:hoanien,项目名称:mixerp,代码行数:18,代码来源:MerchantFeeSetup.ascx.cs


示例19: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "key";

                scrud.ExcludeEdit = "key";
                scrud.TableSchema = "config";
                scrud.DenyDelete = true;

                scrud.Table = "db_parameters";
                scrud.ViewSchema = "config";
                scrud.View = "db_parameter_scrud_view";

                scrud.Text = Titles.DatabaseParameters;

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:njmube,项目名称:mixerp,代码行数:19,代码来源:DatabaseParameters.ascx.cs


示例20: OnControlLoad

        public override void OnControlLoad(object sender, EventArgs e)
        {
            using (Scrud scrud = new Scrud())
            {
                scrud.KeyColumn = "payment_term_id";
                scrud.TableSchema = "core";
                scrud.Table = "payment_terms";
                scrud.ViewSchema = "core";
                scrud.View = "payment_term_scrud_view";
                scrud.Text = Titles.PaymentTerms;

                scrud.DisplayFields = GetDisplayFields();
                scrud.DisplayViews = GetDisplayViews();

                this.AddScrudCustomValidatorErrorMessages();

                this.ScrudPlaceholder.Controls.Add(scrud);
            }
        }
开发者ID:varcharli,项目名称:mixerp,代码行数:19,代码来源:PaymentTerms.ascx.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ScrudFactory.ScrudForm类代码示例发布时间:2022-05-26
下一篇:
C# Cache.LoginView类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap