Can menuMain be made public?

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

Can menuMain be made public?

Post by wjstarck » Thu Jul 30, 2020 9:19 am

Hello-

Can this:

Code: Select all

		
	414	private FormWebChatTools _formWCT;
	415   private FormWebChatSurveys _formWebChatSurveys;
	416   private SplitContainerNoFlicker splitContainerNoFlickerDashboard;
        417   public UI.MenuOD menuMain; <----------------
		
be made public on FormOpenDental.Designer.cs like so in OD 20.3.x?

Helpful for adding menuItems to the right of the OD ones.
Cheers,

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

PatrickC
Posts: 56
Joined: Thu Jun 06, 2019 11:37 am

Re: Can menuMain be made public?

Post by PatrickC » Sat Aug 01, 2020 7:35 am

Probably not as it is pretty rare for us to change protection levels.

With access to the the FormOpenDental object, one would be able to access its collection of controls and thus the menuMain control.
Patrick Carlson
Open Dental Software
http://www.opendental.com

Post Reply