public BrowsablePointerChangedEventArgs(IPhoto previous_item, int previous_index, IBrowsableItemChanges changes)
     : base()
 {
     PreviousItem = previous_item;
     PreviousIndex = previous_index;
     Changes = changes;
 }
 public BrowsablePointerChangedEventArgs(IBrowsableItem previous_item, int previous_index, IBrowsableItemChanges changes)
     : base()
 {
     this.previous_item = previous_item;
     this.previous_index = previous_index;
     this.changes = changes;
 }
Beispiel #3
0
 public void MarkChanged(int item, IBrowsableItemChanges changes)
 {
     if (ItemsChanged != null)
     {
         ItemsChanged(this, new BrowsableEventArgs(item, changes));
     }
 }
Beispiel #4
0
 public void MarkChanged(int num, IBrowsableItemChanges changes)
 {
     if (collection != null)
     {
         collection.MarkChanged(num, changes);
     }
 }
Beispiel #5
0
        void SetIndex(int value, IBrowsableItemChanges changes = null)
        {
            var args = new BrowsablePointerChangedEventArgs(Current, index, changes);

            index = value;
            item  = Current;

            Changed?.Invoke(this, args);
        }
Beispiel #6
0
        private void SetIndex(int value, IBrowsableItemChanges changes)
        {
            BrowsablePointerChangedEventArgs args = new BrowsablePointerChangedEventArgs(Current, index, changes);

            index = value;
            item  = Current;

            if (Changed != null)
            {
                Changed(this, args);
            }
        }
 public void MarkChanged(int [] indexes, IBrowsableItemChanges changes)
 {
     ItemsChanged(this, new BrowsableEventArgs(indexes, changes));
 }
Beispiel #8
0
        void SetIndex(int value, IBrowsableItemChanges changes)
        {
            var args = new BrowsablePointerChangedEventArgs (Current, index, changes);

            index = value;
            item = Current;

            if (Changed != null)
                Changed (this, args);
        }
Beispiel #9
0
 public BrowsableEventArgs(int[] items, IBrowsableItemChanges changes)
 {
     Items   = items;
     Changes = changes;
 }
 public void MarkChanged(int index, IBrowsableItemChanges changes)
 {
     MarkChanged(new int [] { index }, changes);
 }
			public void MarkChanged (int item, IBrowsableItemChanges changes)
			{
				// Forward the change event up to our parent
				// we'll fire the event when the parent calls us back
				parent.MarkChanged ((int) selected_cells [item], changes);
			}
Beispiel #12
0
 public BrowsableEventArgs(int item, IBrowsableItemChanges changes) : this(new [] { item }, changes)
 {
 }
 public void MarkChanged (int index, IBrowsableItemChanges changes)
 {
     throw new System.NotImplementedException ();
 }
 public void MarkChanged(int item, IBrowsableItemChanges changes)
 {
     throw new NotImplementedException();
 }
Beispiel #15
0
 public void MarkChanged(int item, IBrowsableItemChanges changes)
 {
     throw new NotImplementedException ();
 }
 public void MarkChanged(int num, IBrowsableItemChanges changes)
 {
     if (collection != null)
         collection.MarkChanged (num, changes);
 }
 public BrowsablePointerChangedArgs(IBrowsableItem previous_item, int previous_index, IBrowsableItemChanges changes)
 {
     this.previous_item  = previous_item;
     this.previous_index = previous_index;
     this.changes        = changes;
 }
		public void MarkChanged (int index, IBrowsableItemChanges changes)
		{
			throw new System.NotImplementedException ("I didn't think you'd find me");
		}
		public void MarkChanged (int item, IBrowsableItemChanges changes)
		{
			if (ItemsChanged != null)
				ItemsChanged (this, new BrowsableEventArgs (item, changes));
		}
		public BrowsableEventArgs (int item, IBrowsableItemChanges changes) : this (new int[] {item}, changes)
		{
		}
 public void MarkChanged(int index, IBrowsableItemChanges changes)
 {
     throw new System.NotImplementedException();
 }
		public BrowsableEventArgs (int[] items, IBrowsableItemChanges changes)
		{
			this.items = items;
			this.changes = changes;
		}
 public void MarkChanged(int num, IBrowsableItemChanges changes)
 {
     MarkChanged (new BrowsableEventArgs (num, changes));
 }
Beispiel #24
0
 public void MarkChanged(int num, IBrowsableItemChanges changes)
 {
     MarkChanged(new BrowsableEventArgs(num, changes));
 }
Beispiel #25
0
 public BrowsablePointerChangedEventArgs(IPhoto previousItem, int previousIndex, IBrowsableItemChanges changes)
 {
     PreviousItem  = previousItem;
     PreviousIndex = previousIndex;
     Changes       = changes;
 }