Lost Form controls after moving DLL's

Lemorlenny

New member
Joined
Mar 7, 2021
Messages
3
Programming Experience
10+
Hi all,
I used the ComponentFactory.Krypton.Toolkit dll to create a complex input form.
To do it I insert the dll reference from my C:\xxx\KryptonDlls folder and its worked fine.
After saving project I moved the DLL files from C:\xxx\KryptonDlls to D:\xxx\KryptonDlls, (bad choice).
When I reopen the project the form is empty because the DLL path reference was lost.
I reinsert the DLL Reference with the right path but the form still empty.
The source still contain al controls description but nothing appear in the forms.

How to recover the controls view in the form?

The visual studio file organization still a mistery for me :).

Many thanks in advance for any suggestions.

Lenny
 
Moving to 3rd party controls...
Moving to WinForms instead. This looks more like an issue with how the WinForms designers deals with 3rd party controls being moved around...
 
Hi all,
I used the ComponentFactory.Krypton.Toolkit dll to create a complex input form.
To do it I insert the dll reference from my C:\xxx\KryptonDlls folder and its worked fine.
After saving project I moved the DLL files from C:\xxx\KryptonDlls to D:\xxx\KryptonDlls, (bad choice).
When I reopen the project the form is empty because the DLL path reference was lost.
I reinsert the DLL Reference with the right path but the form still empty.
The source still contain al controls description but nothing appear in the forms.

How to recover the controls view in the form?

The visual studio file organization still a mistery for me :).

Many thanks in advance for any suggestions.

Lenny

Unfortunately I believe there is no possibility to recover the form controls, this is my InitializeComponent() in the Form1.Designer.cs file:

C#:
......
        private void InitializeComponent()
        {
            this.SuspendLayout();
            //
            // Form1
            //
            this.ClientSize = new System.Drawing.Size(454, 329);
            this.Name = "Form1";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.ResumeLayout(false);

        }

        #endregion
        private System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.Button btnConfig;
        private System.Windows.Forms.Button BtnStart;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor10;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStori9;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor5;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor4;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor7;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor3;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor6;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor2;
        private ComponentFactory.Krypton.Toolkit.KryptonButton kBtnStor1;
        private ComponentFactory.Krypton.Toolkit.KryptonTextBox KtxtTest10;
        private ComponentFactory.Krypton.Toolkit.KryptonTextBox KtxtPerd10;
        private ComponentFactory.Krypton.Toolkit.KryptonTextBox KtxtTest9;
......

It is completely empty so I believe to have lost all controls reference. :(.

Regards.
 
Well, you do you use source control, right? You can always revert back to your previous state.
 
Back
Top Bottom