Ejemplo n.º 1
0
 /// <summary>
 /// this function will save the active element to the list if it is a new element
 /// </summary>
 public void SaveNewActiveElement()
 {
     InvoiceDetailControllers.Add(ActiveDetailController);
     ActiveDetailController = new InvoiceDetailController(instanceSettings);
     HideActiveElement();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// this function will initialize the detail element as needed
 /// </summary>
 public void InitializeActiveDetailElement()
 {
     ActiveDetailController = new InvoiceDetailController(instanceSettings);
     ShowActiveElement();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// this function will initialize the ActiveDetailController with a given controller
 /// </summary>
 /// <param name="invoiceDetailController">the given controller</param>
 public void InitializeActiveDetailElement(InvoiceDetailController invoiceDetailController)
 {
     ActiveDetailController = invoiceDetailController;
     ShowActiveElement();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// this function will save the active element that is already linked to the list
 /// </summary>
 public void SaveExistingElement()
 {
     ActiveDetailController = new InvoiceDetailController(instanceSettings);
     HideActiveElement();
 }