Esempio n. 1
0
 public void CleanUp()
 {
     _controls.Remove(_parentId, TitleTB.GetId());
     _controls.Remove(_parentId, QuoteTB.GetId());
     _controls.Remove(_parentId, AuthorTB.GetId());
     _controls.Remove(_parentId, SourceTB.GetId());
 }
Esempio n. 2
0
        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;
            }
        }