Exemplo n.º 1
0
 public TrypForm(Tryp tryp)
 {
     InitializeComponent();
     Tryp = tryp;
     UpdateNumbers();
     UpdateExpensesList();
 }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
 protected void ShowTryp(Tryp tryp)
 {
     var trypFrom = new TrypForm(tryp);
     trypFrom.ShowDialog();
 }