CharacterRange.cs 536 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // System.Windows.Drawing.CharacterRange.cs
  3. //
  4. // Author:
  5. // Dennis Hayes ([email protected])
  6. // (C) 2002 Ximian, Inc
  7. //
  8. using System;
  9. namespace System.Drawing
  10. {
  11. public struct CharacterRange
  12. {
  13. private int first;
  14. private int length;
  15. public CharacterRange (int first, int length)
  16. {
  17. this.first = first;
  18. this.length = length;
  19. }
  20. public int First {
  21. get{
  22. return first;
  23. }
  24. set{
  25. first = value;
  26. }
  27. }
  28. public int Length {
  29. get{
  30. return length;
  31. }
  32. set{
  33. length = value;
  34. }
  35. }
  36. }
  37. }