2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / AdCreatedEventArgs.cs
index 98a6b38bc0cb05fbbfcff1c10c89e491a90eae9a..d0e94b87f8833a8020f1574f76d3b3a59e2f6f19 100755 (executable)
@@ -26,26 +26,25 @@ 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
+\r
                private void Initialize()\r
                {\r
                        alternateText = string.Empty;\r
                        imageUrl      = string.Empty;\r
                        navigateUrl   = string.Empty;\r
                }\r
-               \r
+\r
                public IDictionary AdProperties\r
                {\r
                        get\r