Hi, I try to develop Forms App which will count my working hours, taxes, expenses etc...
At moment Iam working on calendar. On the first form I have combobox which sends the name of month into the ReturnNumberOfDaysInCurrentMonth().
The Class returns the number of month for DateTime.DaysInMonth(int,int), which returns the quantity of days.
That's the problem. I need to create dynamically changeable set of textboxes according to quantity of days in current month. Something like:
int numbeOfDays;
TextBox tb=new TextBox();
for(int i=0; i<=numberOfDays; i++)
{
tb=(TextBox)i;
Form1.Controls.Add(tb);
}
Does anyone can advice me something? Thank you.