diff options
author | Sanja Gupta <sanjay@mono-cvs.ximian.com> | 2004-08-12 12:00:10 +0400 |
---|---|---|
committer | Sanja Gupta <sanjay@mono-cvs.ximian.com> | 2004-08-12 12:00:10 +0400 |
commit | e0e3217879ad8579f2ef5882ed69072ece180b1b (patch) | |
tree | d1cddb585d0b77b03972c0ba782feb1f50634e42 /mcs/class/System.Web | |
parent | 97dfb2ac06d83935c750cbdcdf09dfdcaa4f82af (diff) |
ChangeLog: Updated ChangeLog.
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
Diffstat (limited to 'mcs/class/System.Web')
11 files changed, 462 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog index 6253056633e..70b358f2fec 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog @@ -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 index 00000000000..ff5f4dd6920 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventArgs.cs @@ -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 index 00000000000..7dab0891de4 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SendMailErrorEventHandler.cs @@ -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 index 00000000000..9a32f9d5bdd --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventArgs.cs @@ -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 index 00000000000..89290169594 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SiteMapNodeItemEventHandler.cs @@ -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 index 00000000000..6896390bbae --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventArgs.cs @@ -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 index 00000000000..00d0f94f8bf --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/SqlDataSourceSelectingEventHandler.cs @@ -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 index 00000000000..1c9125ceb31 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventArgs.cs @@ -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 index 00000000000..8fe10c52774 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/TreeNodeEventHandler.cs @@ -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 index 00000000000..7658e2ae3b2 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventArgs.cs @@ -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 index 00000000000..7098dc0f460 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/WizardNavigationEventHandler.cs @@ -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 + |