Nasa's GISS Temperature Map:
Source:
http://earthobservatory.nasa.gov/Features/WorldOfChange/decadaltemp.php?src=eoa-features
public class ItemComparer : IEqualityComparer<Item> { #region IEqualityComparer<Item> Members public bool Equals(Item x, Item y) { return x.ItemID == y.ItemID; } public int GetHashCode(Item obj) { return obj.ItemID.GetHashCode(); } #endregion }
IEnumerable<Item> distinctItems =
items.Distinct(new ItemComparer()); items = distinctItems.ToList();
| Properties of the Login Control | |
|---|---|
| TitleText | Indicates the text to be displayed in the heading of the control. |
| InstructionText | Indicates the text that appears below the heading of the control. |
| UserNameLabelText | Indicates the label text of the username text box. |
| PasswordLabelText | Indicates the label text of the password text box. |
| FailureText | Indicates the text that is displayed after failure of login attempt. |
| UserName | Indicates the initial value in the username text box. |
| LoginButtonText | Indicates the text of the Login button. |
| LoginButtonType | Button/Link/Image. Indicates the type of login button. |
| DestinationPageUrl | Indicates the URL to be sent after login attempt successful. |
| DisplayRememberMe | true/false. Indicates whether to show Remember Me checkbox or not. |
| VisibleWhenLoggedIn | true/false. If false, the control is not displayed on the page when the user is logged in. |
| CreateUserUrl | Indicates the url of the create user page. |
| CreateUserText | Indicates the text of the create user link. |
| PasswordRecoveryUrl | Indicates the url of the password recovery page. |
| PasswordRecoveryText | Indicates the text of the password recovery link. |
Style of the Login Control | |
| CheckBoxStyle | Indicates the style property of the Remember Me checkbox. |
| FailureStyle | Indicates the style property of the failure text. |
| TitleTextStyle | Indicates the style property of the title text. |
| LoginButtonStyle | Indicates the style property of the Login button. |
| TextBoxStyle | Indicates the style property of the TextBox. |
| LabelStyle | Indicates the style property of the labels of text box. |
| HyperLinkStyle | Indicates the style property of the hyperlink in the control. |
| InstructionTextStyle | Indicates the style property of the Instruction text that appears below the heading of the control. |
| Events of the Login Control | |
| LoggingIn | Fires before user is going to authenticate. |
| LoggedIn | Fires after user is authenticated. |
| LoginError | Fires after failure of login attempt. |
| Authenticate | Fires to authenticate the user. This is the function where you need to write your own code to validate the user. |