Ejemplo n.º 1
0
 public void SetCurrentMarkup(iMarkupLanguage newMarkup)
 {
     // set when options menu closes and when MainForm opens
     if (null != newMarkup)
     {
         CurrentMarkup = newMarkup;
     }
 }
Ejemplo n.º 2
0
 public iMarkupLanguage GetCurrentMarkup()
 {
     if (null == CurrentMarkup)
     {
         CurrentMarkup = new MarkupLanguageNone();
     }
     return(CurrentMarkup);
 }
Ejemplo n.º 3
0
        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);
            }
        }
Ejemplo n.º 4
0
 public void SetCurrentMarkup(iMarkupLanguage newMarkup)
 {
     // set when options menu closes and when MainForm opens
     if (null != newMarkup) {
         CurrentMarkup = newMarkup;
     }
 }
Ejemplo n.º 5
0
 public iMarkupLanguage GetCurrentMarkup()
 {
     if (null == CurrentMarkup) {
         CurrentMarkup = new MarkupLanguageNone();
     }
     return CurrentMarkup;
 }
Ejemplo n.º 6
0
 public void AddMarkupToList(iMarkupLanguage newMarkup)
 {
     Markups.Add (newMarkup);
 }
Ejemplo n.º 7
0
 public void AddMarkupToList(iMarkupLanguage newMarkup)
 {
     Markups.Add(newMarkup);
 }