Пример #1
0
        private void MainStartup_Load(object sender, EventArgs e)
        {
            this.Hide();
            ChooseApplication chooseApplication = new ChooseApplication();

            chooseApplication.Show();
        }
Пример #2
0
        /// <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;
        }