FileDialog.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. // Permission is hereby granted, free of charge, to any person obtaining
  2. // a copy of this software and associated documentation files (the
  3. // "Software"), to deal in the Software without restriction, including
  4. // without limitation the rights to use, copy, modify, merge, publish,
  5. // distribute, sublicense, and/or sell copies of the Software, and to
  6. // permit persons to whom the Software is furnished to do so, subject to
  7. // the following conditions:
  8. //
  9. // The above copyright notice and this permission notice shall be
  10. // included in all copies or substantial portions of the Software.
  11. //
  12. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  13. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  15. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  16. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  17. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  18. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. //
  20. // Copyright (c) 2004 Novell, Inc. (http://www.novell.com)
  21. //
  22. // Authors:
  23. //
  24. //
  25. //
  26. // NOT COMPLETE - This is a placeholder until our contributors get a chance to check their code in
  27. using System;
  28. using System.ComponentModel;
  29. namespace System.Windows.Forms {
  30. public abstract class FileDialog : CommonDialog {
  31. public bool AddExtension {
  32. get {
  33. throw new NotImplementedException ();
  34. }
  35. set {
  36. throw new NotImplementedException ();
  37. }
  38. }
  39. public virtual bool CheckFileExists {
  40. get {
  41. throw new NotImplementedException ();
  42. }
  43. set {
  44. throw new NotImplementedException ();
  45. }
  46. }
  47. public bool CheckPathExists {
  48. get {
  49. throw new NotImplementedException ();
  50. }
  51. set {
  52. throw new NotImplementedException ();
  53. }
  54. }
  55. public string DefaultExt {
  56. get {
  57. throw new NotImplementedException ();
  58. }
  59. set {
  60. throw new NotImplementedException ();
  61. }
  62. }
  63. public bool DereferenceLinks {
  64. get {
  65. throw new NotImplementedException ();
  66. }
  67. set {
  68. throw new NotImplementedException ();
  69. }
  70. }
  71. public string FileName {
  72. get {
  73. throw new NotImplementedException ();
  74. }
  75. set {
  76. throw new NotImplementedException ();
  77. }
  78. }
  79. public string[] FileNames {
  80. get {
  81. throw new NotImplementedException ();
  82. }
  83. }
  84. public string Filter {
  85. get {
  86. throw new NotImplementedException ();
  87. }
  88. set {
  89. throw new NotImplementedException ();
  90. }
  91. }
  92. public int FilterIndex {
  93. get {
  94. throw new NotImplementedException ();
  95. }
  96. set {
  97. throw new NotImplementedException ();
  98. }
  99. }
  100. public string InitialDirectory {
  101. get {
  102. throw new NotImplementedException ();
  103. }
  104. set {
  105. throw new NotImplementedException ();
  106. }
  107. }
  108. public bool RestoreDirectory {
  109. get {
  110. throw new NotImplementedException ();
  111. }
  112. set {
  113. throw new NotImplementedException ();
  114. }
  115. }
  116. public bool ShowHelp {
  117. get {
  118. throw new NotImplementedException ();
  119. }
  120. set {
  121. throw new NotImplementedException ();
  122. }
  123. }
  124. public string Title {
  125. get {
  126. throw new NotImplementedException ();
  127. }
  128. set {
  129. throw new NotImplementedException ();
  130. }
  131. }
  132. public bool ValidateNames {
  133. get {
  134. throw new NotImplementedException ();
  135. }
  136. set {
  137. throw new NotImplementedException ();
  138. }
  139. }
  140. public override void Reset() {
  141. }
  142. public override string ToString() {
  143. return base.ToString();
  144. }
  145. public event CancelEventHandler FileOk;
  146. protected override IntPtr HookProc( IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam ) {
  147. throw new NotImplementedException ();
  148. }
  149. protected void OnFileOk( CancelEventArgs e ) {
  150. }
  151. [MonoTODO]
  152. protected override bool RunDialog( IntPtr hWndOwner ) {
  153. throw new NotImplementedException ();
  154. }
  155. }
  156. }