private void MainStartup_Load(object sender, EventArgs e) { this.Hide(); ChooseApplication chooseApplication = new ChooseApplication(); chooseApplication.Show(); }
/// <summary> /// On form load, disable SaleDetails form and load ChooseApplication /// to proceed with the workflow. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SaleDetails_Load(object sender, EventArgs e) { ChooseApplication chooseApplication = new ChooseApplication(); chooseApplication.ShowDialog(); nameTextBox.Focus(); processButton.Enabled = false; }