本文整理汇总了C#中Interfaces.ClearRotators方法的典型用法代码示例。如果您正苦于以下问题:C# Interfaces.ClearRotators方法的具体用法?C# Interfaces.ClearRotators怎么用?C# Interfaces.ClearRotators使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Interfaces
的用法示例。
在下文中一共展示了Interfaces.ClearRotators方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Reload
/// <summary>
/// Reloads all tiles a given "Folder" and a given rotator control in that Folder
/// </summary>
/// <param name="section">The name of the Folder to Reload tiles for</param>
/// <param name="ctlRotator">The RotatorControl inside of the folder to reload tiles for</param>
private void Reload(string section, Interfaces.IRotatorControl ctlRotator)
{
SessionObject.Elements_ActiveFolder = section;
_doubleCarousel = ctlRotator;
Rotator1Tiles.Clear();
Rotator2Tiles.Clear();
ctlRotator.ClearRotators();
//Find folder in folderList
var folder = Folders.Find(t => t.Text == section);
if (folder == null) return;
folder.LoadTilesMethod();
ctlRotator.ChangeCarouselTwoVisibility(folder.DoubleRotator);
LoadTilesAndContainer(ctlRotator, 1, folder.Container1Path, folder.NumberOfTiles1, Rotator1Tiles);
if (folder.DoubleRotator)
LoadTilesAndContainer(ctlRotator, 2, folder.Container2Path, folder.NumberOfTiles1, Rotator2Tiles);
ctlRotator.AddNavigationButtons(folder);
}