Example #1
0
 public TrypForm(Tryp tryp)
 {
     InitializeComponent();
     Tryp = tryp;
     UpdateNumbers();
     UpdateExpensesList();
 }
Example #2
0
        protected Tryp CreateTryp(DateTime startDate, int dailyBudget, int weekEndExtra, string name)
        {
            var trypDb = new LittleDB(name);
            var tryp = new Tryp(trypDb);
            tryp.Initialize(startDate, dailyBudget, weekEndExtra);

            return tryp;
        }
Example #3
0
 protected void ShowTryp(Tryp tryp)
 {
     var trypFrom = new TrypForm(tryp);
     trypFrom.ShowDialog();
 }