private void ClickeableItemButton_Click(object sender, RoutedEventArgs e)
        {
            var detail = new SupplierDetail((int)((Button)sender).DataContext);
            bool? ret = ZeroMessageBox.Show(detail, "Editar proveedor");
            if (ret.HasValue && ret.Value)
            {

            }
        }
 private void btnNewSupplier_Click(object sender, RoutedEventArgs e)
 {
     var detail = new Controls.SupplierDetail();
     bool? ret = ZeroMessageBox.Show(detail, Properties.Resources.NewSupplier);
     if (ret.HasValue && ret.Value)
     {
         try
         {
             supplierGrid.AddItem(detail.CurrentSupplier);
         }
         catch (Exception wx)
         {
             ZeroMessageBox.Show(wx.ToString(),"Error");
         }
     }
 }