private void dgTables_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            RulesTable rt = (RulesTable)dgTables.CurrentItem;

            if (rt != null)
            {
                TablesView.Document = FlowDocumentConverter.AsFlowDocument(rt);
            }
        }
        private void dgAttackOptions_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            AttackOption ao = (AttackOption)dgAttackOptions.CurrentItem;

            if (ao != null)
            {
                AttackOptionView.Document = FlowDocumentConverter.AsFlowDocument(ao);
            }
        }