Page 1 of 1

"The type OpenDental.UI.SignatureBoxWrapper has no property

Posted: Thu Jan 19, 2017 10:40 pm
by wjstarck
I want to implement Digital Signatures in my Sig Boxes using SignatureBoxWrapper.

If I add

Code: Select all

this.signatureBoxWrapper.AllowDigitalSig = true;
like so

Code: Select all

   // 
            // signatureBoxWrapper
            // 
            this.signatureBoxWrapper.BackColor = System.Drawing.SystemColors.ControlDark;
            this.signatureBoxWrapper.Location = new System.Drawing.Point(612, 646);
            this.signatureBoxWrapper.Name = "signatureBoxWrapper";
            this.signatureBoxWrapper.AllowDigitalSig = true;
            this.signatureBoxWrapper.SignatureMode = OpenDental.UI.SignatureBoxWrapper.SigMode.Default;
            this.signatureBoxWrapper.Size = new System.Drawing.Size(364, 66);
            this.signatureBoxWrapper.TabIndex = 184;
            this.signatureBoxWrapper.SignatureChanged += new System.EventHandler(this.signatureBoxWrapper1_SignatureChanged);
I can't work on my form in the designer because it complains "The type OpenDental.UI.SignatureBoxWrapper has no property 'AllowDigitalSig'.

But it does.

I get the same problem in the designer for FormProcEdit and all the other OD Forms with Sig Boxes BTW. Do you see the same issue on your end? I'm thinking it might be a bug in VS 2015, because everything compiles and runs just fine.

https://msdn.microsoft.com/query/dev14. ... 5)&rd=true

Re: "The type OpenDental.UI.SignatureBoxWrapper has no prope

Posted: Fri Jan 20, 2017 9:04 am
by jsalmon
It might have to do with the fact that the properties getter expects a database connection (I doubt it). You could try commenting out the contents of the property and simply return true; for testing. Make sure to have all important projects set to compile in your Solutions "Configuration Manager..." and then rebuild the solution. Then you might be able to open your UI.

Re: "The type OpenDental.UI.SignatureBoxWrapper has no prope

Posted: Mon Jan 23, 2017 9:17 am
by wjstarck
Not sure.

But I used moved the statement to the the Form_Load method and it seems to work just fine there, and doesn't mess up the designer,

Thanks for looking into it for me

Re: "The type OpenDental.UI.SignatureBoxWrapper has no prope

Posted: Tue Feb 14, 2017 4:23 pm
by jsalmon
I saw a commit go through the repository that fixed the signature box wrapper issue that you were having.
"Internal Enhancement, custom UI control was not browsable in Visual Studio"
http://opendentalsoft.com:1942/ODBugTra ... sions.aspx

Re: "The type OpenDental.UI.SignatureBoxWrapper has no prope

Posted: Thu Feb 16, 2017 9:29 am
by wjstarck
Thanks for the update Jason.

That should make life easier.