/// <summary> Write the requrested button to the output stream </summary>
 /// <param name="Output"> Stream to which to write the HTML for this subwriter </param>
 /// <param name="Button_Text"> Text to include in the button </param>
 /// <param name="Size"> Size of the button to render </param>
 /// <param name="Type"> Type of button to render </param>
 /// <param name="Base_Skin"> Code the base web html skin, indicating which button images to use </param>
 /// <param name="Browser"> Type of browser from the original request since button rendering is somewhat browser specific</param>
 /// <param name="Link"> Link to include for the button </param>
 /// <param name="Base_URL"> Base URL for the images </param>
 public static void Write_Button( TextWriter Output, string Button_Text, Button_Size Size, Button_Type Type, string Base_Skin, string Browser, string Link, string Base_URL )
 {
     Output.WriteLine("<br /><br />");
     Output.WriteLine(" This button works for IE: <a href=\"index2.html\"><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_left.jpg\" /><span class=\"largbutton_text_ie\">SUBMIT</span><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_right.jpg\" /></a>");
     Output.WriteLine("<br /><br />");
     Output.WriteLine(" This button works for Mozilla: <a href=\"index2.html\"><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_left.jpg\" /><span class=\"largbutton_text_mozilla\">SUBMIT</span><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_right.jpg\" /></a>");
     Output.WriteLine("<br /><br />");
 }
 /// <summary> Create a button as a control </summary>
 /// <param name="Button_Text"> Text to include in the button </param>
 /// <param name="Size"> Size of the button to render </param>
 /// <param name="Type"> Type of button to render </param>
 /// <param name="Base_Skin"> Code the base web html skin, indicating which button images to use </param>
 /// <param name="Browser"> Type of browser from the original request since button rendering is somewhat browser specific</param>
 /// <returns></returns>
 public static ImageButton Create_Button( string Button_Text, Button_Size Size, Button_Type Type, string Base_Skin, string Browser )
 {
     return new ImageButton();
 }
 /// <summary> Return the HTML for a button as a string </summary>
 /// <param name="Button_Text"> Text to include in the button </param>
 /// <param name="Size"> Size of the button to render </param>
 /// <param name="Type"> Type of button to render </param>
 /// <param name="Base_Skin"> Code the base web html skin, indicating which button images to use </param>
 /// <param name="Browser"> Type of browser from the original request since button rendering is somewhat browser specific</param>
 /// <param name="Link"> Link to include for the button </param>
 /// <returns> String including the HTML for the butotn to render</returns>
 public static string Button_HTML(string Button_Text, Button_Size Size, Button_Type Type, string Base_Skin, string Browser, string Link)
 {
     return String.Empty;
 }
예제 #4
0
 /// <summary> Return the HTML for a button as a string </summary>
 /// <param name="Button_Text"> Text to include in the button </param>
 /// <param name="Size"> Size of the button to render </param>
 /// <param name="Type"> Type of button to render </param>
 /// <param name="Base_Skin"> Code the base web html skin, indicating which button images to use </param>
 /// <param name="Browser"> Type of browser from the original request since button rendering is somewhat browser specific</param>
 /// <param name="Link"> Link to include for the button </param>
 /// <returns> String including the HTML for the butotn to render</returns>
 public static string Button_HTML(string Button_Text, Button_Size Size, Button_Type Type, string Base_Skin, string Browser, string Link)
 {
     return(String.Empty);
 }
예제 #5
0
 /// <summary> Create a button as a control </summary>
 /// <param name="Button_Text"> Text to include in the button </param>
 /// <param name="Size"> Size of the button to render </param>
 /// <param name="Type"> Type of button to render </param>
 /// <param name="Base_Skin"> Code the base web html skin, indicating which button images to use </param>
 /// <param name="Browser"> Type of browser from the original request since button rendering is somewhat browser specific</param>
 /// <returns></returns>
 public static ImageButton Create_Button(string Button_Text, Button_Size Size, Button_Type Type, string Base_Skin, string Browser)
 {
     return(new ImageButton());
 }
예제 #6
0
 /// <summary> Write the requrested button to the output stream </summary>
 /// <param name="Output"> Stream to which to write the HTML for this subwriter </param>
 /// <param name="Button_Text"> Text to include in the button </param>
 /// <param name="Size"> Size of the button to render </param>
 /// <param name="Type"> Type of button to render </param>
 /// <param name="Base_Skin"> Code the base web html skin, indicating which button images to use </param>
 /// <param name="Browser"> Type of browser from the original request since button rendering is somewhat browser specific</param>
 /// <param name="Link"> Link to include for the button </param>
 /// <param name="Base_URL"> Base URL for the images </param>
 public static void Write_Button(TextWriter Output, string Button_Text, Button_Size Size, Button_Type Type, string Base_Skin, string Browser, string Link, string Base_URL)
 {
     Output.WriteLine("<br /><br />");
     Output.WriteLine(" This button works for IE: <a href=\"index2.html\"><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_left.jpg\" /><span class=\"largbutton_text_ie\">SUBMIT</span><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_right.jpg\" /></a>");
     Output.WriteLine("<br /><br />");
     Output.WriteLine(" This button works for Mozilla: <a href=\"index2.html\"><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_left.jpg\" /><span class=\"largbutton_text_mozilla\">SUBMIT</span><img src=\"" + Base_URL + "design/skins/" + Base_Skin + "/buttons/largbuttonw_right.jpg\" /></a>");
     Output.WriteLine("<br /><br />");
 }