using GummingCommon; using GummingControl; using GummingSupport; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace Gumming { /// /// Interaction logic for TemplateListView.xaml /// public partial class LogView : UserControl { public LogView() { InitializeComponent(); this.Loaded += LogView_Loaded; this.Unloaded += LogView_Unloaded; } private void LogView_Unloaded(object sender, RoutedEventArgs e) { } private void LogView_Loaded(object sender, RoutedEventArgs e) { } LogViewModule _vm = null; private LogViewModule GetCurrentMv() { if (null == _vm) { _vm = this.DataContext as LogViewModule; } return _vm; } private void listBox_PreviewKeyDown(object sender, KeyEventArgs e) { e.Handled = true; } } }