/*******************************************************************************************************************\ * * \*******************************************************************************************************************/ private void load_log(DateTime d, string boat) { flpLogs.Controls.Clear(); ucLog uc = new ucLog(); uc.LoadLog(_dt, d, boat); flpLogs.Controls.Add(uc); }
private void load_logs(DateTime d) { flpLogs.Controls.Clear(); foreach (Button b in flpBoats.Controls) { ucLog uc = new ucLog(); uc.LoadLog(_dt, d, b.Text); flpLogs.Controls.Add(uc); } }