/// <summary> Writes additional HTML needed in the main form before the main place holder but after the other place holders. </summary> /// <param name="Output">Stream to directly write to</param> /// <param name="Tracer">Trace object keeps a list of each method executed and important milestones in rendering</param> public override void Write_Additional_HTML(TextWriter Output, Custom_Tracer Tracer) { Tracer.Add_Trace("MySobek_HtmlSubwriter.Write_Additional_HTML", "Adding any form elements popup divs"); if ((currentMode.Logon_Required) || (mySobekViewer.Contains_Popup_Forms)) { mySobekViewer.Add_Popup_HTML(Output, Tracer); } }
/// <summary> Adds additional HTML needed just before the main place holder but after the other place holders. </summary> /// <param name="Output">Stream to directly write to</param> /// <param name="Tracer">Trace object keeps a list of each method executed and important milestones in rendering</param> public void Add_Additional_HTML(TextWriter Output, Custom_Tracer Tracer) { Tracer.Add_Trace("MySobek_HtmlSubwriter.Add_Additional_HTML", "Adding any form elements popup divs"); if ((currentMode.Logon_Required) || (mySobekViewer.Contains_Popup_Forms)) { mySobekViewer.Add_Popup_HTML(Output, Tracer); } // Also, add any additional stuff here mySobekViewer.Add_HTML_In_Main_Form(Output, Tracer); }