private void dataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            LineItemRegModel row = (LineItemRegModel)this.dataGrid.SelectedItem;

            EditTransaction.EditTransaction et = new EditTransaction.EditTransaction(row.TransactionID);
            et.ShowDialog();
        }
        private void fillRegistryLines()
        {
            LineItemRegModel.setAccount(this.currentAccountID);

            MyObservableCollection <LineItemRegModel> reg = new MyObservableCollection <LineItemRegModel>();

            FFDataSet.LineItemRow[] lines = MyData.getInstance().Account.FindByid(this.currentAccountID).GetLineItemRows();

            foreach (FFDataSet.LineItemRow line in lines)
            {
                reg.Add(new LineItemRegModel(line));
            }

            reg.Sort(new RegistryComparer());
            this.RegistryLines = reg;
            this.calcAccountBalance();
        }