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 FormulaCPView : UserControl { public FormulaCPView() { InitializeComponent(); this.Loaded += FormulaCPView_Loaded; this.Unloaded += FormulaCPView_Unloaded; } private void FormulaCPView_Unloaded(object sender, RoutedEventArgs e) { } private void FormulaCPView_Loaded(object sender, RoutedEventArgs e) { } FormulaCPViewModule _vm = null; private FormulaCPViewModule GetCurrentMv() { if (null == _vm) { _vm = this.DataContext as FormulaCPViewModule; } return _vm; } } }