private void btnOk_OnClick(object sender, RoutedEventArgs e) { if (item != null) { RelatorioItens.MantemItem((item as TreeViewItem)?.Uid); } else { Mbox.SelecioneUmaLinhaDaTabela(); } }
private void Menu_OnMouseDoubleClick(object sender, MouseButtonEventArgs e) => RelatorioItens.MantemItem((sender as TreeViewItem)?.Uid);