ChangeLog: Updated ChangeLog.
authorSanja Gupta <sanjay@mono-cvs.ximian.com>
Thu, 12 Aug 2004 08:00:10 +0000 (08:00 -0000)
committerSanja Gupta <sanjay@mono-cvs.ximian.com>
Thu, 12 Aug 2004 08:00:10 +0000 (08:00 -0000)
SendMailErrorEventArgs.cs:
SendMailErrorEventHandler.cs:
SiteMapNodeItemEventArgs.cs:
SiteMapNodeItemEventHandler.cs:
SqlDataSourceSelectingEventArgs.cs:
SqlDataSourceSelectingEventHandler.cs:
TreeNodeEventArgs.cs:
TreeNodeEventHandler.cs:
WizardNavigationEventArgs.cs:
WizardNavigationEventHandler.cs: Added new event args and handlers.

svn path=/trunk/mcs/; revision=32255

mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventHandler.cs [new file with mode: 0644]

index 6253056633e82953606f46be78a98b60f414dd58..70b358f2fec9b57ed1e33f377e5fcc63092509d5 100644 (file)
@@ -1,3 +1,16 @@
+2004-08-12  Sanjay Gupta <gsanjay@novell.com>
+
+       * SendMailErrorEventArgs.cs:
+       * SendMailErrorEventHandler.cs:
+       * SiteMapNodeItemEventArgs.cs:
+       * SiteMapNodeItemEventHandler.cs:
+       * SqlDataSourceSelectingEventArgs.cs:
+       * SqlDataSourceSelectingEventHandler.cs:
+       * TreeNodeEventArgs.cs:
+       * TreeNodeEventHandler.cs:
+       * WizardNavigationEventArgs.cs:
+       * WizardNavigationEventHandler.cs: Added new delegates.
+
 2004-08-11  Sanjay Gupta <gsanjay@novell.com>
 
        * ImageMapEventArgs.cs:
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventArgs.cs
new file mode 100644 (file)
index 0000000..ff5f4dd
--- /dev/null
@@ -0,0 +1,57 @@
+//
+// System.Web.UI.WebControls.SendMailErrorEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.UI.WebControls
+{
+       public class SendMailErrorEventArgs : EventArgs
+       {
+               private Exception exception;
+               private bool exceptionHandled;
+               
+               public SendMailErrorEventArgs (Exception e)
+               {
+                       this.exception = e;
+                       this.exceptionHandled = true;
+               }
+               
+               public Exception Exception {
+                       get { return exception; }
+                       set { exception = value;}
+               }
+
+               public bool Handled {
+                       get { return exceptionHandled; }
+                       set { exceptionHandled = value; }
+               }
+       }
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventHandler.cs
new file mode 100644 (file)
index 0000000..7dab089
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebContrls.SendMailErrorEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void SendMailErrorEventHandler (object sender, SendMailErrorEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventArgs.cs
new file mode 100644 (file)
index 0000000..9a32f9d
--- /dev/null
@@ -0,0 +1,49 @@
+//
+// System.Web.UI.WebControls.SiteMapNodeItemEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.UI.WebControls
+{
+       public class SiteMapNodeItemEventArgs : EventArgs
+       {
+               private SiteMapNodeItem item;
+               
+               public SiteMapNodeItemEventArgs (SiteMapNodeItem item)
+               {
+                       this.item = item; 
+               }
+               
+               public SiteMapNodeItem Item {
+                       get { return item; }
+               }
+       }
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventHandler.cs
new file mode 100644 (file)
index 0000000..8929016
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.SiteMapNodeItemEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void SiteMapNodeItemEventHandler (object sender, SiteMapNodeItemEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventArgs.cs
new file mode 100644 (file)
index 0000000..6896390
--- /dev/null
@@ -0,0 +1,55 @@
+//
+// System.Web.UI.WebControls.SqlDataSourceSelectinEventArgs.cs
+//
+// Authors:
+//     Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc. (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.UI.WebControls {
+       public class SqlDataSourceSelectingEventArgs : SqlDataSourceCommandEventArgs {
+               DataSourceSelectArguments arguments;
+               bool executeSelect;
+               
+               public SqlDataSourceSelectingEventArgs (IDbCommand command, DataSourceSelectArgument argument, 
+                       bool executeSelect) : base (command)
+               {
+                       this.arguments = argument;
+                       this.executeSelect = executeSelect;
+               }
+               
+               public DataSourceSelectArguments {
+                       get { return arguments; }
+               }
+
+               public bool ExecutingSelectCount {
+                       get { return executeSelect; }
+               }
+       }
+}
+#endif
+
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventHandler.cs
new file mode 100644 (file)
index 0000000..00d0f94
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// System.Web.UI.WebControls.SqlDataSourceSelectingEventHandler
+//
+// Authors:
+//     Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc. (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void SqlDataSourceSelectingEventHandler (object source, SqlDataSourceSelectingEventArgs e);
+}
+#endif
+
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventArgs.cs
new file mode 100644 (file)
index 0000000..1c9125c
--- /dev/null
@@ -0,0 +1,50 @@
+//
+// System.Web.UI.WebControls.TreeNodeEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.UI.WebControls
+{
+       public sealed class TreeNodeEventArgs : EventArgs
+       {
+               private TreeNode node;
+               
+               public TreeNodeEventArgs (TreeNode node)
+               {
+                       this.node = node;
+               }
+               
+               public TreeNode Node {
+                       get { return node; }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventHandler.cs
new file mode 100644 (file)
index 0000000..8fe10c5
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// System.Web.UI.WebControls.TreeNodeEventHandler.cs
+//
+// Authors:
+//     Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc. (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void TreeNodeEventHandler (object source, TreeNodeEventArgs e);
+}
+#endif
+
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventArgs.cs
new file mode 100644 (file)
index 0000000..7658e2a
--- /dev/null
@@ -0,0 +1,62 @@
+//
+// System.Web.UI.WebControls.WizardNavigationEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.UI.WebControls
+{
+       public sealed class WizardNavigationEventArgs : EventArgs
+       {
+               private int curStepIndex;
+               private nxtStepIndex;
+               private bool cancel;
+               
+               public WizardNavigationEventArgs (int currentIndex, int nextIndex)
+               {
+                       this.curStepIndex = currentIndex;
+                       this.nxtStepIndex = nextIndex;
+                       cancel = false;
+               }
+               
+               public bool Cancel {
+                       get { return cancel; }
+                       set { cancel = value; }
+               }
+
+               public int CurrentStepIndex {
+                       get { return curStepIndex; }
+               }
+
+               public int NextStepIndex {
+                       get { return nxtStepIndex; }
+               }
+       }
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventHandler.cs
new file mode 100644 (file)
index 0000000..7098dc0
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// System.Web.UI.WebControls.WizardNavigationEventHandler.cs
+//
+// Authors:
+//     Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc. (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void WizardNavigationEventHandler (object source, WizardNavigationEventArgs e);
+}
+#endif
+