Exemplo n.º 1
0
 /// <summary>
 /// Raises the BusinessObjectInvalid event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnBusinessObjectInvalid(CslaActionEventArgs e)
 {
     if (BusinessObjectInvalid != null)
     {
         BusinessObjectInvalid(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Raises the ObjectSaved event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnObjectSaved(CslaActionEventArgs e)
 {
     if (ObjectSaved != null)
     {
         ObjectSaved(this, e);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Raises the Clicked event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnClicked(CslaActionEventArgs e)
 {
     if (Clicked != null)
     {
         Clicked(this, e);
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Raises the SetForNew event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnSetForNew(CslaActionEventArgs e)
 {
     if (SetForNew != null)
     {
         SetForNew(this, e);
     }
 }
 /// <summary>
 /// Raises the ObjectSaved event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnObjectSaved(CslaActionEventArgs e)
 {
   if (ObjectSaved != null)
     ObjectSaved(this, e);
 }
 /// <summary>
 /// Raises the BusinessObjectInvalid event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnBusinessObjectInvalid(CslaActionEventArgs e)
 {
   if (BusinessObjectInvalid != null)
     BusinessObjectInvalid(this, e);
 }
 /// <summary>
 /// Raises the SetForNew event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnSetForNew(CslaActionEventArgs e)
 {
   if (SetForNew != null)
     SetForNew(this, e);
 }
 /// <summary>
 /// Raises the Clicked event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnClicked(CslaActionEventArgs e)
 {
   if (Clicked != null)
     Clicked(this, e);
 }
 private void cslaActionExtender1_SetForNew(object sender, CslaActionEventArgs e)
 {
   _order = Order.NewOrder();
   BindUI();
 }