Example #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            os = new ObjectSerialization();
            //os.clearFile(os.filePath);

            mainMenuStrip.MdiWindowListItem = windowToolStripMenuItem;

            //
            DisplayProductForm newDisplayProductForm = new DisplayProductForm();
            i2++;

            newDisplayProductForm.Text += " " + i2;
            newDisplayProductForm.MdiParent = this;

            newDisplayProductForm.Show();

            EnterProductForm newEnterProductForm = new EnterProductForm();
            i1++;

            newEnterProductForm.Text += " " + i1;
            newEnterProductForm.MdiParent = this;

            newEnterProductForm.Show();
        }
Example #2
0
        private void DisplayProductForm_Load(object sender, EventArgs e)
        {
            //MdiParent.LayoutMdi(MdiLayout.Cascade);

            os = new ObjectSerialization();
        }
Example #3
0
        private void DisplayProductForm_Load(object sender, EventArgs e)
        {
            //MdiParent.LayoutMdi(MdiLayout.Cascade);

            os = new ObjectSerialization();
        }