public LogItem(LogRevisionItem lvi, Uri repositoryRoot) { if (lvi == null) { throw new ArgumentNullException("lvi"); } _lvi = lvi; _index = lvi.Index; _repositoryRoot = repositoryRoot; }
void OnFocusChanged(object sender, EventArgs e) { if (FocusChanged != null) { FocusChanged(sender, e); } string text = ""; LogRevisionItem lri = revisionBox.FocusedItem as LogRevisionItem; if (lri != null) { text = lri.LogMessage; } logBox.Text = text; }