// GMS NOTE: Why would we have a constructor that doesn't take a control style if it seems to be absolutely required? /// <summary> /// Creates a new LaunchWindowLink with the given ModalWindow to launch when clicked. /// You must set the ActionControlStyle after creating this object. /// </summary> public LaunchWindowLink( ModalWindow windowToLaunch ) { ActionControlStyle = new TextActionControlStyle( "" ); if( windowToLaunch == null ) throw new ApplicationException( "WindowToLaunch must be set on LaunchWindowLink" ); this.windowToLaunch = windowToLaunch; }
/// <summary> /// Creates a new Mailto Link. /// </summary> public MailtoLink() { ActionControlStyle = new TextActionControlStyle(""); ToAddress = "%20"; CcAddress = ""; BccAddress = ""; Subject = ""; Body = ""; }
// GMS NOTE: Why would we have a constructor that doesn't take a control style if it seems to be absolutely required? /// <summary> /// Creates a new LaunchWindowLink with the given ModalWindow to launch when clicked. /// You must set the ActionControlStyle after creating this object. /// </summary> public LaunchWindowLink(ModalWindow windowToLaunch) { ActionControlStyle = new TextActionControlStyle(""); if (windowToLaunch == null) { throw new ApplicationException("WindowToLaunch must be set on LaunchWindowLink"); } this.windowToLaunch = windowToLaunch; }
/// <summary> /// Creates a tool tip link. Do not pass null for the tool tip control. /// </summary> public ToolTipButton( Control toolTipControl ) { ActionControlStyle = new TextActionControlStyle( "" ); this.toolTipControl = toolTipControl; }
/// <summary> /// Guaranteed to stay public through 28 February 2013. /// </summary> public EwfLink( ResourceInfo destinationResourceInfo ) { this.destinationResourceInfo = destinationResourceInfo; ActionControlStyle = new TextActionControlStyle( "" ); }
/// <summary> /// Creates a tool tip link. Do not pass null for the tool tip control. /// </summary> public ToolTipButton(Control toolTipControl) { ActionControlStyle = new TextActionControlStyle(""); this.toolTipControl = toolTipControl; }