"The type OpenDental.UI.SignatureBoxWrapper has no property

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
wjstarck
Posts: 949
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

"The type OpenDental.UI.SignatureBoxWrapper has no property

Post 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
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
User avatar
jsalmon
Posts: 1609
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

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

Post 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.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com
User avatar
wjstarck
Posts: 949
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

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

Post 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
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
User avatar
jsalmon
Posts: 1609
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

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

Post 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
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com
User avatar
wjstarck
Posts: 949
Joined: Tue Jul 31, 2007 7:18 am
Location: Keller, TX
Contact:

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

Post by wjstarck »

Thanks for the update Jason.

That should make life easier.
Cheers,

Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Post Reply