Compare commits
2 Commits
6a3a564d77
...
0eb92d6472
| Author | SHA1 | Date | |
|---|---|---|---|
| 0eb92d6472 | |||
| 155d629ad0 |
@@ -19,7 +19,6 @@ namespace MVPLearning.BaseLibrary
|
||||
|
||||
var newBinding = new Binding(nameof(Text), datasource, dataproperty, false);
|
||||
DataBindings.Add(newBinding);
|
||||
System.Diagnostics.Debug.WriteLine($"Binding count for {Name}.{nameof(Text)} is {DataBindings.Count}");
|
||||
}
|
||||
|
||||
protected override void OnGotFocus(EventArgs e)
|
||||
|
||||
@@ -56,19 +56,20 @@ namespace MVPLearning.RecordKeeping.SermonFiler
|
||||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
HashCode hash = new();
|
||||
hash.Add(Seid);
|
||||
hash.Add(Title);
|
||||
hash.Add(Scripture);
|
||||
hash.Add(When);
|
||||
hash.Add(Subject);
|
||||
hash.Add(Minister);
|
||||
hash.Add(Where);
|
||||
hash.Add(Ref_No);
|
||||
hash.Add(Notes);
|
||||
hash.Add(Filename);
|
||||
hash.Add(Web);
|
||||
return hash.ToHashCode();
|
||||
//HashCode hash = new();
|
||||
//hash.Add(Seid);
|
||||
//hash.Add(Title);
|
||||
//hash.Add(Scripture);
|
||||
//hash.Add(When);
|
||||
//hash.Add(Subject);
|
||||
//hash.Add(Minister);
|
||||
//hash.Add(Where);
|
||||
//hash.Add(Ref_No);
|
||||
//hash.Add(Notes);
|
||||
//hash.Add(Filename);
|
||||
//hash.Add(Web);
|
||||
//return hash.ToHashCode();
|
||||
return base.GetHashCode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user