Пример #1
0
 protected virtual void OnItemClicked(Item item, ItemPart itemPart, MouseButtons mouseButtons)
 {
     if (ItemClicked != null)
     {
         ItemClicked(this, new EventArgs <Triple <Item, ItemPart, MouseButtons> >(
                         Triple.Create(item, itemPart, mouseButtons)));
     }
 }
Пример #2
0
 public Triple <T2, T3, T4> GetTriple234() =>
 Triple.Create <T2, T3, T4>(this.second, this.third, this.fourth);
Пример #3
0
 public Triple <U, V, W> GetTriple234()
 {
     return(Triple.Create <U, V, W>(this.second, this.third, this.fourth));
 }
Пример #4
0
 public Triple <T1, T2, T3> GetTriple123() =>
 Triple.Create <T1, T2, T3>(this.first, this.second, this.third);
Пример #5
0
 public Triple <T, U, V> GetTriple123()
 {
     return(Triple.Create <T, U, V>(this.first, this.second, this.third));
 }