1234567891011121314151617181920212223242526272829303132333435 |
- namespace GDNXFD.Alert.Config.Views
- {
- using GalaSoft.MvvmLight.Command;
- using GDNXFD.Alert.Config.Helpers;
- using GDNXFD.Alert.Config.ViewModel;
- using System.Windows.Controls;
- /// <summary>
- /// Interaction logic for TravelList.xaml
- /// </summary>
- public partial class RuleList : UserControl
- {
- /// <summary>
- /// Travel List constructor
- /// </summary>
- public RuleList()
- {
- InitializeData();
- InitializeComponent();
- }
- private void InitializeData()
- {
- var vm = ViewModelLocator.Instance.RuleList;// (RuleListViewModel)this.DataContext;
- vm.InitializeData();
- this.DataContext = vm;
- }
- private void TextBoxKeyboard_LostFocus(object sender, System.Windows.RoutedEventArgs e)
- {
- TabtipHelper tabtipHelper = TabtipHelper.Instance;
- tabtipHelper.TryKillTabtipProcess();
- }
- }
- }
|