Example #1
0
        private void addNewBooksToolStripMenuItem_Click(object sender, EventArgs e)
        {
            bool Isopen = false;

            foreach (Form f in Application.OpenForms)
            {
                if (f.Text == "add_books")
                {
                    Isopen = true;
                    f.BringToFront();
                    break;
                }
            }
            if (Isopen == false)
            {
                add_books ab = new add_books();
                ab.Show();
            }
        }
Example #2
0
        private void addNewBooksToolStripMenuItem_Click(object sender, EventArgs e)
        {
            add_books ab = new add_books();

            ab.Show();
        }
Example #3
0
        private void addBooks_Click(object sender, EventArgs e)
        {
            add_books addBooksForm = new add_books();

            addBooksForm.Show();
        }