Пример #1
0
        // Called by Timerswitch when it changes.
        internal void TimerswitchChanged(Timerswitch cust)
        {
            int index = List.IndexOf(cust);

              OnListChanged(new ListChangedEventArgs(ListChangedType.ItemChanged, index));
        }
Пример #2
0
 // Methods.
 object IBindingList.AddNew()
 {
     Timerswitch c = new Timerswitch(this.Count);
       List.Add(c);
       return c;
 }
Пример #3
0
 public void Remove(Timerswitch value)
 {
     List.Remove(value);
 }
Пример #4
0
 public int Add(Timerswitch value)
 {
     return List.Add(value);
 }