main
 1using momoney.presentation.presenters;
 2using MoMoney.Presentation.Presenters;
 3using MoMoney.Presentation.Winforms.Resources;
 4
 5namespace MoMoney.Presentation.Model.Navigation
 6{
 7    public class AddBillPaymentBranch : IBranchVisitor
 8    {
 9        readonly IRunPresenterCommand command;
10
11        public AddBillPaymentBranch(IRunPresenterCommand command)
12        {
13            this.command = command;
14        }
15
16        public void visit(ITreeBranch item_to_visit)
17        {
18            item_to_visit.add_child("Bill Payments", ApplicationIcons.AddIncome, () => command.run<IAddBillPaymentPresenter>());
19        }
20    }
21}