C# Class Bend.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Exibir arquivo Open project: kjk/kjkpub Class Usage Examples

Public Methods

Method Description
CancelSettingsUI ( ) : void
CommandGoto ( int lineNumber ) : void
MainWindow ( ) : System
ReplaceSelectedText ( string replacementText ) : void
ReplaceStringOnPage ( string searchText, string replacementText, bool matchCase, bool useRegex ) : void
UpdateFind ( string findText, bool highLightFirstMatch, bool matchCase, bool useRegex ) : void
Window_SourceInitialized ( object sender, EventArgs e ) : void

Private Methods

Method Description
AddNewTab ( ) : void
BackImage_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
CommandCopy ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandFind ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandGoto ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandHelp ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandNew ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandOpen ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandPaste ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandRefresh ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandReplace ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandSave ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ContextClose ( object sender, RoutedEventArgs e ) : void
ContextCloseAllButThis ( object sender, RoutedEventArgs e ) : void
ContextCopy ( object sender, RoutedEventArgs e ) : void
ContextCopyFullPath ( object sender, RoutedEventArgs e ) : void
ContextCut ( object sender, RoutedEventArgs e ) : void
ContextOpenContainingFolder ( object sender, RoutedEventArgs e ) : void
ContextPaste ( object sender, RoutedEventArgs e ) : void
ContextRedo ( object sender, RoutedEventArgs e ) : void
ContextRefresh ( object sender, RoutedEventArgs e ) : void
ContextUndo ( object sender, RoutedEventArgs e ) : void
Editor_PreviewMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FindButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
FindNextStringOnPage ( string findText, bool backward, bool resetSearch, bool matchCase, bool useRegex ) : void
FindText_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
FindText_LostFocus ( object sender, RoutedEventArgs e ) : void
FindText_TextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
GetActiveTab ( ) : Tab
Logo_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MaximizeButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MinimizeButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
NewButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OpenButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
QuitButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ReplaceButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ResizeCrimp_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
SaveButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
SaveDispatcherTimer_Tick ( object sender, EventArgs e ) : void
SavePlusButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
SendMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetStatusText ( string statusText ) : void
TabClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
TabClose ( int tabIndex ) : void
TabClose ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ThisWindow_StateChanged ( object sender, EventArgs e ) : void
UpdateFind_WorkerThread ( object parameters ) : void
Window_Closing ( object sender, System e ) : void
Window_Drop ( object sender, System.Windows.DragEventArgs e ) : void
Window_PreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Method Details

CancelSettingsUI() public method

public CancelSettingsUI ( ) : void
return void

CommandGoto() public method

public CommandGoto ( int lineNumber ) : void
lineNumber int
return void

MainWindow() public method

public MainWindow ( ) : System
return System

ReplaceSelectedText() public method

public ReplaceSelectedText ( string replacementText ) : void
replacementText string
return void

ReplaceStringOnPage() public method

public ReplaceStringOnPage ( string searchText, string replacementText, bool matchCase, bool useRegex ) : void
searchText string
replacementText string
matchCase bool
useRegex bool
return void

UpdateFind() public method

public UpdateFind ( string findText, bool highLightFirstMatch, bool matchCase, bool useRegex ) : void
findText string
highLightFirstMatch bool
matchCase bool
useRegex bool
return void

Window_SourceInitialized() public method

public Window_SourceInitialized ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void