Exemplo n.º 1
0
        /// <summary>
        /// Initialization routine for the Editor. Loads the list of properties for the jsrep document
        /// which will show up in the properties window
        /// </summary>
        /// <param name="package"></param>
        private void PrivateInit(JsReportVSToolsPackage package)
        {
            myPackage             = package;
            loading               = false;
            gettingCheckoutStatus = false;

            Control.CheckForIllegalCrossThreadCalls = false;
            // Create an ArrayList to store the objects that can be selected
            ArrayList listObjects = new ArrayList();

            // Create the object that will show the document's properties
            // on the properties window.
            EditorProperties prop = new EditorProperties(this);

            listObjects.Add(prop);

            // Create and initialize the editor

            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(JsRepEditorPane));

            this.editorControl = new JsReportEditor();

            resources.ApplyResources(this.editorControl, "editorControl", CultureInfo.CurrentUICulture);
            // Event handlers for macro recording.
            this.editorControl.StateChanged += new System.EventHandler(this.OnStateChanged);
        }
Exemplo n.º 2
0
        public JsRepEditorFactory(JsReportVSToolsPackage package)
        {
            Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering {0} constructor", this.ToString()));

            this.editorPackage = package;
        }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor that calls the Microsoft.VisualStudio.Shell.WindowPane constructor then
 /// our initialization functions.
 /// </summary>
 /// <param name="package">Our Package instance.</param>
 public JsRepEditorPane(JsReportVSToolsPackage package)
     : base(null)
 {
     PrivateInit(package);
     base.Content = this.editorControl;
 }
Exemplo n.º 4
0
        /// <summary>
        /// Initialization routine for the Editor. Loads the list of properties for the jsrep document 
        /// which will show up in the properties window 
        /// </summary>
        /// <param name="package"></param>
        private void PrivateInit(JsReportVSToolsPackage package)
        {
            myPackage = package;
            loading = false;
            gettingCheckoutStatus = false;
            
            Control.CheckForIllegalCrossThreadCalls = false;
            // Create an ArrayList to store the objects that can be selected
            ArrayList listObjects = new ArrayList();

            // Create the object that will show the document's properties
            // on the properties window.
            EditorProperties prop = new EditorProperties(this);
            listObjects.Add(prop);

                      // Create and initialize the editor

            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(JsRepEditorPane));
            
            this.editorControl = new JsReportEditor();

            resources.ApplyResources(this.editorControl, "editorControl", CultureInfo.CurrentUICulture);
            // Event handlers for macro recording.
            this.editorControl.StateChanged += new System.EventHandler(this.OnStateChanged);                           
        }
Exemplo n.º 5
0
 /// <summary>
 /// Constructor that calls the Microsoft.VisualStudio.Shell.WindowPane constructor then
 /// our initialization functions.
 /// </summary>
 /// <param name="package">Our Package instance.</param>
 public JsRepEditorPane(JsReportVSToolsPackage package)
     : base(null)
 {
     PrivateInit(package);
     base.Content = this.editorControl;
 }
Exemplo n.º 6
0
        public JsRepEditorFactory(JsReportVSToolsPackage package)
        {
            Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering {0} constructor", this.ToString()));

            this.editorPackage = package;
        }