Пример #1
0
        private void EditFile_Click(object sender, RoutedEventArgs e)
        {
            var button      = (Button)sender;
            var par         = button.Parent;
            var ftpItmListM = (FtpListItemModel)button.DataContext;
            var notPad      = (NotePad)PageHandler.GetPageByType <NotePad>();

            notPad.LoadTextPath(ftpItmListM.FullName, ftpItmListM.Name);
            PageHandler.SelectedPage <NotePad>();
        }
Пример #2
0
 private void btnOtionsMenu_Click(object sender, RoutedEventArgs e)
 {
     PageHandler.SelectedPage <OptionsView>();
 }
Пример #3
0
 private void btnExplorer_Click(object sender, RoutedEventArgs e)
 {
     PageHandler.SelectedPage <StartView>();
 }
Пример #4
0
 private void btnResorces_Click(object sender, RoutedEventArgs e)
 {
     PageHandler.SelectedPage <RetroResorcesView>();
 }