ShareReadability
Public Member Functions | Private Member Functions | List of all members
ShareReadability.MainWindow Class Reference
Inheritance diagram for ShareReadability.MainWindow:

Public Member Functions

 MainWindow ()
 Constructor of the main window. More...
 
void EnableMainMenu (bool enabled)
 Enables/Disables the main menu. More...
 

Private Member Functions

void ChromiumWebBrowserOnFrameLoadEnd (object sender, FrameLoadEndEventArgs frameLoadEndEventArgs)
 Enables the main menu if the URL is equal some specified target URL. So the main menu is only active at the LaTeX Editor. More...
 
void MenuItem_OnClick_Analyze (object sender, RoutedEventArgs e)
 Executes the readability analysis pipeline. More...
 
void MenuItem_OnClick_Settings (object sender, RoutedEventArgs e)
 Opens the settings window. More...
 

Detailed Description

Definition at line 14 of file MainWindow.xaml.cs.

Constructor & Destructor Documentation

◆ MainWindow()

ShareReadability.MainWindow.MainWindow ( )

Constructor of the main window.

Definition at line 24 of file MainWindow.xaml.cs.

Member Function Documentation

◆ ChromiumWebBrowserOnFrameLoadEnd()

void ShareReadability.MainWindow.ChromiumWebBrowserOnFrameLoadEnd ( object  sender,
FrameLoadEndEventArgs  frameLoadEndEventArgs 
)
private

Enables the main menu if the URL is equal some specified target URL. So the main menu is only active at the LaTeX Editor.

Parameters
senderThe sender.
frameLoadEndEventArgsThe event.

Definition at line 48 of file MainWindow.xaml.cs.

◆ EnableMainMenu()

void ShareReadability.MainWindow.EnableMainMenu ( bool  enabled)

Enables/Disables the main menu.

Parameters
enabledIf the main menu should be enabled.

Definition at line 80 of file MainWindow.xaml.cs.

◆ MenuItem_OnClick_Analyze()

void ShareReadability.MainWindow.MenuItem_OnClick_Analyze ( object  sender,
RoutedEventArgs  e 
)
private

Executes the readability analysis pipeline.

Parameters
senderThe sender.
eThe event.

Definition at line 59 of file MainWindow.xaml.cs.

◆ MenuItem_OnClick_Settings()

void ShareReadability.MainWindow.MenuItem_OnClick_Settings ( object  sender,
RoutedEventArgs  e 
)
private

Opens the settings window.

Parameters
senderThe sender.
eThe event.

Definition at line 69 of file MainWindow.xaml.cs.