示例#1
0
        /// <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();
        }
示例#2
0
        /// <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();
        }