This forum is for programmers who have questions about the source code.
-
wjstarck
- Posts: 936
- Joined: Tue Jul 31, 2007 7:18 am
- Location: Keller, TX
-
Contact:
Post
by wjstarck » Thu Jan 19, 2017 10:40 pm
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
-
jsalmon
- Posts: 1553
- Joined: Tue Nov 30, 2010 12:33 pm
-
Contact:
Post
by jsalmon » Fri Jan 20, 2017 9:04 am
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
-
wjstarck
- Posts: 936
- Joined: Tue Jul 31, 2007 7:18 am
- Location: Keller, TX
-
Contact:
Post
by wjstarck » Mon Jan 23, 2017 9:17 am
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
-
wjstarck
- Posts: 936
- Joined: Tue Jul 31, 2007 7:18 am
- Location: Keller, TX
-
Contact:
Post
by wjstarck » Thu Feb 16, 2017 9:29 am
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