private void RibbonButtonNew_Click(object sender, RoutedEventArgs e)
 {
     Gui.newdocument();
 }
 private void EditWeb_Click(object sender, RoutedEventArgs e)
 {
     Gui.EditWeb();
 }
 private void ViewHTML_Click(object sender, RoutedEventArgs e)
 {
     Gui.ViewHTML();
 }
 private void RibbonComboboxFonts_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     Gui.RibbonComboboxFonts(RibbonComboboxFonts);
 }
 private void RibbonComboboxFormat_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     Gui.RibbonComboboxFormat(RibbonComboboxFormat);
 }
 private void SettingsAddImage_Click(object sender, RoutedEventArgs e)
 {
     Gui.SettingsAddImage();
 }
 private void RibbonButtonSave_Click(object sender, RoutedEventArgs e)
 {
     Gui.RibbonButtonSave();
 }
 private void SettingsAddLink_Click(object sender, RoutedEventArgs e)
 {
     Gui.SettingsAddLink();
 }
 private void SettingsBackColor_Click(object sender, RoutedEventArgs e)
 {
     Gui.SettingsBackColor();
 }
 private void RibbonButtonOpen_Click(object sender, RoutedEventArgs e)
 {
     Gui.newdocumentFile();
 }
 public static void RibbonComboboxFontSizeInitialisation()
 {
     ViewMail.RibbonComboboxFontHeight.ItemsSource = Gui.RibbonComboboxFontSizeInitialisation();
     ViewMail.RibbonComboboxFontHeight.Text        = "3";
 }
 public static void RibbonComboboxFormatInitionalisation()
 {
     ViewMail.RibbonComboboxFormat.ItemsSource   = Gui.RibbonComboboxFormatInitionalisation();
     ViewMail.RibbonComboboxFormat.SelectedIndex = 0;
 }