Ejemplo n.º 1
0
        public BudgetInputUI(BudgetUI frmBudget)
        {
            formMode = FormMode.AddNew;

            this.frmBudget     = frmBudget;
            categoryRepository = new CategoryRepository();

            InitializeComponent();
        }
Ejemplo n.º 2
0
        public BudgetInputUI(BudgetUI frmBudget, string budgetedCategory)
        {
            formMode = FormMode.Edit;

            this.frmBudget        = frmBudget;
            this.budgetedCategory = budgetedCategory;
            categoryRepository    = new CategoryRepository();

            InitializeComponent();
        }