public OSMConflictEditor()
        {

            resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.Editor.OSMFeatureInspectorStrings", this.GetType().Assembly);


            base.m_category = "OSMEditor"; //localizable text
            base.m_caption = "OSM Conflict Editor";  //localizable text
            base.m_message = "Open the OpenStreetMap Conflict Editor";  //localizable text 
            base.m_toolTip = "Open the OpenStreetMap Conflict Editor";  //localizable text 
            base.m_name = "OSMEditor_ConflictEditor";   //unique id, non-localizable (e.g. "MyCategory_ArcMapCommand")

            try
            {
                string bitmapResourceName = GetType().Name + ".bmp";
            }
            catch (Exception ex)
            {
                System.Diagnostics.Trace.WriteLine(ex.Message, "Invalid Bitmap");
            }

            try
            {
                m_osmConflictEditorUI = new OSMConflictEditorUI();
            }
            catch
            {
            }
        }
Пример #2
0
        public OSMConflictEditor()
        {
            resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.Editor.OSMFeatureInspectorStrings", this.GetType().Assembly);


            base.m_category = "OSMEditor";                              //localizable text
            base.m_caption  = "OSM Conflict Editor";                    //localizable text
            base.m_message  = "Open the OpenStreetMap Conflict Editor"; //localizable text
            base.m_toolTip  = "Open the OpenStreetMap Conflict Editor"; //localizable text
            base.m_name     = "OSMEditor_ConflictEditor";               //unique id, non-localizable (e.g. "MyCategory_ArcMapCommand")

            try
            {
                string bitmapResourceName = GetType().Name + ".bmp";
            }
            catch (Exception ex)
            {
                System.Diagnostics.Trace.WriteLine(ex.Message, "Invalid Bitmap");
            }

            try
            {
                m_osmConflictEditorUI = new OSMConflictEditorUI();
            }
            catch
            {
            }
        }