public double?ScoreSequence(Target seq) { double irt; if (seq != null && (DictStandards.TryGetValue(seq, out irt) || DictLibrary.TryGetValue(seq, out irt))) { return(irt); } return(null); }
public WordProperties(DictLibrary d, int? index) { InitializeComponent(); dict = d; this.index = index; if(index != null) { WordOneTextBox.Text = d.Find((int)(index)).Word1; WordTwoTextBox.Text = d.Find((int)(index)).Word2; } }