/// <summary> /// Closes the current form and opens the api pull form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnBegin_Click(object sender, EventArgs e) { FormFreshAPIPull formFreshApiPull = new FormFreshAPIPull(AppEnum.ManagerAction.GetWeather); this.Hide(); formFreshApiPull.Show(); }
/// <summary> /// event handler for the AutoFill button. closes the current form and opens the api pull form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAutoFill_Click(object sender, EventArgs e) { FormFreshAPIPull formFreshApiPull = new FormFreshAPIPull(AppEnum.ManagerAction.AutoFillPlantingDays); this.Hide(); formFreshApiPull.Show(); }