Example #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);
     }
 }
Example #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);
     }
 }
Example #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);
     }
 }
Example #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();
 }