private void BtnNew_Click(object sender, RoutedEventArgs e) { try { var frmRegisterAssetGoods = new FrmRegisterAssetGoods(); frmRegisterAssetGoods.ShowDialog(); SetDataGrid(); } catch (Exception ex) { AccountingKernel.Forms.Base.BaseWindow.ShowError(ex); } }
private void MenuItem_Register(object sender, System.Windows.Input.MouseButtonEventArgs e) { try { var frmRegisterAssetGoods = new FrmRegisterAssetGoods(); frmRegisterAssetGoods.ShowDialog(); SetDataGrid(); } catch (Exception ex) { AccountingKernel.Forms.Base.BaseWindow.ShowError(ex); } }