#region Using Directives using System; #endregion Using Directives namespace ScintillaNET { /// /// Provides data for the LinesNeedShown event /// public class LinesNeedShownEventArgs : EventArgs { #region Fields private int _firstLine; private int _lastLine; #endregion Fields #region Properties /// /// Returns the first (top) line that needs to be shown /// public int FirstLine { get { return _firstLine; } } /// /// Returns the last (bottom) line that needs to be shown /// public int LastLine { get { return _lastLine; } set { _lastLine = value; } } #endregion Properties #region Constructors /// /// Initializes a new instance of the LinesNeedShownEventArgs class. /// /// the first (top) line that needs to be shown /// the last (bottom) line that needs to be shown public LinesNeedShownEventArgs(int startLine, int endLine) { _firstLine = startLine; _lastLine = endLine; } #endregion Constructors } }