[mapguide-commits] r6998 - in trunk/Tools/Maestro: Maestro.Packaging Maestro.Packaging/Properties Maestro.Shared.UI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Sep 10 10:12:51 PDT 2012


Author: jng
Date: 2012-09-10 10:12:51 -0700 (Mon, 10 Sep 2012)
New Revision: 6998

Modified:
   trunk/Tools/Maestro/Maestro.Packaging/PackageBuilder.cs
   trunk/Tools/Maestro/Maestro.Packaging/PackageProgress.cs
   trunk/Tools/Maestro/Maestro.Packaging/PackageUploadResultDialog.cs
   trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.Designer.cs
   trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.resx
   trunk/Tools/Maestro/Maestro.Packaging/ResourceItem.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/BusyWaitDialog.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/CheckBoxBinder.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/CollapsiblePanel.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/NumericBinder.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/TabFactory.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/TextBoxBinder.cs
   trunk/Tools/Maestro/Maestro.Shared.UI/WorkbenchBase.cs
Log:
#2110: Localization review of Maestro.Shared.UI and Maestro.Packaging

Modified: trunk/Tools/Maestro/Maestro.Packaging/PackageBuilder.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Packaging/PackageBuilder.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Packaging/PackageBuilder.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -119,7 +119,7 @@
         public PackageBuilder(IServerConnection connection)
         {
             if (connection == null)
-                throw new ArgumentNullException("connection");
+                throw new ArgumentNullException("connection"); //NOXLATE
             m_connection = connection;
         }
 
@@ -181,18 +181,18 @@
             //    then skip it. Otherwise process the directive that uses this id.
 
             ZipFile package = new ZipFile(sourceFile);
-            ZipEntry manifestEntry = package.GetEntry("MgResourcePackageManifest.xml");
+            ZipEntry manifestEntry = package.GetEntry("MgResourcePackageManifest.xml"); //NOXLATE
             XmlDocument doc = new XmlDocument();
             using (var s = package.GetInputStream(manifestEntry))
             {
                 doc.Load(s);
             }
-            XmlNodeList opNodes = doc.GetElementsByTagName("Operation");
+            XmlNodeList opNodes = doc.GetElementsByTagName("Operation"); //NOXLATE
             double unit = (100.0 / (double)opNodes.Count);
             foreach (XmlNode opNode in opNodes)
             {
                 step += unit;
-                string name = opNode["Name"].InnerText.ToUpper();
+                string name = opNode["Name"].InnerText.ToUpper(); //NOXLATE
 
                 PackageOperation op = ParseOperation(opNode);
                 //TODO: A DELETERESOURCE would cause a null operation. Should we bother to support it?
@@ -202,13 +202,13 @@
                 //Is a skipped operation?
                 if (skipOps.ContainsKey(op))
                 {
-                    System.Diagnostics.Trace.TraceInformation("Skipping " + op.OperationName + " on " + op.ResourceId);
+                    System.Diagnostics.Trace.TraceInformation("Skipping " + op.OperationName + " on " + op.ResourceId); //NOXLATE
                     continue;
                 }
 
                 switch (name)
                 {
-                    case "SETRESOURCE":
+                    case "SETRESOURCE": //NOXLATE
                         {
                             SetResourcePackageOperation sop = (SetResourcePackageOperation)op;
                             if (sop.Content == null)
@@ -256,7 +256,7 @@
                             }
                         }
                         break;
-                    case "SETRESOURCEDATA":
+                    case "SETRESOURCEDATA": //NOXLATE
                         {
                             SetResourceDataPackageOperation sop = (SetResourceDataPackageOperation)op;
                             ZipEntry dataEntry = package.GetEntry(sop.Data);
@@ -298,27 +298,27 @@
         {
             PackageOperation op = null;
             NameValueCollection p = new NameValueCollection();
-            foreach (XmlNode paramNode in opNode["Parameters"].ChildNodes)
+            foreach (XmlNode paramNode in opNode["Parameters"].ChildNodes) //NOXLATE
             {
-                p[paramNode["Name"].InnerText] = paramNode["Value"].InnerText;
+                p[paramNode["Name"].InnerText] = paramNode["Value"].InnerText; //NOXLATE
             }
-            string resourceId = p["RESOURCEID"];
-            switch (opNode["Name"].InnerText)
+            string resourceId = p["RESOURCEID"]; //NOXLATE
+            switch (opNode["Name"].InnerText) //NOXLATE
             {
-                case "SETRESOURCE":
+                case "SETRESOURCE": //NOXLATE
                     {
-                        op = new SetResourcePackageOperation(resourceId, p["CONTENT"], p["HEADER"]);
+                        op = new SetResourcePackageOperation(resourceId, p["CONTENT"], p["HEADER"]); //NOXLATE
                     }
                     break;
-                case "SETRESOURCEDATA":
+                case "SETRESOURCEDATA": //NOXLATE
                     {
                         ResourceDataType rdt;
                         try
                         {
-                            rdt = (ResourceDataType)Enum.Parse(typeof(ResourceDataType), p["DATATYPE"], true);
+                            rdt = (ResourceDataType)Enum.Parse(typeof(ResourceDataType), p["DATATYPE"], true); //NOXLATE
                         }
                         catch { rdt = ResourceDataType.File; }
-                        op = new SetResourceDataPackageOperation(resourceId, p["DATA"], p["DATANAME"], rdt);
+                        op = new SetResourceDataPackageOperation(resourceId, p["DATA"], p["DATANAME"], rdt); //NOXLATE
                     }
                     break;
             }
@@ -331,7 +331,7 @@
             {
                 if (m_lastPg < 0 || remain == 0 || copied - m_lastPg > 1024 * 50)
                 {
-                    Progress(ProgressType.Uploading, "", (int)(total / 1024), (int)(copied / 1024));
+                    Progress(ProgressType.Uploading, string.Empty, (int)(total / 1024), (int)(copied / 1024));
                     m_lastPg = copied;
                 }
             }
@@ -358,7 +358,7 @@
             List<ResourceListResourceFolder> folders = new List<ResourceListResourceFolder>();
             Dictionary<string, List<ResourceDataListResourceData>> resourceData = new Dictionary<string, List<ResourceDataListResourceData>>();
             ResourcePackageManifest manifest = new ResourcePackageManifest();
-            manifest.Description = "MapGuide Package created with Maestro";
+            manifest.Description = "MapGuide Package created with Maestro"; //NOXLATE
             manifest.Operations = new ResourcePackageManifestOperations();
             manifest.Operations.Operation = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperation>();
             //System.Collections.Hashtable knownTypes = ((ServerConnectionBase)m_connection).ResourceTypeLookup;
@@ -419,7 +419,7 @@
 
                     int itemCount = resourceData[doc.ResourceId].Count + 1;
 
-                    filemap.Add(new KeyValuePair<string, string>(filebase + "_CONTENT.xml", System.IO.Path.Combine(temppath, Guid.NewGuid().ToString())));
+                    filemap.Add(new KeyValuePair<string, string>(filebase + "_CONTENT.xml", System.IO.Path.Combine(temppath, Guid.NewGuid().ToString()))); //NOXLATE
                     using (System.IO.FileStream fs = new System.IO.FileStream(filemap[filemap.Count - 1].Value, System.IO.FileMode.Create, System.IO.FileAccess.Write, System.IO.FileShare.None))
                     {
                         using (var s = m_connection.ResourceService.GetResourceXmlData(doc.ResourceId))
@@ -459,7 +459,7 @@
                         Progress(ProgressType.MovingResources, Properties.Resources.ProgressUpdatedReferences, 100, 100);
                 }
 
-                filemap.Add(new KeyValuePair<string, string>(System.IO.Path.Combine(temppath, "MgResourcePackageManifest.xml"), System.IO.Path.Combine(temppath, Guid.NewGuid().ToString())));
+                filemap.Add(new KeyValuePair<string, string>(System.IO.Path.Combine(temppath, "MgResourcePackageManifest.xml"), System.IO.Path.Combine(temppath, Guid.NewGuid().ToString()))); //NOXLATE
                 using (System.IO.FileStream fs = new System.IO.FileStream(filemap[filemap.Count - 1].Value, System.IO.FileMode.CreateNew, System.IO.FileAccess.Write, System.IO.FileShare.None))
                     m_connection.ResourceService.SerializeObject(manifest, fs);
 
@@ -467,7 +467,7 @@
                 if (Progress != null)
                     Progress(ProgressType.MovingResources, zipfilename, filemap.Count, 0);
 
-                ZipDirectory(zipfilename, temppath, "MapGuide Package created by Maestro", filemap);
+                ZipDirectory(zipfilename, temppath, "MapGuide Package created by Maestro", filemap); //NOXLATE
 
                 if (Progress != null)
                 {
@@ -490,7 +490,7 @@
 
         private void AddResourceData(ResourcePackageManifest manifest, string temppath, ResourceListResourceDocument doc, System.IO.FileInfo fi, string resourcePath, ResourceDataListResourceData rd, IServerConnection connection)
         {
-            string contentType = "application/octet-stream";
+            string contentType = "application/octet-stream"; //NOXLATE
 
             /*
             try
@@ -505,7 +505,7 @@
             string name = rd.Name;
             string type = rd.Type.ToString();
             string resourceId = doc.ResourceId;
-            string filename = RelativeName(resourcePath, temppath).Replace('\\', '/');
+            string filename = RelativeName(resourcePath, temppath).Replace('\\', '/'); //NOXLATE
             long size = fi.Length;
 
             AddResourceData(manifest, resourceId, contentType, type, name, filename, size);
@@ -514,25 +514,25 @@
         private void AddResourceData(ResourcePackageManifest manifest, string resourceId, string contentType, string type, string name, string filename, long size)
         {
             ResourcePackageManifestOperationsOperation op = new ResourcePackageManifestOperationsOperation();
-            op.Name = "SETRESOURCEDATA";
-            op.Version = "1.0.0";
+            op.Name = "SETRESOURCEDATA"; //NOXLATE
+            op.Version = "1.0.0"; //NOXLATE
             op.Parameters = new ResourcePackageManifestOperationsOperationParameters();
             op.Parameters.Parameter = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperationParametersParameter>();
 
             ResourcePackageManifestOperationsOperationParametersParameter param = new ResourcePackageManifestOperationsOperationParametersParameter();
 
-            param.Name = "DATA";
+            param.Name = "DATA"; //NOXLATE
             param.Value = filename;
             param.ContentType = contentType;
             op.Parameters.Parameter.Add(param);
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "DATALENGTH";
+            param.Name = "DATALENGTH"; //NOXLATE
             param.Value = size.ToString();
             op.Parameters.Parameter.Add(param);
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "DATANAME";
+            param.Name = "DATANAME"; //NOXLATE
             param.Value = name;
             op.Parameters.Parameter.Add(param);
 
@@ -542,7 +542,7 @@
             op.Parameters.Parameter.Add(param);
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "RESOURCEID";
+            param.Name = "RESOURCEID"; //NOXLATE
             param.Value = resourceId;
             op.Parameters.Parameter.Add(param);
 
@@ -553,12 +553,12 @@
         {
             string filebase = CreateFolderForResource(doc.ResourceId, temppath);
 
-            filemap.Add(new KeyValuePair<string, string>(filebase + "_HEADER.xml", System.IO.Path.Combine(temppath, Guid.NewGuid().ToString())));
+            filemap.Add(new KeyValuePair<string, string>(filebase + "_HEADER.xml", System.IO.Path.Combine(temppath, Guid.NewGuid().ToString()))); //NOXLATE
             using (System.IO.FileStream fs = new System.IO.FileStream(filemap[filemap.Count - 1].Value, System.IO.FileMode.Create, System.IO.FileAccess.Write, System.IO.FileShare.None))
                 connection.ResourceService.SerializeObject(connection.ResourceService.GetResourceHeader(doc.ResourceId), fs);
 
-            string headerpath = RelativeName(filemap[filemap.Count - 1].Key, temppath).Replace('\\', '/');
-            string contentpath = RelativeName(contentfilename, temppath).Replace('\\', '/');
+            string headerpath = RelativeName(filemap[filemap.Count - 1].Key, temppath).Replace('\\', '/'); //NOXLATE
+            string contentpath = RelativeName(contentfilename, temppath).Replace('\\', '/'); //NOXLATE
             AddFileResource(manifest, doc.ResourceId, headerpath, contentpath, eraseFirst);
         }
 
@@ -567,41 +567,41 @@
             if (eraseFirst)
             {
                 ResourcePackageManifestOperationsOperation delop = new ResourcePackageManifestOperationsOperation();
-                delop.Name = "DELETERESOURCE";
-                delop.Version = "1.0.0";
+                delop.Name = "DELETERESOURCE"; //NOXLATE
+                delop.Version = "1.0.0"; //NOXLATE
                 delop.Parameters = new ResourcePackageManifestOperationsOperationParameters();
                 delop.Parameters.Parameter = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperationParametersParameter>();
 
                 ResourcePackageManifestOperationsOperationParametersParameter delparam = new ResourcePackageManifestOperationsOperationParametersParameter();
 
-                delparam.Name = "RESOURCEID";
+                delparam.Name = "RESOURCEID"; //NOXLATE
                 delparam.Value = resourceId;
                 delop.Parameters.Parameter.Add(delparam);
                 manifest.Operations.Operation.Add(delop);
             }
 
             ResourcePackageManifestOperationsOperation op = new ResourcePackageManifestOperationsOperation();
-            op.Name = "SETRESOURCE";
-            op.Version = "1.0.0";
+            op.Name = "SETRESOURCE"; //NOXLATE
+            op.Version = "1.0.0"; //NOXLATE
             op.Parameters = new ResourcePackageManifestOperationsOperationParameters();
             op.Parameters.Parameter = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperationParametersParameter>();
 
             ResourcePackageManifestOperationsOperationParametersParameter param = new ResourcePackageManifestOperationsOperationParametersParameter();
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "CONTENT";
+            param.Name = "CONTENT"; //NOXLATE
             param.Value = contentpath;
-            param.ContentType = "text/xml";
+            param.ContentType = "text/xml"; //NOXLATE
             op.Parameters.Parameter.Add(param);
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "HEADER";
+            param.Name = "HEADER"; //NOXLATE
             param.Value = headerpath;
-            param.ContentType = "text/xml";
+            param.ContentType = "text/xml"; //NOXLATE
             op.Parameters.Parameter.Add(param);
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "RESOURCEID";
+            param.Name = "RESOURCEID"; //NOXLATE
             param.Value = resourceId;
             op.Parameters.Parameter.Add(param);
 
@@ -610,16 +610,16 @@
 
         private void AddFolderResource(ResourcePackageManifest manifest, string temppath, ResourceListResourceFolder folder, bool eraseFirst, IServerConnection connection, List<KeyValuePair<string, string>> filemap)
         {
-            string filebase = System.IO.Path.GetDirectoryName(CreateFolderForResource(folder.ResourceId + "dummy.xml", temppath));
+            string filebase = System.IO.Path.GetDirectoryName(CreateFolderForResource(folder.ResourceId + "dummy.xml", temppath)); //NOXLATE
 
-            filemap.Add(new KeyValuePair<string, string>(System.IO.Path.Combine(filebase, "_HEADER.xml"), System.IO.Path.Combine(temppath, Guid.NewGuid().ToString())));
+            filemap.Add(new KeyValuePair<string, string>(System.IO.Path.Combine(filebase, "_HEADER.xml"), System.IO.Path.Combine(temppath, Guid.NewGuid().ToString()))); //NOXLATE
             using (System.IO.FileStream fs = new System.IO.FileStream(filemap[filemap.Count - 1].Value, System.IO.FileMode.Create, System.IO.FileAccess.Write, System.IO.FileShare.None))
                 connection.ResourceService.SerializeObject(connection.ResourceService.GetFolderHeader(folder.ResourceId), fs);
 
             if (!filebase.EndsWith(System.IO.Path.DirectorySeparatorChar.ToString()))
                 filebase += System.IO.Path.DirectorySeparatorChar;
 
-            string headerpath = RelativeName(filebase + "_HEADER.xml", temppath).Replace('\\', '/');
+            string headerpath = RelativeName(filebase + "_HEADER.xml", temppath).Replace('\\', '/'); //NOXLATE
 
             AddFolderResource(manifest, folder.ResourceId, headerpath, eraseFirst);
         }
@@ -630,37 +630,37 @@
             if (eraseFirst)
             {
                 ResourcePackageManifestOperationsOperation delop = new ResourcePackageManifestOperationsOperation();
-                delop.Name = "DELETERESOURCE";
-                delop.Version = "1.0.0";
+                delop.Name = "DELETERESOURCE"; //NOXLATE
+                delop.Version = "1.0.0"; //NOXLATE
                 delop.Parameters = new ResourcePackageManifestOperationsOperationParameters();
                 delop.Parameters.Parameter = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperationParametersParameter>();
 
                 ResourcePackageManifestOperationsOperationParametersParameter delparam = new ResourcePackageManifestOperationsOperationParametersParameter();
 
-                delparam.Name = "RESOURCEID";
+                delparam.Name = "RESOURCEID"; //NOXLATE
                 delparam.Value = resourceId;
                 delop.Parameters.Parameter.Add(delparam);
                 manifest.Operations.Operation.Add(delop);
             }
 
             ResourcePackageManifestOperationsOperation op = new ResourcePackageManifestOperationsOperation();
-            if (resourceId.EndsWith("//"))
-                op.Name = "UPDATEREPOSITORY";
+            if (resourceId.EndsWith("//")) //NOXLATE
+                op.Name = "UPDATEREPOSITORY"; //NOXLATE
             else
-                op.Name = "SETRESOURCE";
-            op.Version = "1.0.0";
+                op.Name = "SETRESOURCE"; //NOXLATE
+            op.Version = "1.0.0"; //NOXLATE
             op.Parameters = new ResourcePackageManifestOperationsOperationParameters();
             op.Parameters.Parameter = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperationParametersParameter>();
 
             ResourcePackageManifestOperationsOperationParametersParameter param = new ResourcePackageManifestOperationsOperationParametersParameter();
 
-            param.Name = "HEADER";
+            param.Name = "HEADER"; //NOXLATE
             param.Value = headerpath;
-            param.ContentType = "text/xml";
+            param.ContentType = "text/xml"; //NOXLATE
             op.Parameters.Parameter.Add(param);
 
             param = new ResourcePackageManifestOperationsOperationParametersParameter();
-            param.Name = "RESOURCEID";
+            param.Name = "RESOURCEID"; //NOXLATE
             param.Value = resourceId;
             op.Parameters.Parameter.Add(param);
 
@@ -676,7 +676,7 @@
             return filebase.Substring(temppath.Length);
         }
 
-        private System.Text.RegularExpressions.Regex m_filenameTransformer = new System.Text.RegularExpressions.Regex(@"[^A-Za-z0-9\.-\/]", System.Text.RegularExpressions.RegexOptions.Compiled);
+        private System.Text.RegularExpressions.Regex m_filenameTransformer = new System.Text.RegularExpressions.Regex(@"[^A-Za-z0-9\.-\/]", System.Text.RegularExpressions.RegexOptions.Compiled); //NOXLATE
 
         //There are some problems with the Zip reader in MapGuide and international characters :(
         private string EncodeFilename(string filename)
@@ -687,7 +687,7 @@
 
             while (m != null && m.Success)
             {
-                string replaceval = string.Format("-x{0:x2}-", (int)m.Value[0]);
+                string replaceval = string.Format("-x{0:x2}-", (int)m.Value[0]); //NOXLATE
 
                 sb.Append(filename.Substring(previndex, m.Index - previndex));
                 sb.Append(replaceval);
@@ -709,11 +709,11 @@
         {
             var rid = new ResourceIdentifier(resourceId);
             string filebase = EncodeFilename(rid.Name);
-            string folder = "Library/" + EncodeFilename(rid.Path);
+            string folder = "Library/" + EncodeFilename(rid.Path); //NOXLATE
             folder = folder.Substring(0, folder.Length - filebase.Length);
-            filebase += resourceId.Substring(resourceId.LastIndexOf('.'));
+            filebase += resourceId.Substring(resourceId.LastIndexOf('.')); //NOXLATE
 
-            folder = folder.Replace('/', System.IO.Path.DirectorySeparatorChar);
+            folder = folder.Replace('/', System.IO.Path.DirectorySeparatorChar); //NOXLATE
             folder = System.IO.Path.Combine(temppath, folder);
 
             return System.IO.Path.Combine(folder, filebase);
@@ -721,10 +721,10 @@
 
         private void RemapFiles(IServerConnection connection, ResourcePackageManifest manifest, string tempdir, string origpath, string newpath, List<KeyValuePair<string, string>> filemap)
         {
-            if (!newpath.EndsWith("/"))
-                newpath += "/";
-            if (!origpath.EndsWith("/"))
-                origpath += "/";
+            if (!newpath.EndsWith("/")) //NOXLATE
+                newpath += "/"; //NOXLATE
+            if (!origpath.EndsWith("/")) //NOXLATE
+                origpath += "/"; //NOXLATE
 
             Dictionary<string, string> lookup = new Dictionary<string, string>();
             foreach (KeyValuePair<string, string> p in filemap)
@@ -732,10 +732,10 @@
 
             foreach (ResourcePackageManifestOperationsOperation op in manifest.Operations.Operation)
             {
-                op.Parameters.SetParameterValue("RESOURCEID", newpath + op.Parameters.GetParameterValue("RESOURCEID").Substring(origpath.Length));
-                if (op.Parameters.GetParameterValue("CONTENT") != null)
+                op.Parameters.SetParameterValue("RESOURCEID", newpath + op.Parameters.GetParameterValue("RESOURCEID").Substring(origpath.Length)); //NOXLATE
+                if (op.Parameters.GetParameterValue("CONTENT") != null) //NOXLATE
                 {
-                    string path = System.IO.Path.Combine(tempdir, op.Parameters.GetParameterValue("CONTENT").Replace('/', System.IO.Path.DirectorySeparatorChar));
+                    string path = System.IO.Path.Combine(tempdir, op.Parameters.GetParameterValue("CONTENT").Replace('/', System.IO.Path.DirectorySeparatorChar)); //NOXLATE
                     System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
                     doc.Load(lookup[path]);
                     ((PlatformConnectionBase)connection).UpdateResourceReferences(doc, origpath, newpath, true);
@@ -804,7 +804,7 @@
             "	<Security xsi:noNamespaceSchemaLocation=\"ResourceSecurity-1.0.0.xsd\">\n" +
             "		<Inherited>true</Inherited>\n" +
             "	</Security>\n" +
-            "</ResourceFolderHeader>";
+            "</ResourceFolderHeader>"; //NOXLATE
 
 
         private string MapResourcePathToFolder(string tempfolder, string resourcename)
@@ -845,7 +845,7 @@
                         Progress(ProgressType.ReadingFileList, sourcePackageFile, 100, 100);
 
                     if (Progress != null)
-                        Progress(ProgressType.PreparingFolder, "", items.Count, 0);
+                        Progress(ProgressType.PreparingFolder, string.Empty, items.Count, 0);
 
                     foreach (ResourceItem ri in items)
                     {
@@ -855,15 +855,15 @@
                         string filebase;
                         if (ri.IsFolder)
                         {
-                            filebase = System.IO.Path.GetDirectoryName(MapResourcePathToFolder(tempfolder, ri.ResourcePath + "dummy.xml"));
+                            filebase = System.IO.Path.GetDirectoryName(MapResourcePathToFolder(tempfolder, ri.ResourcePath + "dummy.xml")); //NOXLATE
                             if (!filebase.EndsWith(System.IO.Path.DirectorySeparatorChar.ToString()))
                                 filebase += System.IO.Path.DirectorySeparatorChar;
                         }
                         else
                             filebase = MapResourcePathToFolder(tempfolder, ri.ResourcePath);
 
-                        string headerpath = filebase + "_HEADER.xml";
-                        string contentpath = filebase + "_CONTENT.xml";
+                        string headerpath = filebase + "_HEADER.xml"; //NOXLATE
+                        string contentpath = filebase + "_CONTENT.xml"; //NOXLATE
 
                         if (ri.EntryType == EntryTypeEnum.Added)
                         {
@@ -925,7 +925,7 @@
 
                         foreach (ResourceDataItem rdi in ri.Items)
                         {
-                            string targetpath = filebase + "_DATA_" + EncodeFilename(rdi.ResourceName);
+                            string targetpath = filebase + "_DATA_" + EncodeFilename(rdi.ResourceName); //NOXLATE
                             if (rdi.EntryType == EntryTypeEnum.Added)
                             {
                                 var tempFilePath = System.IO.Path.Combine(tempfolder, ri.GenerateUniqueName());
@@ -996,7 +996,7 @@
 
                 //Step 3: Create an updated definition file
                 ResourcePackageManifest manifest = new ResourcePackageManifest();
-                manifest.Description = "MapGuide Package created by Maestro";
+                manifest.Description = "MapGuide Package created by Maestro"; //NOXLATE
                 manifest.Operations = new ResourcePackageManifestOperations();
                 manifest.Operations.Operation = new System.ComponentModel.BindingList<ResourcePackageManifestOperationsOperation>();
 
@@ -1007,7 +1007,7 @@
                         AddFolderResource(
                             manifest,
                             ri.ResourcePath,
-                            RelativeName(ri.Headerpath, tempfolder).Replace('\\', '/'),
+                            RelativeName(ri.Headerpath, tempfolder).Replace('\\', '/'), //NOXLATE
                             insertEraseCommands);
                     }
                     else
@@ -1015,8 +1015,8 @@
                         AddFileResource(
                             manifest,
                             ri.ResourcePath,
-                            RelativeName(ri.Headerpath, tempfolder).Replace('\\', '/'),
-                            RelativeName(ri.Contentpath, tempfolder).Replace('\\', '/'),
+                            RelativeName(ri.Headerpath, tempfolder).Replace('\\', '/'), //NOXLATE
+                            RelativeName(ri.Contentpath, tempfolder).Replace('\\', '/'), //NOXLATE
                             insertEraseCommands);
 
                         foreach (ResourceDataItem rdi in ri.Items)
@@ -1027,13 +1027,13 @@
                                 rdi.ContentType,
                                 rdi.DataType,
                                 rdi.ResourceName,
-                                RelativeName(rdi.Filename, tempfolder).Replace('\\', '/'),
+                                RelativeName(rdi.Filename, tempfolder).Replace('\\', '/'), //NOXLATE
                                 new System.IO.FileInfo(filemap_lookup[rdi.Filename]).Length);
                         }
                     }
                 }
 
-                filemap.Add(new KeyValuePair<string, string>(System.IO.Path.Combine(tempfolder, "MgResourcePackageManifest.xml"), System.IO.Path.Combine(tempfolder, Guid.NewGuid().ToString())));
+                filemap.Add(new KeyValuePair<string, string>(System.IO.Path.Combine(tempfolder, "MgResourcePackageManifest.xml"), System.IO.Path.Combine(tempfolder, Guid.NewGuid().ToString()))); //NOXLATE
                 using (System.IO.FileStream fs = new System.IO.FileStream(filemap[filemap.Count - 1].Value, System.IO.FileMode.CreateNew, System.IO.FileAccess.Write, System.IO.FileShare.None))
                     m_connection.ResourceService.SerializeObject(manifest, fs);
 
@@ -1055,9 +1055,9 @@
 
         private int FindZipEntry(ICSharpCode.SharpZipLib.Zip.ZipFile file, string path)
         {
-            string p = path.Replace('\\', '/');
+            string p = path.Replace('\\', '/'); //NOXLATE
             foreach (ICSharpCode.SharpZipLib.Zip.ZipEntry ze in file)
-                if (ze.Name.Replace('\\', '/').Equals(p))
+                if (ze.Name.Replace('\\', '/').Equals(p)) //NOXLATE
                     return (int)ze.ZipFileIndex;
 
             return -1;
@@ -1079,7 +1079,7 @@
             ICSharpCode.SharpZipLib.Zip.ZipConstants.DefaultCodePage = System.Text.Encoding.UTF8.CodePage;
             using (ICSharpCode.SharpZipLib.Zip.ZipFile zipfile = new ICSharpCode.SharpZipLib.Zip.ZipFile(packageFile))
             {
-                int index = FindZipEntry(zipfile, "MgResourcePackageManifest.xml");
+                int index = FindZipEntry(zipfile, "MgResourcePackageManifest.xml"); //NOXLATE
                 if (index < 0)
                     throw new Exception(Properties.Resources.InvalidPackageFileError);
 
@@ -1096,26 +1096,26 @@
                 if (Progress != null)
                     Progress(ProgressType.ListingFiles, packageFile, manifest.Operations.Operation.Count, i++);
 
-                if (op.Name.ToLower().Equals("setresource"))
+                if (op.Name.ToLower().Equals("setresource")) //NOXLATE
                 {
-                    string id = op.Parameters.GetParameterValue("RESOURCEID");
+                    string id = op.Parameters.GetParameterValue("RESOURCEID"); //NOXLATE
                     string header;
-                    if (op.Parameters.GetParameterValue("HEADER") != null)
-                        header = op.Parameters.GetParameterValue("HEADER");
+                    if (op.Parameters.GetParameterValue("HEADER") != null) //NOXLATE
+                        header = op.Parameters.GetParameterValue("HEADER"); //NOXLATE
                     else
                         header = null;
-                    string content = op.Parameters.GetParameterValue("CONTENT") == null ? null : op.Parameters.GetParameterValue("CONTENT");
+                    string content = op.Parameters.GetParameterValue("CONTENT") == null ? null : op.Parameters.GetParameterValue("CONTENT"); //NOXLATE
 
                     resourceList.Add(id, new ResourceItem(id, header, content));
                 }
-                else if (op.Name.ToLower().Equals("setresourcedata"))
+                else if (op.Name.ToLower().Equals("setresourcedata")) //NOXLATE
                 {
-                    string id = op.Parameters.GetParameterValue("RESOURCEID");
+                    string id = op.Parameters.GetParameterValue("RESOURCEID"); //NOXLATE
                     ResourceItem ri = resourceList[id];
-                    string name = op.Parameters.GetParameterValue("DATANAME");
-                    string file = op.Parameters.GetParameterValue("DATA");
-                    string contentType = op.Parameters.GetParameterValue("DATA");
-                    string dataType = op.Parameters.GetParameterValue("DATATYPE");
+                    string name = op.Parameters.GetParameterValue("DATANAME"); //NOXLATE
+                    string file = op.Parameters.GetParameterValue("DATA"); //NOXLATE
+                    string contentType = op.Parameters.GetParameterValue("DATA"); //NOXLATE
+                    string dataType = op.Parameters.GetParameterValue("DATATYPE"); //NOXLATE
 
                     ri.Items.Add(new ResourceDataItem(name, contentType, file, dataType));
                 }
@@ -1169,7 +1169,7 @@
         public SetResourcePackageOperation(string resId, string content, string header)
             : base(resId)
         {
-            this.OperationName = "SETRESOURCE";
+            this.OperationName = "SETRESOURCE"; //NOXLATE
             this.Content = content;
             this.Header = header;
         }
@@ -1227,7 +1227,7 @@
             unchecked
             {
                 int hash = 17;
-                hash = hash * 23 + (this.Content ?? "").GetHashCode();
+                hash = hash * 23 + (this.Content ?? string.Empty).GetHashCode();
                 if (this.Header != null)
                     hash = hash * 23 + this.Header.GetHashCode();
                 hash = hash * 23 + this.OperationName.GetHashCode();
@@ -1253,7 +1253,7 @@
         public SetResourceDataPackageOperation(string resId, string data, string dataName, ResourceDataType dataType)
             : base(resId)
         {
-            this.OperationName = "SETRESOURCEDATA";
+            this.OperationName = "SETRESOURCEDATA"; //NOXLATE
             this.Data = data;
             this.DataName = dataName;
             this.DataType = dataType;

Modified: trunk/Tools/Maestro/Maestro.Packaging/PackageProgress.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Packaging/PackageProgress.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Packaging/PackageProgress.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -71,7 +71,7 @@
             //dlg.AutoUpgradeEnabled = true;
             dlg.CheckFileExists = true;
             dlg.CheckPathExists = true;
-            dlg.DefaultExt = ".mgp";
+            dlg.DefaultExt = ".mgp"; //NOXLATE
             dlg.Filter = Properties.Resources.UploadPackageDialogFilter;
             dlg.FilterIndex = 0;
             dlg.Multiselect = false;
@@ -148,7 +148,7 @@
             PackageProgress pkgp = new PackageProgress();
             pkgp.m_invokeArgs = new object[] { packageFile };
             pkgp.m_invokeObj = new PackageBuilder(connection);
-            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("ListPackageContents");
+            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("ListPackageContents"); //NOXLATE
 
             if (pkgp.ShowDialog(owner) == DialogResult.OK)
                 return (Dictionary<string, ResourceItem>)pkgp.m_invokeResult;
@@ -169,7 +169,7 @@
             pkgp.Text = Properties.Resources.TitleUploading;
             pkgp.m_invokeArgs = new object[] { packageFile };
             pkgp.m_invokeObj = new PackageBuilder(connection);
-            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("UploadPackage");
+            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("UploadPackage"); //NOXLATE
 
             return pkgp.ShowDialog(owner);
         }
@@ -188,7 +188,7 @@
             pkgp.Text = Properties.Resources.TitleUploading;
             pkgp.m_invokeArgs = new object[] { packageFile, result };
             pkgp.m_invokeObj = new PackageBuilder(connection);
-            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("UploadPackageNonTransactional");
+            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("UploadPackageNonTransactional"); //NOXLATE
 
             return pkgp.ShowDialog(owner);
         }
@@ -208,7 +208,7 @@
             PackageProgress pkgp = new PackageProgress();
             pkgp.m_invokeArgs = new object[] { sourcePackageFile, items, targetfile, insertEraseCommands };
             pkgp.m_invokeObj = new PackageBuilder(connection);
-            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("RebuildPackage");
+            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("RebuildPackage"); //NOXLATE
 
             return pkgp.ShowDialog(owner);
         }
@@ -229,7 +229,7 @@
             PackageProgress pkgp = new PackageProgress();
             pkgp.m_invokeArgs = new object[] {folderResourceId, zipfilename, allowedExtensions, removeExistingFiles, alternateTargetResourceId };
             pkgp.m_invokeObj = new PackageBuilder(connection);
-            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("CreatePackage");
+            pkgp.m_invokeMethod = pkgp.m_invokeObj.GetType().GetMethod("CreatePackage"); //NOXLATE
 
             return pkgp.ShowDialog(owner);
         }

Modified: trunk/Tools/Maestro/Maestro.Packaging/PackageUploadResultDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Packaging/PackageUploadResultDialog.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Packaging/PackageUploadResultDialog.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -48,9 +48,9 @@
             lblSkipped.Text = string.Format(Properties.Resources.PackageOperationsSkipped, result.SkipOperations.Count);
             lblSucceeded.Text = string.Format(Properties.Resources.PackageOperationsSucceeded, result.Successful.Count);
             //grdFailed.DataSource = result.Failed;
-            grdFailed.Columns.Add("Resource ID", "Resource ID");
-            grdFailed.Columns.Add("Operation", "Operation");
-            grdFailed.Columns.Add("Error", "Error");
+            grdFailed.Columns.Add("Resource ID", Properties.Resources.HeaderResourceId); //NOXLATE
+            grdFailed.Columns.Add("Operation", Properties.Resources.HeaderOperation); //NOXLATE
+            grdFailed.Columns.Add("Error", Properties.Resources.HeaderError); //NOXLATE
             foreach (var op in result.Failed.Keys)
             {
                 grdFailed.Rows.Add(op.ResourceId, op.OperationName, result.Failed[op].ToString());

Modified: trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.Designer.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.Designer.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 // <auto-generated>
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.239
+//     Runtime Version:4.0.30319.269
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
@@ -160,6 +160,15 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Error.
+        /// </summary>
+        internal static string HeaderError {
+            get {
+                return ResourceManager.GetString("HeaderError", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to The header file does not exist.
         /// </summary>
         internal static string HeaderFileMissing {
@@ -169,6 +178,24 @@
         }
         
         /// <summary>
+        ///   Looks up a localized string similar to Operation.
+        /// </summary>
+        internal static string HeaderOperation {
+            get {
+                return ResourceManager.GetString("HeaderOperation", resourceCulture);
+            }
+        }
+        
+        /// <summary>
+        ///   Looks up a localized string similar to Resource ID.
+        /// </summary>
+        internal static string HeaderResourceId {
+            get {
+                return ResourceManager.GetString("HeaderResourceId", resourceCulture);
+            }
+        }
+        
+        /// <summary>
         ///   Looks up a localized string similar to Failed to locate file MgResourcePackageManifest.xml in zip file. Most likely the file is not a MapGuide package..
         /// </summary>
         internal static string InvalidPackageFileError {

Modified: trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.resx	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Packaging/Properties/Resources.resx	2012-09-10 17:12:51 UTC (rev 6998)
@@ -112,10 +112,10 @@
     <value>2.0</value>
   </resheader>
   <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   </resheader>
   <data name="AlternateNameMissing" xml:space="preserve">
     <value>You must enter a alternate name, or remove the checkmark</value>
@@ -161,10 +161,19 @@
     <value>Zip files ({0})</value>
     <comment>The text displayed when browsing for zip files</comment>
   </data>
+  <data name="HeaderError" xml:space="preserve">
+    <value>Error</value>
+  </data>
   <data name="HeaderFileMissing" xml:space="preserve">
     <value>The header file does not exist</value>
     <comment>A message displayed when the user selects a non-existing file</comment>
   </data>
+  <data name="HeaderOperation" xml:space="preserve">
+    <value>Operation</value>
+  </data>
+  <data name="HeaderResourceId" xml:space="preserve">
+    <value>Resource ID</value>
+  </data>
   <data name="InvalidPackageFileError" xml:space="preserve">
     <value>Failed to locate file MgResourcePackageManifest.xml in zip file. Most likely the file is not a MapGuide package.</value>
     <comment>An error message that is displayed if the package file is invalid</comment>

Modified: trunk/Tools/Maestro/Maestro.Packaging/ResourceItem.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Packaging/ResourceItem.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Packaging/ResourceItem.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -42,7 +42,7 @@
             m_contentpath = contentPath;
             m_entryType = EntryTypeEnum.Regular;
             m_items = new List<ResourceDataItem>();
-            m_isFolder = m_originalResourcePath.EndsWith("/");
+            m_isFolder = m_originalResourcePath.EndsWith("/"); //NOXLATE
         }
 
         /// <summary>
@@ -143,7 +143,7 @@
 
         internal string GenerateUniqueName()
         {
-            return this.ResourcePath.Replace("://", "_").Replace("/", "_").Replace(".", "_") + Guid.NewGuid().ToString();
+            return this.ResourcePath.Replace("://", "_").Replace("/", "_").Replace(".", "_") + Guid.NewGuid().ToString(); //NOXLATE
         }
     }
 }

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/BusyWaitDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/BusyWaitDialog.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/BusyWaitDialog.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -52,9 +52,9 @@
         public static void Run(string message, BusyWaitDelegate action, Action<object> onComplete)
         {
             if (action == null)
-                throw new ArgumentNullException("action");
+                throw new ArgumentNullException("action"); //NOXLATE
             if (onComplete == null)
-                throw new ArgumentNullException("onComplete");
+                throw new ArgumentNullException("onComplete"); //NOXLATE
             
             var frm = new BusyWaitDialog(action);
             frm.lblBusy.Text = message;

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/CheckBoxBinder.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/CheckBoxBinder.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/CheckBoxBinder.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -57,7 +57,7 @@
         /// <returns></returns>
         public static Binding BindChecked(CheckBox chk, object dataSource, string dataMember)
         {
-            var binding = chk.DataBindings.Add("Checked", dataSource, dataMember);
+            var binding = chk.DataBindings.Add("Checked", dataSource, dataMember); //NOXLATE
             chk.CheckedChanged += (sender, e) => { binding.WriteValue(); };
 
             return binding;

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/CollapsiblePanel.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/CollapsiblePanel.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/CollapsiblePanel.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -66,7 +66,7 @@
         /// Gets or sets the color of the header background.
         /// </summary>
         /// <value>The color of the header background.</value>
-        [Category("Collapsible Panel Header")]
+        [Category("Collapsible Panel Header")] //NOXLATE
         public Color HeaderBackgroundColor
         {
             get { return headerPanel.BackColor; }
@@ -77,7 +77,7 @@
         /// Gets or sets the header text.
         /// </summary>
         /// <value>The header text.</value>
-        [Category("Collapsible Panel Header")]
+        [Category("Collapsible Panel Header")] //NOXLATE
         [Localizable(true)]
         public string HeaderText
         {
@@ -89,7 +89,7 @@
         /// Gets or sets the header font.
         /// </summary>
         /// <value>The header font.</value>
-        [Category("Collapsible Panel Header")]
+        [Category("Collapsible Panel Header")] //NOXLATE
         public Font HeaderFont
         {
             get { return lblHeaderText.Font; }
@@ -100,7 +100,7 @@
         /// Gets or sets the color of the content background.
         /// </summary>
         /// <value>The color of the content background.</value>
-        [Category("Collapsible Panel Content")]
+        [Category("Collapsible Panel Content")] //NOXLATE
         public Color ContentBackgroundColor
         {
             get { return contentPanel.BackColor; }
@@ -114,7 +114,7 @@
         /// 	<c>true</c> if this instance can collapse; otherwise, <c>false</c>.
         /// </value>
         [DefaultValue(true)]
-        [Category("Collapsible Panel")]
+        [Category("Collapsible Panel")] //NOXLATE
         public bool CanCollapse
         {
             get { return btnCollapse.Visible && btnExpand.Visible; }
@@ -128,7 +128,7 @@
         /// </summary>
         /// <value><c>true</c> if collapsed; otherwise, <c>false</c>.</value>
         [DefaultValue(false)]
-        [Category("Collapsible Panel")]
+        [Category("Collapsible Panel")] //NOXLATE
         public bool Collapsed
         {
             get

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/NumericBinder.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/NumericBinder.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/NumericBinder.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -57,7 +57,7 @@
         /// <returns></returns>
         public static Binding BindValueChanged(NumericUpDown num, object dataSource, string dataMember)
         {
-            var binding = num.DataBindings.Add("Value", dataSource, dataMember);
+            var binding = num.DataBindings.Add("Value", dataSource, dataMember); //NOXLATE
             num.ValueChanged += (sender, e) => { binding.WriteValue(); };
 
             return binding;

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/TabFactory.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/TabFactory.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/TabFactory.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -38,7 +38,7 @@
     {
         static Platform()
         {
-            _mrtType = Type.GetType("Mono.Runtime");
+            _mrtType = Type.GetType("Mono.Runtime"); //NOXLATE
         }
 
         private static Type _mrtType;
@@ -68,8 +68,6 @@
     {
         private static List<HiddenTab> _hiddenTabs = new List<HiddenTab>();
 
-        static ContextMenuStrip smStrip;
-
         internal static TabPage CreateTab(IViewContent content, string imgKey)
         {
             TabPage page = new TabPage();
@@ -78,14 +76,6 @@
             page.ToolTipText = content.Description;
             page.Tag = content;
 
-            if (smStrip == null)
-            {
-                smStrip = new ContextMenuStrip();
-                smStrip.Items.Add("Close This Tab");
-                smStrip.Items.Add("Close All But This");
-                smStrip.Items.Add("Close All");
-            }
-            
             content.TitleChanged += (sender, e) => 
             {
                 page.Text = content.Title; 

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/TextBoxBinder.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/TextBoxBinder.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/TextBoxBinder.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -60,7 +60,7 @@
         /// <returns></returns>
         public static Binding BindText(TextBoxBase txt, object dataSource, string dataMember)
         {
-            var binding = txt.DataBindings.Add("Text", dataSource, dataMember);
+            var binding = txt.DataBindings.Add("Text", dataSource, dataMember); //NOXLATE
             txt.TextChanged += (sender, e) => 
             { 
                 binding.WriteValue(); 

Modified: trunk/Tools/Maestro/Maestro.Shared.UI/WorkbenchBase.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Shared.UI/WorkbenchBase.cs	2012-09-10 16:56:38 UTC (rev 6997)
+++ trunk/Tools/Maestro/Maestro.Shared.UI/WorkbenchBase.cs	2012-09-10 17:12:51 UTC (rev 6998)
@@ -82,7 +82,7 @@
             toolbar = _workbenchInitializer.GetMainToolStrip(this);
             toolbar.Stretch = true;
 
-            AddToolbar("Base", toolbar, ToolbarRegion.Top, true);
+            AddToolbar("Base", toolbar, ToolbarRegion.Top, true); //NOXLATE
             
             status = new StatusStrip();
             statusLabel = new ToolStripStatusLabel();



More information about the mapguide-commits mailing list