public EntryEditor(EntryRecord source, int index) { _record = source; _sourceElement = _record.GetEntry(index); InitializeComponent(); TitleTextBox.Text = _sourceElement.Title; UrlTextBox.Text = _sourceElement.Url; AccessTimeLabel.Text = _sourceElement.AccessTime.ToString(); }
public EntryCollectionEditor(EntryRecord source) { _source = source; name = source.Filename; InitializeComponent(); Text = source.Filename; _paintList(source.GetList()); EntrySelector.SelectedIndexChanged += EntrySelector_SelectedIndexChanged; //EntrySelector; }