Upgrade from 8.8.11.12 to 10.11.12.12


https://www.nevron.com/Forum/Topic4530.aspx
Print Topic | Close Window

By Oleksandr Karpov - 14 Years Ago

Hi all,

I'm newbie with Nevron and I have started support a project that uses Nevron version 8.8.11.12.

I need to update the project up to 10.11.12.12 version.

After I removed old links to Nevron libraries and added links to the new version I can not see any control, I can not see anything except a main from and menu.

Maybe there are some special needs for updating.

Could someone, please, help me?

By Oleksandr Karpov - 14 Years Ago

Moreover it says that NLightUIItemDragDropEventArgs has no Action property.

 

By Nevron Support - 14 Years Ago

Hello Oleksandr,

Regarding first question try to solve it by deleting all records in licenses.licx file in your project.

Regarding NLightUIItemDragDropEventArgs we removed ItemDragAction event as on its place we put another 3 event ItemBeginDrag, ItemDrag and ItemDragComplete. Therefore we changed also the related event args class (NLightUIItemDragDropEventArgs).

Now you should attach to this new events instead of ItemDragAction. 

I hope this helps

By Oleksandr Karpov - 14 Years Ago

Thank you,

Deleting all records in licenses.licx file didn't solve the problem.

Another suggestion?

Thanks.

By Nevron Support - 14 Years Ago

Hi Oleksandr,

In this case I think I am going to need some additional info about the problem.

When you change the assemblies can you compile successfully?

Is only the designer that you have problem with or with the functionality also?

Since 8.8.11.12 version the controls has a lots of changes and from your descriptions is hard to determine that the problem might be.

By Oleksandr Karpov - 14 Years Ago

Yes, I can compile successfully.

In designer I can see a NDocking panel

But when I run the application there is no any docking panel and any control in the docking panel.

Thank you.

By Nevron Support - 14 Years Ago

Hello Oleksandr,

Can you post the code related with the docking framework that is in the InitializeDefault method?

Basically, you should have nDockManager.Form set to this, the NDockingPanel should be in a NDocumentPanelHost.Children collection and the root of this structure should be in nDockManager.RootContainer.RootZone.Children collection.

 

By Oleksandr Karpov - 14 Years Ago

Here you are:

private void InitializeComponent()
        {
            Nevron.UI.WinForm.Docking.NDockingPanelHost nDockZone1 = new Nevron.UI.WinForm.Docking.NDockingPanelHost();
            Nevron.UI.WinForm.Docking.NDockZone nDockZone2 = new Nevron.UI.WinForm.Docking.NDockZone();
            Nevron.UI.WinForm.Docking.NDockingPanelHost nDockZone3 = new Nevron.UI.WinForm.Docking.NDockingPanelHost();
            ApplicationView.SI.Project.ProjectList projectList1 = new ApplicationView.SI.Project.ProjectList();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FabricAndNotionsForm));
            this.nDockManager = new Nevron.UI.WinForm.Docking.NDockManager();
            this.tccMenuBar = new FabricsAndNotions.Controls.TccMenuBar();
            this.dbFabric = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.navigationControlStash = new FabricsAndNotions.Controls.NavigationControl();
            this.dpNotions = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.navigationControlNotion = new FabricsAndNotions.Controls.NavigationControl();
            this.nDockingPanel4 = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.usageLogGrid1 = new StashInventory.Controls.Grids.UsageLogGrid();
            this.dpQuilter = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.matchMakerNavigationControl = new FabricsAndNotions.Controls.MatchMakerNavigationControl();
            this.dpFiber = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.navigationControlFiber = new FabricsAndNotions.Controls.NavigationControl();
            this.dpBeads = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.navigationControlBead = new FabricsAndNotions.Controls.NavigationControl();
            this.dpBooks = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.navigationControlBooks = new FabricsAndNotions.Controls.NavigationControl();
            this.dpBookContentList = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.bookContentGrid1 = new StashInventory.Controls.Grids.BookContentGrid();
            this.dpProject = new Nevron.UI.WinForm.Docking.NDockingPanel();
            this.projectNavigationControl1 = new FabricsAndNotions.Controls.ProjectNavigationControl();
            ((System.ComponentModel.ISupportInitialize)(this.nDockManager)).BeginInit();
            this.dbFabric.SuspendLayout();
            this.dpNotions.SuspendLayout();
            this.nDockingPanel4.SuspendLayout();
            this.dpQuilter.SuspendLayout();
            this.dpFiber.SuspendLayout();
            this.dpBeads.SuspendLayout();
            this.dpBooks.SuspendLayout();
            this.dpBookContentList.SuspendLayout();
            this.dpProject.SuspendLayout();
            this.SuspendLayout();
            //
            // nDockManager
            //
            this.nDockManager.Form = this;
            this.nDockManager.RootContainerZIndex = 0;
            // 
            // Root Zone
            // 
            this.nDockManager.RootContainer.RootZone.AddChild(nDockZone1);
            this.nDockManager.RootContainer.RootZone.AddChild(nDockZone2);
            this.nDockManager.RootContainer.RootZone.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // nDockZone1
            // 
            nDockZone1.AddChild(this.dpNotions);
            nDockZone1.AddChild(this.dbFabric);
            nDockZone1.AddChild(this.dpFiber);
            nDockZone1.AddChild(this.dpQuilter);
            nDockZone1.AddChild(this.dpBeads);
            nDockZone1.AddChild(this.dpBooks);
            nDockZone1.AddChild(this.dpProject);
            nDockZone1.Name = "nDockZone1";
            nDockZone1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            nDockZone1.Index = 0;
            nDockZone1.SizeInfo.PrefferedSize = new System.Drawing.Size(305, 200);
            nDockZone1.SelectedIndex = 6;
            // 
            // nDockZone2
            // 
            nDockZone2.AddChild(this.nDockManager.DocumentManager.DocumentViewHost);
            nDockZone2.AddChild(nDockZone3);
            nDockZone2.Name = "nDockZone2";
            nDockZone2.Orientation = System.Windows.Forms.Orientation.Vertical;
            nDockZone2.Index = 1;
            nDockZone2.SizeInfo.SizeLogic = Nevron.UI.WinForm.Docking.SizeLogic.FillInterior;
            nDockZone2.SizeInfo.PrefferedSize = new System.Drawing.Size(275, 200);
            // 
            // nDockZone3
            // 
            nDockZone3.AddChild(this.nDockingPanel4);
            nDockZone3.AddChild(this.dpBookContentList);
            nDockZone3.Name = "nDockZone3";
            nDockZone3.Orientation = System.Windows.Forms.Orientation.Horizontal;
            nDockZone3.Index = 1;
            //
            // tccMenuBar
            //
            this.tccMenuBar.Dock = System.Windows.Forms.DockStyle.Top;
            //this.tccMenuBar.DockManager = null;
            this.tccMenuBar.Location = new System.Drawing.Point(0, 0);
            this.tccMenuBar.Margin = new System.Windows.Forms.Padding(2);
            //this.tccMenuBar.Menu = null;
            this.tccMenuBar.Name = "tccMenuBar";
            this.tccMenuBar.Size = new System.Drawing.Size(849, 26);
            this.tccMenuBar.TabIndex = 0;
            this.tccMenuBar.ToolLevelSet = 1;
            //
            // dbFabric
            //
            this.dbFabric.Controls.Add(this.navigationControlStash);
            this.dbFabric.Name = "dbFabric";
            this.dbFabric.Permissions.AllowHide = false;
            this.dbFabric.SizeInfo.PrefferedSize = new System.Drawing.Size(305, 200);
            this.dbFabric.TabIndex = 1;
            this.dbFabric.Text = "Fabrics";
            this.dbFabric.Closed += new Nevron.UI.WinForm.Docking.PanelEventHandler(this.OnStashPanelClose);
            //
            // navigationControlStash
            //
            this.navigationControlStash.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.navigationControlStash.DockManager = null;
            //this.navigationControlStash.ISta****emList = null;
            this.navigationControlStash.ItemControlType = ApplicationView.SI.Enums.ControlType.Fabric;
            this.navigationControlStash.Location = new System.Drawing.Point(0, 0);
            //this.navigationControlStash.Menu = null;
            this.navigationControlStash.Name = "navigationControlStash";
            this.navigationControlStash.SelectedSta****em = null;
            this.navigationControlStash.Size = new System.Drawing.Size(299, 731);
            this.navigationControlStash.TabIndex = 1;
            this.navigationControlStash.ToolLevelSet = 1;
            //
            // dpNotions
            //
            this.dpNotions.Controls.Add(this.navigationControlNotion);
            this.dpNotions.Name = "dpNotions";
            this.dpNotions.Permissions.AllowHide = false;
            this.dpNotions.TabIndex = 2;
            this.dpNotions.Text = "Notions";
            this.dpNotions.Closed += new Nevron.UI.WinForm.Docking.PanelEventHandler(this.OnNotionsPanelClose);
            //
            // navigationControlNotion
            //
            this.navigationControlNotion.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.navigationControlNotion.DockManager = null;
            //this.navigationControlNotion.ISta****emList = null;
            this.navigationControlNotion.ItemControlType = ApplicationView.SI.Enums.ControlType.Notion;
            this.navigationControlNotion.Location = new System.Drawing.Point(0, 0);
            //this.navigationControlNotion.Menu = null;
            this.navigationControlNotion.Name = "navigationControlNotion";
            this.navigationControlNotion.SelectedSta****em = null;
            this.navigationControlNotion.Size = new System.Drawing.Size(303, 704);
            this.navigationControlNotion.TabIndex = 1;
            this.navigationControlNotion.ToolLevelSet = 1;
            //
            // nDockingPanel4
            //
            this.nDockingPanel4.Controls.Add(this.usageLogGrid1);
            this.nDockingPanel4.Name = "nDockingPanel4";
            this.nDockingPanel4.TabIndex = 1;
            this.nDockingPanel4.Text = "Usage Log";
            //
            // usageLogGrid1
            //
            this.usageLogGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.usageLogGrid1.DockManager = null;
            this.usageLogGrid1.ISta****em = null;
            this.usageLogGrid1.Location = new System.Drawing.Point(0, 0);
            //this.usageLogGrid1.Menu = null;
            this.usageLogGrid1.Name = "usageLogGrid1";
            this.usageLogGrid1.Size = new System.Drawing.Size(538, 144);
            this.usageLogGrid1.TabIndex = 0;
            this.usageLogGrid1.ToolLevelSet = 1;
            //
            // dpQuilter
            //
            this.dpQuilter.Controls.Add(this.matchMakerNavigationControl);
            this.dpQuilter.Name = "dpQuilter";
            this.dpQuilter.TabIndex = 7;
            this.dpQuilter.Text = "Match Maker";
            //
            // matchMakerNavigationControl
            //
            this.matchMakerNavigationControl.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.matchMakerNavigationControl.DockManager = null;
            this.matchMakerNavigationControl.Location = new System.Drawing.Point(0, 0);
            this.matchMakerNavigationControl.MatchMakerList = null;
            //this.matchMakerNavigationControl.Menu = null;
            this.matchMakerNavigationControl.Name = "matchMakerNavigationControl";
            this.matchMakerNavigationControl.Size = new System.Drawing.Size(299, 704);
            this.matchMakerNavigationControl.TabIndex = 0;
            this.matchMakerNavigationControl.ToolLevelSet = 1;
            //
            // dpFiber
            //
            this.dpFiber.Controls.Add(this.navigationControlFiber);
            this.dpFiber.Name = "dpFiber";
            this.dpFiber.TabIndex = 3;
            this.dpFiber.Text = "Fiber";
            //
            // navigationControlFiber
            //
            this.navigationControlFiber.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.navigationControlFiber.DockManager = null;
            //this.navigationControlFiber.ISta****emList = null;
            this.navigationControlFiber.ItemControlType = ApplicationView.SI.Enums.ControlType.Fiber;
            this.navigationControlFiber.Location = new System.Drawing.Point(0, 0);
            //this.navigationControlFiber.Menu = null;
            this.navigationControlFiber.Name = "navigationControlFiber";
            this.navigationControlFiber.SelectedSta****em = null;
            this.navigationControlFiber.Size = new System.Drawing.Size(299, 704);
            this.navigationControlFiber.TabIndex = 0;
            this.navigationControlFiber.ToolLevelSet = 1;
            //
            // dpBeads
            //
            this.dpBeads.Controls.Add(this.navigationControlBead);
            this.dpBeads.Name = "dpBeads";
            this.dpBeads.TabIndex = 4;
            this.dpBeads.Text = "Beads";
            //
            // navigationControlBead
            //
            this.navigationControlBead.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.navigationControlBead.DockManager = null;
            //this.navigationControlBead.ISta****emList = null;
            this.navigationControlBead.ItemControlType = ApplicationView.SI.Enums.ControlType.Beads;
            this.navigationControlBead.Location = new System.Drawing.Point(0, 0);
            //this.navigationControlBead.Menu = null;
            this.navigationControlBead.Name = "navigationControlBead";
            this.navigationControlBead.SelectedSta****em = null;
            this.navigationControlBead.Size = new System.Drawing.Size(299, 704);
            this.navigationControlBead.TabIndex = 0;
            this.navigationControlBead.ToolLevelSet = 1;
            //
            // dpBooks
            //
            this.dpBooks.Controls.Add(this.navigationControlBooks);
            this.dpBooks.Name = "dpBooks";
            this.dpBooks.TabIndex = 5;
            this.dpBooks.Text = "Books/Magazines";
            //
            // navigationControlBooks
            //
            this.navigationControlBooks.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.navigationControlBooks.DockManager = null;
            //this.navigationControlBooks.ISta****emList = null;
            this.navigationControlBooks.ItemControlType = ApplicationView.SI.Enums.ControlType.Books;
            this.navigationControlBooks.Location = new System.Drawing.Point(0, 0);
            //this.navigationControlBooks.Menu = null;
            this.navigationControlBooks.Name = "navigationControlBooks";
            this.navigationControlBooks.SelectedSta****em = null;
            this.navigationControlBooks.Size = new System.Drawing.Size(299, 704);
            this.navigationControlBooks.TabIndex = 0;
            this.navigationControlBooks.ToolLevelSet = 1;
            //
            // dpBookContentList
            //
            this.dpBookContentList.Controls.Add(this.bookContentGrid1);
            this.dpBookContentList.Name = "dpBookContentList";
            this.dpBookContentList.TabIndex = 2;
            this.dpBookContentList.Text = "Book Content List";
            //
            // bookContentGrid1
            //
            this.bookContentGrid1.BookItem = null;
            this.bookContentGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.bookContentGrid1.DockManager = null;
            this.bookContentGrid1.Location = new System.Drawing.Point(0, 0);
            //this.bookContentGrid1.Menu = null;
            this.bookContentGrid1.Name = "bookContentGrid1";
            this.bookContentGrid1.Size = new System.Drawing.Size(538, 175);
            this.bookContentGrid1.TabIndex = 0;
            this.bookContentGrid1.ToolLevelSet = 1;
            //
            // dpProject
            //
            this.dpProject.Controls.Add(this.projectNavigationControl1);
            this.dpProject.Name = "dpProject";
            this.dpProject.TabIndex = 8;
            this.dpProject.Text = "Project";
            this.dpProject.Activated += new Nevron.UI.WinForm.Docking.PanelEventHandler(this.OnProjectPanelActivated);
            //
            // projectNavigationControl1
            //
            this.projectNavigationControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            //this.projectNavigationControl1.DockManager = null;
            this.projectNavigationControl1.Location = new System.Drawing.Point(0, 0);
            //this.projectNavigationControl1.Menu = null;
            this.projectNavigationControl1.Name = "projectNavigationControl1";
            projectList1.FIFO = false;
            projectList1.FileName = "";
            projectList1.IsDirty = false;
            this.projectNavigationControl1.ProjectList = projectList1;
            this.projectNavigationControl1.Size = new System.Drawing.Size(303, 704);
            this.projectNavigationControl1.TabIndex = 0;
            this.projectNavigationControl1.ToolLevelSet = 1;
            //
            // FabricAndNotionsForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(849, 782);
            this.Controls.Add(this.tccMenuBar);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "FabricAndNotionsForm";
            this.Text = "Fabric and Notions";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnApplicationClosing);
            ((System.ComponentModel.ISupportInitialize)(this.nDockManager)).EndInit();
            this.dbFabric.ResumeLayout(false);
            this.dpNotions.ResumeLayout(false);
            this.nDockingPanel4.ResumeLayout(false);
            this.dpQuilter.ResumeLayout(false);
            this.dpFiber.ResumeLayout(false);
            this.dpBeads.ResumeLayout(false);
            this.dpBooks.ResumeLayout(false);
            this.dpBookContentList.ResumeLayout(false);
            this.dpProject.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private Nevron.UI.WinForm.Docking.NDockManager nDockManager;
        public FabricsAndNotions.Controls.TccMenuBar tccMenuBar;
        private Nevron.UI.WinForm.Docking.NDockingPanel dbFabric;
        private Nevron.UI.WinForm.Docking.NDockingPanel dpNotions;
        private Nevron.UI.WinForm.Docking.NDockingPanel nDockingPanel4;
        private StashInventory.Controls.Grids.UsageLogGrid usageLogGrid1;
        public FabricsAndNotions.Controls.NavigationControl navigationControlStash;
        public FabricsAndNotions.Controls.NavigationControl navigationControlNotion;
        private Nevron.UI.WinForm.Docking.NDockingPanel dpQuilter;
        public FabricsAndNotions.Controls.MatchMakerNavigationControl matchMakerNavigationControl;

        private Nevron.UI.WinForm.Docking.NDockingPanel dpFiber;
        public FabricsAndNotions.Controls.NavigationControl navigationControlFiber;
        private Nevron.UI.WinForm.Docking.NDockingPanel dpBeads;
        public FabricsAndNotions.Controls.NavigationControl navigationControlBead;
        private Nevron.UI.WinForm.Docking.NDockingPanel dpBooks;
        public FabricsAndNotions.Controls.NavigationControl navigationControlBooks;
        private Nevron.UI.WinForm.Docking.NDockingPanel dpBookContentList;
        private StashInventory.Controls.Grids.BookContentGrid bookContentGrid1;
        private Nevron.UI.WinForm.Docking.NDockingPanel dpProject;
        public FabricsAndNotions.Controls.ProjectNavigationControl projectNavigationControl1;
    }

By Nevron Support - 14 Years Ago
Hello Oleksandr,

Thanks for the code!

I copied the code you sent me in the designer of an empty form as I commented the unknown controls and I was able to display all panels correctly.
I doubts that tccMenuBar control may cause the problem, because it is the only control that is added to the form.Controls collection.
Can you comment just for the test Controls.Add(tccMenuBar) row to check whether the docking panels will be displayed on the form.
By Oleksandr Karpov - 14 Years Ago

Thank you

Unfortunately it did'nt help.

By Nevron Support - 14 Years Ago
Hello Oleksandr,

Could you contact to support@nevron.com to arrange a web meeting so we can assist you.
By Oleksandr Karpov - 14 Years Ago
Sure
Thank you.
By Oleksandr Karpov - 14 Years Ago

Hi there,

Thank you for the wbmeeting.

And I have another one question:

- What is *.nlb file type?

It used to work under 8.* version but doesn't under the 10.* version.

Can I convert it somehow, or maybe you have another idea for that.

Thank you.

By Nevron Support - 14 Years Ago
Hello Oleksandr,

nlb files (comes from Nevron Library Binary) are binary files that are use for the binary serialization.
However, this files are not backward compatible. Only nlx files are backward compatible.