public IANLineItemModal()
 {
     isInitialized = false;
     InitializeComponent();
     isInitialized = true;
     this.Loaded += new RoutedEventHandler(IANLineItemModal_Loaded);
     _vm = this.DataContext as IANLineItemViewModel;
 }
Example #2
0
 /// <summary>
 /// Provides a deterministic way to create the ViewModelPropertyName property.
 /// </summary>
 public static void CreateViewModelPropertyName()
 {
     if (_IANLineItemViewModel == null)
     {
         _IANLineItemViewModel = new IANLineItemViewModel(); ;
     }
 }
Example #3
0
 /// <summary>
 /// Provides a deterministic way to create the IANLineItemViewModel property.
 /// </summary>
 public static void CreateIANLineItemViewModel()
 {
     if (_ianLineItemViewModel == null)
     {
         _ianLineItemViewModel = new IANLineItemViewModel();
     }
 }
Example #4
0
 /// <summary>
 /// Provides a deterministic way to delete the ViewModelPropertyName property.
 /// </summary>
 public static void ClearViewModelPropertyName()
 {
     _IANLineItemViewModel.Cleanup();
     _IANLineItemViewModel = null;
 }
Example #5
0
 /// <summary>
 /// Provides a deterministic way to delete the IANLineItemViewModel property.
 /// </summary>
 public static void ClearIANLineItemViewModel()
 {
     _ianLineItemViewModel.Cleanup();
     _ianLineItemViewModel = null;
 }