예제 #1
0
        private void Place_Order_button_Click(object sender, EventArgs e)
        {
            // open order window
            // hide main form
            this.Hide();

            // show other form
            var Books = new BookStoreForm();

            Books.RefToForm1 = this;
            Books.ShowDialog();
        }
예제 #2
0
        private void bookStoreToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            BookStoreForm bookStore = new BookStoreForm();

            bookStore.ShowDialog();
        }