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