private void Window_Loaded(object sender, RoutedEventArgs e) { Gui.webBrowser = webBrowserEditor; Gui.htmlEditor = HtmlEditor1; Initialisation.webeditor = this; Gui.newdocument(); Initialisation.RibbonComboboxFontsInitialisation(); Initialisation.RibbonComboboxFontSizeInitialisation(); Initialisation.RibbonComboboxFormatInitionalisation(); }
private void RibbonButtonNew_Click(object sender, RoutedEventArgs e) { Gui.newdocument(); }