private void txtMenuPath_MouseDown(object sender, MouseButtonEventArgs e) { System.Windows.FrameworkElement fe = (System.Windows.FrameworkElement)sender; if (fe.Tag.GetType() == typeof(LastStartedFile)) { LastStartedFile lsf = (LastStartedFile)(fe.Tag); FileStarter.Start(lsf.Path); } }
/// <summary> /// Перегрузить приложения /// </summary> private void ResetApp() { App.Current.Shutdown(); FileStarter.Start(ExplorerNet.Sys.AppInfo.AppPath); }