2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / AdCreatedEventArgs.cs
index fa74e0c6eefe39cfaeb38829553b29d59af62f69..d0e94b87f8833a8020f1574f76d3b3a59e2f6f19 100755 (executable)
@@ -26,16 +26,15 @@ namespace System.Web.UI.WebControls
                private string      imageUrl;\r
                private string      navigateUrl;\r
 \r
-               public AdCreatedEventArgs(IDictionary adProperties)\r
+               public AdCreatedEventArgs(IDictionary adProperties): base()\r
                {\r
-                       super();\r
                        Initialize();\r
                        this.adProperties = adProperties;\r
                        if(adProperties!=null)\r
                        {\r
-                               imageUrl = (string)adProperties.Item["ImageUrl"];\r
-                               navigateUrl = (string)adProperties.Item["NavigateUrl"];\r
-                               alternateText = (string)adProperties.Item["AlternateText"];\r
+                               imageUrl = (string)adProperties["ImageUrl"];\r
+                               navigateUrl = (string)adProperties["NavigateUrl"];\r
+                               alternateText = (string)adProperties["AlternateText"];\r
                        }\r
                }\r
 \r