Odd build error
Odd build error
This just started popping up when I try to build OD:
Error 1 'OpenDental.FormAnestheticMedsInventory.Dispose(bool)': no suitable method found to override C:\Users\wjs\Desktop\OD 6.2x\OpenDental\Forms\FormAnestheticMedsInventory.designer.cs 12 27 OpenDental
I've scoured the form in question with a fine-toothed comb and everything looks in order. Have I missed something obvious somewhere?
Error 1 'OpenDental.FormAnestheticMedsInventory.Dispose(bool)': no suitable method found to override C:\Users\wjs\Desktop\OD 6.2x\OpenDental\Forms\FormAnestheticMedsInventory.designer.cs 12 27 OpenDental
I've scoured the form in question with a fine-toothed comb and everything looks in order. Have I missed something obvious somewhere?
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
- jordansparks
- Site Admin
- Posts: 5746
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Odd build error
Thanks. It's probably easier for me to remake the form. I'm guessing something may have gotten corrupted when I made it originally...
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
- jordansparks
- Site Admin
- Posts: 5746
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Odd build error
So the error seems to indicate that you are missing the Dispose method in your designer. Did you look to see if it's there?
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: Odd build error
Yes,it was, which is what was so odd...
Another strange thing is that if I do this
The ODGrid won't fill. But If I move the FillGrid() to the method above, it does....?
Another strange thing is that if I do this
Code: Select all
namespace OpenDental {
public partial class FormAnestheticMedsInventory:Form {
private List<AnesthMed> listAnestheticMeds;
public FormAnestheticMedsInventory() {
InitializeComponent();
Lan.F(this);
}
private void FormAnestheticMedsInventory_Load(object sender, System.EventArgs e) {
FillGrid();
}
Code: Select all
namespace OpenDental {
public partial class FormAnestheticMedsInventory:Form {
private List<AnesthMed> listAnestheticMeds;
public FormAnestheticMedsInventory() {
InitializeComponent();
Lan.F(this);
FillGrid();
}
private void FormAnestheticMedsInventory_Load(object sender, System.EventArgs e) {
}
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
- jordansparks
- Site Admin
- Posts: 5746
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Odd build error
That seems reasonable. I never put it in the constructor.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: Odd build error
OK, Thanks...
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Re: Odd build error
I figured out why the FillGrid() wasn't loading properly.
When I made the form I copied the BasicTemplate *before* double clicking on the form in the designer to create the load event.
So, this statement
this.Load += new System.EventHandler(this.BasicTemplate_Load);
Was missing from the designer generated code in my form. Once I put that statement back in my form, FillGrid() works now from within the Load method.
When I made the form I copied the BasicTemplate *before* double clicking on the form in the designer to create the load event.
So, this statement
this.Load += new System.EventHandler(this.BasicTemplate_Load);
Was missing from the designer generated code in my form. Once I put that statement back in my form, FillGrid() works now from within the Load method.
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA