private void techAideButton_Click(object sender, EventArgs e)
        {
            this.Hide();

            // Open the technology assistance form and close the main menu
            TechnologyAssistantForm techAssist = new TechnologyAssistantForm();

            techAssist.ShowDialog();

            this.Close();
        }
Пример #2
0
        private void goButton_Click(object sender, EventArgs e)
        {
            // Check for password match
            if (passwordTextBox.Text == "webtech")
            {
                this.Hide();

                TechnologyAssistantForm techAssist = new TechnologyAssistantForm();
                techAssist.ShowDialog();

                this.Close();
            }
            else
            {
                MessageBox.Show("Try again.");
            }
        }