public void SetCurrentMarkup(iMarkupLanguage newMarkup) { // set when options menu closes and when MainForm opens if (null != newMarkup) { CurrentMarkup = newMarkup; } }
public iMarkupLanguage GetCurrentMarkup() { if (null == CurrentMarkup) { CurrentMarkup = new MarkupLanguageNone(); } return(CurrentMarkup); }
public void RemoveMarkupFromList(Type markup) { iMarkupLanguage removeMe = null; foreach (iMarkupLanguage Mark in Markups) { if (Mark.GetType() == markup) { removeMe = Mark; } } if (null != removeMe) { Markups.Remove(removeMe); } }
public iMarkupLanguage GetCurrentMarkup() { if (null == CurrentMarkup) { CurrentMarkup = new MarkupLanguageNone(); } return CurrentMarkup; }
public void AddMarkupToList(iMarkupLanguage newMarkup) { Markups.Add (newMarkup); }
public void AddMarkupToList(iMarkupLanguage newMarkup) { Markups.Add(newMarkup); }