예제 #1
0
        //this is the create new cd catalog handler
        //opens a new catalog for user
        private void catalogueToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.changesMade && MessageBox.Show("Save your changes?", "Offer to save changes", MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                save1();
            }
            newform form1 = new newform();

            form1.Show();

            this.Hide();
        }
예제 #2
0
 public Form2(newform form1)
 {
     InitializeComponent();
     this.form1 = form1;
 }