本文整理汇总了C#中ModuleSetting类的典型用法代码示例。如果您正苦于以下问题:C# ModuleSetting类的具体用法?C# ModuleSetting怎么用?C# ModuleSetting使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ModuleSetting类属于命名空间,在下文中一共展示了ModuleSetting类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: AddTabs
public override void AddTabs()
{
base.AddTabs();
ModuleSetting Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Ma";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Ma;
Tab1Settings1.Title = "Mã danh mục";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Top";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Top;
Tab1Settings1.Title = "Số lượng";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Css";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Css;
Tab1Settings1.Title = "Css";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "ItemCss";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = ItemCss;
Tab1Settings1.Title = "Class của hàng hóa";
this.Tabs[0].Settings.Add(Tab1Settings1);
}
开发者ID:nhatkycon,项目名称:nkc-v3,代码行数:31,代码来源:SlideShow.cs
示例2: AddTabs
public override void AddTabs()
{
base.AddTabs();
ModuleSetting Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Htmls";
Tab1Settings1.Type = "html";
Tab1Settings1.Value = Htmls;
Tab1Settings1.Title = "Html";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Css";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Css;
Tab1Settings1.Title = "Css";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Ten";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Ten;
Tab1Settings1.Title = "Tên";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Header_Url";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Header_Url;
Tab1Settings1.Title = "Url header";
this.Tabs[0].Settings.Add(Tab1Settings1);
}
开发者ID:nhatkycon,项目名称:Bally-v2,代码行数:31,代码来源:HtmlBoxHome.cs
示例3: AddTabs
public override void AddTabs()
{
base.AddTabs();
ModuleSetting Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Htmls";
Tab1Settings1.Type = "html";
Tab1Settings1.Value = Htmls;
Tab1Settings1.Title = "Html";
this.Tabs[0].Settings.Add(Tab1Settings1);
}
开发者ID:nhatkycon,项目名称:AoCuoiHongNhung,代码行数:10,代码来源:Footer.cs
示例4: AddTabs
public override void AddTabs()
{
base.AddTabs();
ModuleSetting Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Ma";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Ma;
Tab1Settings1.Title = "Mã danh mục";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Ten";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Ten;
Tab1Settings1.Title = "Tên";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Top";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Top;
Tab1Settings1.Title = "Số lượng";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Css";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Css;
Tab1Settings1.Title = "Css";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Header_Url";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Header_Url;
Tab1Settings1.Title = "Url";
this.Tabs[0].Settings.Add(Tab1Settings1);
Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "ItemCss";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = ItemCss;
Tab1Settings1.Title = "Css Item:";
this.Tabs[0].Settings.Add(Tab1Settings1);
}
开发者ID:nhatkycon,项目名称:Autodaily2013,代码行数:45,代码来源:ListByMember.cs
示例5: AddTabs
public override void AddTabs()
{
base.AddTabs();
ModuleSetting Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "Ma_Trang_Chu";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = Ma_Trang_Chu;
Tab1Settings1.Title = "Mã trang chủ";
this.Tabs[0].Settings.Add(Tab1Settings1);
ModuleSetting Tab1Settings2 = new ModuleSetting();
Tab1Settings2.Key = "Css";
Tab1Settings2.Type = "String";
Tab1Settings2.Value = Css;
Tab1Settings2.Title = "Css";
this.Tabs[0].Settings.Add(Tab1Settings2);
ModuleSetting Tab1Settings3 = new ModuleSetting();
Tab1Settings3.Key = "Ma_Sub";
Tab1Settings3.Type = "String";
Tab1Settings3.Value = Ma_Sub;
Tab1Settings3.Title = "Danh mục phụ";
this.Tabs[0].Settings.Add(Tab1Settings3);
}
开发者ID:nhatkycon,项目名称:Autodaily2013,代码行数:24,代码来源:home_headLines.cs
示例6: AddTabsSetting
public virtual void AddTabsSetting(ModuleSetting Item)
{
this.Tabs[0].Settings.Add(Item);
}
开发者ID:nhatkycon,项目名称:spav4,代码行数:4,代码来源:PlugUI.cs
示例7: AddTabs
public virtual void AddTabs()
{
ModuleSetingTabCollection TabList = new ModuleSetingTabCollection();
#region Tab1: TargetPage
ModuleSetingTab Tab1 = new ModuleSetingTab();
#region Thuộc tính cơ bản của Tab
Tab1.Name = "Khác";
Tab1.Index = 1;
Tab1.TabId = Guid.NewGuid().ToString();
#endregion
#region Cài đặt bên trong Tab1
ModuleSettingCollection Tab1Settings = new ModuleSettingCollection();
#region Cài đặt về Tên
ModuleSetting Tab1Settings1 = new ModuleSetting();
Tab1Settings1.Key = "TargetPage";
Tab1Settings1.Type = "String";
Tab1Settings1.Value = TargetPage;
Tab1Settings1.Title = "Class";
Tab1Settings.Add(Tab1Settings1);
#endregion
Tab1.Settings = Tab1Settings;
#endregion
TabList.Add(Tab1);
#endregion
this.Tabs = TabList;
}
开发者ID:nhatkycon,项目名称:spav4,代码行数:31,代码来源:PlugUI.cs
示例8: GetModuleSettings
public override ModuleSetting GetModuleSettings(int moduleId)
{
DataSet ds = SqlHelper.ExecuteDataset(this.ConnectionString, "Portal_Modules_GetModuleSettings", moduleId);
ModuleSetting setting = new ModuleSetting();
if (ds != null && ds.Tables.Count > 0)
{
DataTable dtSettings = ds.Tables[0];
foreach (DataRow row in dtSettings.Rows)
{
setting[row["SettingName"].ToString()] = row["SettingValue"].ToString();
}
}
return setting;
}
开发者ID:hoangtung56pm,项目名称:KPINew,代码行数:14,代码来源:SqlDataProvider.cs
示例9: RecentSelectionSetting
public RecentSelectionSetting(string className, string customName, string assemblyName, string xapFileName)
{
ClassName = className;
CustomName = customName;
Module = new ModuleSetting(assemblyName, xapFileName);
}
开发者ID:philcockfield,项目名称:Open.TestHarness.SL,代码行数:6,代码来源:RecentSelectionSetting.cs
注:本文中的ModuleSetting类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论