private void TxtName_TextChanged(object sender, TextChangedEventArgs e) { IsDirty = !DefaultName.Equals(TxtName.Text); }
public override int GetHashCode() => DefaultName.GetHashCode() ^ Version.GetHashCode() ^ Author.GetHashCode() ^ TargetLanguage.GetHashCode() ^ SupportedLanguages.GetHashCode() ^ BaseLanguage.GetHashCode() ^ (Id.GetHashCode() * 7);
private BarButtonItem CreateBarButtonItem(DefaultName name) { BarButtonItem barButtonItem = new BarButtonItem(); barButtonItem.Caption = name.Description; barButtonItem.Tag = name.Tag; barButtonItem.ItemClick += barButtonItem_ItemClick; return barButtonItem; }