private async void DoRelocateWines(object sender, EventArgs e) { await EnsureCellarDownloaded(); if (m_ctWeb == null) { m_ctWeb = new CellarTrackerWeb(m_username, m_password, m_srpt); } WineMover uhaul = new WineMover(m_ctWeb); EnsureCtSql(); await uhaul.FindAndRelocateWines(m_cellar, m_ctsql, false); }
private async void DoDrinkWines(object sender, EventArgs e) { await EnsureCellarDownloaded(); if (m_ctWeb == null) { m_ctWeb = new CellarTrackerWeb(m_username, m_password, m_srpt); } WineDrinker drinker = new WineDrinker(m_ctWeb); EnsureCtSql(); await drinker.FindAndDrinkWines(m_cellar, m_ctsql, false); }
public WineMover(CellarTrackerWeb ctWeb) { m_ctWeb = ctWeb; }
public WineDrinker(CellarTrackerWeb ctWeb) { m_ctWeb = ctWeb; }