SIL.FieldWorks.TE.NotesMainWnd.NotesMainWnd C# (CSharp) Method

NotesMainWnd() public method

Initializes a new instance of the NotesMainWnd class.
public NotesMainWnd ( FwApp app, FwStyleSheet stylesheet, float zoomPercent ) : System
app SIL.FieldWorks.Common.Framework.FwApp The app
stylesheet FwStyleSheet The stylesheet
zoomPercent float The zoom percentage
return System
		public NotesMainWnd(FwApp app, FwStyleSheet stylesheet, float zoomPercent) : base(app, null)
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			Name = "NotesMainWnd";
			m_zoomPercent = zoomPercent;
			m_scr = m_app.Cache.LangProject.TranslatedScriptureOA;
			m_StyleSheet = stylesheet;

			SetupSideBarInfoBar();
			AddFilters();

			// Save the max. width for the sidebar and set it to the default width.
//			m_maxSideBarWidth = m_sideBarContainer.Width;
			m_sideBarContainer.Width = kDefaultSideBarWidth;
		}