Beispiel #1
0
 /// <summary>
 ///     Triggered when the "Properties" operation is requested
 /// </summary>
 /// <param name="target">The list view item associated with the request</param
 public override void OnQueryProperties(object target)
 {
     using (var dialog = new PricePropertiesDialog((Price)target))
         dialog.ShowDialog(this);
     RenderItems();
 }
Beispiel #2
0
 /// <summary>
 ///     Triggered when the "Insert" operation is requested
 /// </summary>
 public override void OnQueryInsert()
 {
     using (var dialog = new PricePropertiesDialog(new Price()))
         dialog.ShowDialog(this);
     RenderItems();
 }