public void CleanUp() { _controls.Remove(_parentId, TitleTB.GetId()); _controls.Remove(_parentId, QuoteTB.GetId()); _controls.Remove(_parentId, AuthorTB.GetId()); _controls.Remove(_parentId, SourceTB.GetId()); }
public void SetValues(AppMessage message) { TitleTB.SetText(message.Title); QuoteTB.SetText(message.Quote); AuthorTB.SetText(message.Author); SourceTB.SetText(message.Source); if (message.Show) { MessageShowRB.Checked = true; } else { MessageHideRB.Checked = true; } }