Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Eto.Forms.DocumentPageReorderEventArgs"/> class.
 /// </summary>
 /// <param name="page">Page that was moved</param>
 /// <param name="oldIndex">Old index of the page.</param>
 /// <param name="newIndex">New index of the page.</param>
 public DocumentPageReorderEventArgs(DocumentPage page, int oldIndex, int newIndex)
     : base(page)
 {
     OldIndex = oldIndex;
     NewIndex = newIndex;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Eto.Forms.DocumentPageEventArgs"/> class.
 /// </summary>
 /// <param name="page">Page.</param>
 public DocumentPageEventArgs(DocumentPage page)
 {
     Page = page;
 }