예제 #1
0
 public NewComplexSyncGroup(SyncGroupList parentList, int id)
     : base(parentList)
 {
     this._id       = id;
     this._isActive = true;
     this.UpdateInfo();
 }
예제 #2
0
 public DeviceOverfillLand(UIDevice device)
 {
     this._device = device;
     this._list   = this.Device.GenerateSyncGroupList(this, true);
     Deviceland.InitDevicePage(this);
     this.ShowBackArrow    = false;
     this.ShowComputerIcon = ComputerIconState.Hide;
     this.ShowNowPlayingX  = false;
     this.ShowPivots       = false;
     this.ShowSearch       = false;
     this.ShowSettings     = false;
     this.UI          = "res://ZuneShellResources!DeviceSyncGroups.uix#SyncGroupsPage";
     this.BottomBarUI = "res://ZuneShellResources!DeviceSyncGroups.uix#GasGauge";
 }
예제 #3
0
 public DetailsBackedSchemaSyncGroup(
     SyncGroupList list,
     SyncRulesView view,
     SyncCategory type,
     bool inOverfill)
     : base(list, type)
 {
     this._view                   = view;
     this._index                  = -1;
     this._inOverfill             = inOverfill;
     this._resortTimer            = new Timer(this);
     this._resortTimer.AutoRepeat = false;
     this._resortTimer.Tick      += new EventHandler(this.OnResortTimerTick);
     this._resortTimer.Interval   = 527;
     this._masterList             = new System.Collections.Generic.List <SyncGroup>();
     this._sortedList             = new System.Collections.Generic.List <SyncGroup>();
     this._active                 = true;
 }
예제 #4
0
 public ExistingSyncGroup(
     SyncGroupList parentList,
     SyncRulesView view,
     int index,
     bool isExpandedEntry)
     : base(parentList)
 {
     this._details    = view.GetItem(index);
     this._view       = view;
     this._index      = index;
     this._isExpanded = isExpandedEntry;
     this.UpdateTitle();
     if (!this.IsComplex)
     {
         return;
     }
     this.UpdateComplexType();
     this._originalComplexRuleName  = this.Title;
     this._originalComplexRuleSetup = new AutoPlaylistBuilder(this.ID);
 }
예제 #5
0
 public SyncGroup(SyncGroupList parentList)
     : base(parentList)
     => this._parentList = parentList;
예제 #6
0
 public ExistingSyncGroup(SyncGroupList parentList, SyncRulesView view, int index)
     : this(parentList, view, index, false)
 {
 }