本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例6: AddTabsSetting
public virtual void AddTabsSetting(ModuleSetting Item)
{
this.Tabs[0].Settings.Add(Item);
}
示例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;
}
示例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;
}
示例9: RecentSelectionSetting
public RecentSelectionSetting(string className, string customName, string assemblyName, string xapFileName)
{
ClassName = className;
CustomName = customName;
Module = new ModuleSetting(assemblyName, xapFileName);
}