Ejemplo n.º 1
0
        private void checkInToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Function for going to Form 6, which is used to Check-In a book from a customer| from drop down menu
            checkInForm checkIn = new checkInForm();

            if (Application.OpenForms[checkIn.Name] == null)
            {
                checkIn.Show();
            }
            else
            {
                Application.OpenForms[checkIn.Name].Focus();
            }
        }
Ejemplo n.º 2
0
        private void button4_Click(object sender, EventArgs e)
        {
            //Function for going to Form 5, which is used to remove a book
            checkInForm checkIn = new checkInForm();

            if (Application.OpenForms[checkIn.Name] == null)
            {
                checkIn.Show();
            }
            else
            {
                Application.OpenForms[checkIn.Name].Focus();
            }
        }